blueprint: always exclude the rescue kernel

Its BLS entry always expects a separate boot partition. Skip it on all
images until the rescue kernel package is usable.
This commit is contained in:
Lars Karlitski 2019-10-29 12:11:11 +01:00 committed by Tom Gundersen
parent 930347c56e
commit 6a6144c2d9
6 changed files with 21 additions and 3 deletions

View file

@ -18,7 +18,10 @@ func (t *amiOutput) translate(b *Blueprint) *pipeline.Pipeline {
"checkpolicy",
"net-tools",
}
p := getCustomF30PackageSet(packages[:], []string{})
excludedPackages := [...]string{
"dracut-config-rescue",
}
p := getCustomF30PackageSet(packages[:], excludedPackages[:])
addF30FixBlsStage(p)
addF30LocaleStage(p)
addF30FSTabStage(p)

View file

@ -18,7 +18,10 @@ func (t *openstackOutput) translate(b *Blueprint) *pipeline.Pipeline {
"cloud-init",
"libdrm",
}
p := getCustomF30PackageSet(packages[:], []string{})
excludedPackages := [...]string{
"dracut-config-rescue",
}
p := getCustomF30PackageSet(packages[:], excludedPackages[:])
addF30LocaleStage(p)
addF30FSTabStage(p)
addF30GRUB2Stage(p, b.getKernelCustomization())

View file

@ -17,7 +17,10 @@ func (t *vhdOutput) translate(b *Blueprint) *pipeline.Pipeline {
"WALinuxAgent",
"libxcrypt-compat",
}
p := getCustomF30PackageSet(packages[:], []string{})
excludedPackages := [...]string{
"dracut-config-rescue",
}
p := getCustomF30PackageSet(packages[:], excludedPackages[:])
addF30LocaleStage(p)
addF30FSTabStage(p)
addF30GRUB2Stage(p, b.getKernelCustomization())

View file

@ -55,6 +55,9 @@
"checkpolicy",
"net-tools"
],
"exclude_packages": [
"dracut-config-rescue"
],
"releasever": "30",
"basearch": "x86_64"
}

View file

@ -55,6 +55,9 @@
"cloud-init",
"libdrm"
],
"exclude_packages": [
"dracut-config-rescue"
],
"releasever": "30",
"basearch": "x86_64"
}

View file

@ -54,6 +54,9 @@
"WALinuxAgent",
"libxcrypt-compat"
],
"exclude_packages": [
"dracut-config-rescue"
],
"releasever": "30",
"basearch": "x86_64"
}