Compare commits

..

No commits in common. "el8-bls" and "el8" have entirely different histories.
el8-bls ... el8

View File

@ -281,16 +281,6 @@ class BootLoaderConfigGrub2(BootLoaderConfigBase):
self.boot_directory_name, 'grub.cfg'
]
)
# Fix BLS entries before running grub2-mkconfig. On RHEL 8
# the grub.d/10_linux_bls script reads BLS entries and inlines
# them as menuentry blocks in grub.cfg rather than emitting a
# blscfg command. BLS entries created during package install in
# the kiwi image root contain the build host path prefix in
# linux/initrd paths and the host /proc/cmdline in options.
# Those must be corrected before grub2-mkconfig reads them.
self._fix_grub_loader_entries_boot_cmdline()
self._fix_grub_loader_entries_linux_and_initrd_paths()
# Disable os-prober, it takes information from the host it
# runs on which is not necessarily matching with the image
os.environ.update({'GRUB_DISABLE_OS_PROBER': 'true'})