1
0
Fork 0

fix: install gcc for all debian releases

master
dump_stack() 2023-05-17 06:24:18 +00:00
parent f7b9f538b4
commit 706d442948
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
1 changed files with 1 additions and 5 deletions

View File

@ -221,11 +221,7 @@ func ContainerCommands(km config.KernelMask) (commands []string) {
pkglist := []string{
"wget", "build-essential", "libelf-dev", "git",
"kmod", "linux-base", "initramfs-tools", "libssl-dev",
}
switch release {
case Wheezy:
pkglist = append(pkglist, "'^(gcc-[0-9].[0-9]|gcc-[0-9])$'")
"'^(gcc-[0-9].[0-9]|gcc-[0-9])$'",
}
if release < 9 {