agama/live/config-cdroot
Eugenio Paolantonio a769152998 live: fix_bootconfig.s390x: strip CDLABEL from the kiwi-generated grub config (bsc#1245453)
We are determining the Volume ID ourselves, and actually setting it
in /etc/cmdline.d during image creation phase.

Ensure we strip the root=live:CDLABEL cmdline entry added in the
kiwi-generated grub2 configuration.

During image build, having the entry in the cmdline is not an issue,
as the volid is passed directly to xorriso by the main fix_bootconfig
script.

However, when repacking the image with some tools such as mksusecd,
they might (correctly!) default to the specified label name in the
grub configuration, which in our case is not what we want.

Only s390x is affected as the other architectures's fix_bootconfig
scripts replace the whole grub configuration.

Signed-off-by: Eugenio Paolantonio <eugenio.paolantonio@suse.com>
2025-07-02 16:43:33 +02:00
..
.signature Add Live ISO sources to Git (#1160) 2024-04-23 10:03:43 +02:00
fix_bootconfig.aarch64 Moving RESCUE_SYSTEM_BOOT_SETTINGS to the correct place 2025-05-26 16:44:42 +02:00
fix_bootconfig.ppc64le Moving RESCUE_SYSTEM_BOOT_SETTINGS to the correct place 2025-05-26 16:44:42 +02:00
fix_bootconfig.s390x live: fix_bootconfig.s390x: strip CDLABEL from the kiwi-generated grub config (bsc#1245453) 2025-07-02 16:43:33 +02:00
fix_bootconfig.x86_64 Moving RESCUE_SYSTEM_BOOT_SETTINGS to the correct place 2025-05-26 16:44:42 +02:00