1
0

fix: deb packages install command

此提交包含在:
2023-05-16 19:20:58 +00:00
父節點 e87add8e44
當前提交 18426775b9

查看文件

@@ -216,7 +216,7 @@ func ContainerCommands(km config.KernelMask) (commands []string) {
"/etc/apt/sources.list")
}
cmdf("{ apt-get update || apt-get update || apt-get update }")
cmdf("apt-get update || apt-get update || apt-get update")
packages := "wget build-essential libelf-dev git kmod linux-base "
packages += "initramfs-tools "
@@ -230,9 +230,9 @@ func ContainerCommands(km config.KernelMask) (commands []string) {
packages += "module-init-tools "
}
cmdf("{ apt-get install -y %s "+
cmdf("apt-get install -y %s "+
"|| apt-get install -y %s "+
"|| apt-get install -y %s }", packages, packages, packages)
"|| apt-get install -y %s", packages, packages, packages)
cmdf("mkdir -p /lib/modules")