feat: use initramfs-tools from backports
This commit is contained in:
parent
fe96366eba
commit
3740a07619
@ -263,9 +263,14 @@ func (d Debian) runs() (commands []string) {
|
|||||||
|
|
||||||
cmdf("apt-get update || apt-get update || apt-get update")
|
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{
|
pkglist := []string{
|
||||||
"wget", "build-essential", "libelf-dev", "git",
|
"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])$'",
|
"'^(gcc-[0-9].[0-9]|gcc-[0-9]|gcc-[1-9][0-9])$'",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user