diff --git a/Builder/src/main.cpp b/Builder/src/main.cpp index 51e994b..7ecc135 100644 --- a/Builder/src/main.cpp +++ b/Builder/src/main.cpp @@ -75,16 +75,6 @@ void read_file(websocket::stream& client_stream, } std::string build_command(const ClientData& client_data) { - if (client_data.arch == ArchType::ppc64le && client_data.backend == BackendType::singularity) { - // A dirty hack but the ppc64le qemu executable must be in the place the kernel expects it - // Modify the definition to copy this executable in during %setup - // NOTE: singularity currently doesn't have a way to inject this file in before bootstrap - // and so DockerHub or local singularity files are the only supported ppc64le bootstrapper - std::ofstream def{"container.def", std::ios::app}; - std::string copy_qemu( - "\n%setup\ncp /usr/bin/qemu-ppc64le ${SINGULARITY_ROOTFS}/usr/bin/qemu-ppc64le"); - def << copy_qemu; - } std::string build_command; if (client_data.backend == BackendType::singularity) {