distro/rhel85: make anaconda optional for dracut

Add an argument to `dracutStageOptions` so that additional dracut
modules can be supplied. Remove `anaconda` from the list of mods
that are included by default, and manually include it for the
anaconda based installer.

Co-Developed-by: Achilleas Koutsou <achilleas@koutsou.net>
Co-Developed-by: Antonio Murdaca <runcom@linux.com>
This commit is contained in:
Christian Kellner 2021-08-20 12:35:05 +02:00 committed by Tom Gundersen
parent 10e4a853bd
commit 3781cc0f47
3 changed files with 7 additions and 5 deletions

View file

@ -1778,7 +1778,6 @@
"plymouth",
"prefixdevname",
"prefixdevname-tools",
"anaconda",
"crypt",
"dm",
"dmsquash-live",
@ -1808,7 +1807,8 @@
"fs-lib",
"img-lib",
"shutdown",
"uefi-lib"
"uefi-lib",
"anaconda"
],
"install": [
"/.buildstamp"