fix: no module-init-tools on debian 9
This commit is contained in:
parent
032bba6ee5
commit
5778f39ac4
@ -216,8 +216,12 @@ func ContainerCommands(km config.KernelMask) (commands []string) {
|
||||
|
||||
cmdf("apt-get update")
|
||||
cmdf("apt-get install -y wget build-essential libelf-dev git")
|
||||
cmdf("apt-get install -y kmod module-init-tools linux-base")
|
||||
cmdf("apt-get install -y kmod linux-base")
|
||||
cmdf("apt-get install -y initramfs-tools")
|
||||
if release < 9 {
|
||||
cmdf("apt-get install -y module-init-tools")
|
||||
}
|
||||
|
||||
cmdf("mkdir -p /lib/modules")
|
||||
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user