1
0

feat: use initramfs-tools from backports

This commit is contained in:
dump_stack() 2023-05-24 09:24:41 +00:00
parent fe96366eba
commit 3740a07619
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -263,9 +263,14 @@ func (d Debian) runs() (commands []string) {
cmdf("apt-get update || apt-get update || apt-get update")
// 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 initramfs-tools",
d.release.Name())
pkglist := []string{
"wget", "build-essential", "libelf-dev", "git",
"kmod", "linux-base", "initramfs-tools", "libssl-dev",
"kmod", "linux-base", "libssl-dev",
"'^(gcc-[0-9].[0-9]|gcc-[0-9]|gcc-[1-9][0-9])$'",
}