1
0

feat: add gcc 4.6,4.8 to debian wheezy container

This commit is contained in:
dump_stack() 2023-05-26 10:03:35 +00:00
parent a57478e38b
commit 1354c029b1
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -298,8 +298,6 @@ func (d Debian) runs() (commands []string) {
"|| apt-get install -y %s", packages, packages, packages)
if d.release == 7 {
cmdf("apt-get -y install gcc-4.9-backport")
// by default Debian backports repositories have a lower
// priority than stable, so we should specify it manually
cmdf("apt-get -y install -t %s-backports "+
@ -319,6 +317,8 @@ func (d Debian) runs() (commands []string) {
cmdf("apt-get -y update")
cmdf("apt-get -y install -t jessie libc6")
cmdf("apt-get -y install gcc-4.6 gcc-4.8 gcc-4.9-backport")
}
cmdf("mkdir -p /lib/modules")