1
0

fix: add gcc-4.6 for wheezy

This commit is contained in:
dump_stack() 2023-05-16 09:23:44 +00:00
parent 4fd2fd31d2
commit e1ae427757
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -219,6 +219,12 @@ func ContainerCommands(km config.KernelMask) (commands []string) {
cmdf("apt-get install -y wget build-essential libelf-dev git") cmdf("apt-get install -y wget build-essential libelf-dev git")
cmdf("apt-get install -y kmod linux-base") cmdf("apt-get install -y kmod linux-base")
cmdf("apt-get install -y initramfs-tools") cmdf("apt-get install -y initramfs-tools")
switch release {
case Wheezy:
cmdf("apt-get install -y gcc-4.6")
}
if release < 9 { if release < 9 {
cmdf("apt-get install -y module-init-tools") cmdf("apt-get install -y module-init-tools")
} }