kiwi-el8/test/unit/bootloader
Marcus Schäfer e297a0f2a2
Fixed GRUB_CMDLINE_LINUX_DEFAULT setup regression
The value for GRUB_CMDLINE_LINUX_DEFAULT should only be
changed if custom kernelcmdline values are provided. In
case there are none kiwi should not change this value.
The test to check for this condition is based on the
result cmdline reduced by the root setting. However the
default cmdline setting in kiwi appends 'rw' in addition
to the root device information. This means the default
kernelcmdline is never empty and therefore the grub
setting GRUB_CMDLINE_LINUX_DEFAULT="rw" is always set.
This commit fixes the conditional change by making sure
the default cmdline only consists out of the root
device information. This Fixes #1650
2021-10-05 19:44:41 +02:00
..
config Fixed GRUB_CMDLINE_LINUX_DEFAULT setup regression 2021-10-05 19:44:41 +02:00
install Added option to set the image target architecture 2021-04-14 12:53:28 +02:00
template Fix/Refactor s390 support 2020-09-30 17:14:30 +02:00
__init__.py Re-structure unit tests folders 2019-10-21 14:00:05 +02:00