fix: add gcc-4.6 for wheezy
This commit is contained in:
parent
4fd2fd31d2
commit
e1ae427757
@ -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")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user