diskimage-builder/diskimage_builder/elements/centos/test-elements/9-stream-build-succeeds
Ian Wienand 53d04d27c6 centos: work around 9-stream BLS issues
Per the bug mentioned upstream, grub2-mkconfig will currently not set
the kernel options for BLS entries prefixed with a machine-id
different to the running system.

This affects the centos element, as the upstream .qcow2 comes with a
pre-existing BLS entry but a blank machine-id.  This only affects
9-stream -- prior releases either don't use BLS or have entries
configured to use a common variable from grubenv which is updated
correctly.

We currently can not end-to-end test this in OpenDev because we run
our functional tests on Ubuntu Focal (they use devstack), whose kernel
can not read the XFS format on the 9-stream .qcow2.  This expands the
functional tests (that run on Debian Buster, with a later kernel) to
add the vm element, so the bootloader path is exercised (this requires
a block-device too).  This at least runs the bootloader install, we
can confirm the kernel options look right from the dumping provided
the logs.

Change-Id: I327f5e7a95e47905c01138c8c4483f3f03e8efff
2021-12-22 21:07:23 +11:00
..
environment.d Update centos element for 9-stream 2021-10-20 09:39:27 +11:00
element-deps centos: work around 9-stream BLS issues 2021-12-22 21:07:23 +11:00
README.rst Update centos element for 9-stream 2021-10-20 09:39:27 +11:00
test-output-formats Update centos element for 9-stream 2021-10-20 09:39:27 +11:00

Centos Stream 9 test