distro/fedora: add dracut-config-generic to bootloader packages

Dracut is unfortunately very host-dependant by default. The package
dracut-config-generic forces it use a generic configuration instead of a
configuration generated from the host environment.

This change should make the image generation more reproducible. For example
it was not possible to boot ami images built on Travis on AWS prior this
commit.

Also, the tests were re-generated in this commit.
This commit is contained in:
Ondřej Budai 2020-03-31 13:38:20 +02:00
parent b0e28689fb
commit f14224ede1
11 changed files with 99 additions and 3 deletions

View file

@ -344,7 +344,6 @@ func New() *Fedora30 {
"libxcrypt-compat",
"initscripts",
"glibc-all-langpacks",
"dracut-config-generic",
},
excludedPackages: []string{
"dracut-config-rescue",
@ -407,6 +406,7 @@ func New() *Fedora30 {
distro: &r,
name: "x86_64",
bootloaderPackages: []string{
"dracut-config-generic",
"grub2-pc",
},
buildPackages: []string{

View file

@ -343,7 +343,6 @@ func New() *Fedora31 {
"libxcrypt-compat",
"initscripts",
"glibc-all-langpacks",
"dracut-config-generic",
},
excludedPackages: []string{
"dracut-config-rescue",
@ -405,6 +404,7 @@ func New() *Fedora31 {
distro: &r,
name: "x86_64",
bootloaderPackages: []string{
"dracut-config-generic",
"grub2-pc",
},
buildPackages: []string{

View file

@ -344,7 +344,6 @@ func New() *Fedora32 {
"libxcrypt-compat",
"initscripts",
"glibc-all-langpacks",
"dracut-config-generic",
},
excludedPackages: []string{
"dracut-config-rescue",
@ -407,6 +406,7 @@ func New() *Fedora32 {
distro: &r,
name: "x86_64",
bootloaderPackages: []string{
"dracut-config-generic",
"grub2-pc",
},
buildPackages: []string{