fix: deb packages install command
This commit is contained in:
parent
e87add8e44
commit
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")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user