diskimage-builder/diskimage_builder/elements
Steve Baker f118649738 Fix BLS entries for /boot partitions
Creating a separate /boot partition is desirable in some cases[1].
This change detects if /boot is a partition, and ensures that the
kernel/ramdisk paths are correct in either case. This is applied to
all BLS entries files, whether they were generated by the previous
grub2-mkconfig call or in the source image.

This means the rhel9 specific workaround can be removed since all
paths are now normalised at this stage.

[1] https://review.opendev.org/c/openstack/tripleo-image-elements/+/846807

Change-Id: I62120ec8c65876e451532d2654d37435eb3606a6
Resolves: rhbz#2101514
2022-06-28 02:41:21 +00:00
..
apt-conf
apt-preferences
apt-sources
baremetal Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
base Debuntu: add apt-transport-https 2020-04-02 10:11:35 +11:00
block-device-efi Document EFI elements requirements 2021-11-26 08:46:42 +01:00
block-device-efi-lvm Document EFI elements requirements 2021-11-26 08:46:42 +01:00
block-device-gpt
block-device-mbr Choose appropriate bootloader for block-device 2018-02-23 10:04:44 +11:00
bootloader Fix BLS entries for /boot partitions 2022-06-28 02:41:21 +00:00
cache-url cache-url : turn down verbose curl 2021-06-24 10:09:00 +10:00
centos Merge "Make centos reset-bls-entries behave the same as rhel" 2022-05-25 16:04:56 +00:00
centos7
centos-minimal Merge "Cleanup more CentOS 8 bits" 2022-02-09 04:39:00 +00:00
cleanup-kernel-initrd Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
cloud-init Ensure cloud-init is configured to generated host keys 2022-05-06 11:10:54 +02:00
cloud-init-datasources
cloud-init-disable-resizefs
cloud-init-nocloud Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
containerfile containerfile: warn if we don't have a Dockerfile 2022-06-21 12:03:46 +10:00
debian Fix cron not installed in debian 2021-09-01 23:49:27 +02:00
debian-minimal Futher bootloader cleanups 2022-02-10 15:08:56 +11:00
debian-systemd
debian-upstart Install systemd earlier for Stretch 2017-06-19 13:27:33 +10:00
debootstrap
deploy-baremetal
deploy-kexec
deploy-targetcli Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
deploy-tgtadm
devuser
dhcp-all-interfaces Revert "Fallback to persistent netifs names with systemd" 2022-04-27 16:29:58 +00:00
dib-init-system Introduce manual setting of DIB_INIT_SYSTEM 2019-11-21 12:38:15 +11:00
dib-python Convert multi line if statement to case 2021-04-07 07:17:19 +00:00
dib-run-parts Revert "dib-lint: use yamllint to parse YAML files" 2020-05-28 16:44:49 +10:00
disable-nouveau Ensure nouveau is blacklisted in initramfs too 2019-10-23 10:16:00 +11:00
disable-selinux dib-lint: test elements have README.rst file 2020-01-20 11:43:43 +01:00
dkms Adopted dkms element to work on Ubuntu Jammy and nvidia drivers 2022-05-12 10:20:25 +00:00
docker
dpkg
dracut-network
dracut-ramdisk
dracut-regenerate dracut-regenerate: drop Python 2 packages 2021-10-27 11:11:50 +11:00
dynamic-login Fix openssl example command in dynamic-login 2022-05-24 14:10:01 +03:00
element-manifest Release 1.24.0 2017-01-31 14:14:19 +11:00
enable-serial-console update various gentoo bits 2020-08-24 10:21:35 -05:00
ensure-venv Add ensure-venv element, install glean with it 2020-03-10 11:57:43 +11:00
epel CentOS Stream 9 has EPEL now 2022-04-07 09:01:13 +02:00
fedora Add Fedora 36 support 2022-06-21 14:47:12 +10:00
fedora-container Add Fedora 36 support 2022-06-21 14:47:12 +10:00
fedora-minimal Remove OS CI mirror role from fedora(-minimal) tests 2022-02-18 08:11:18 -08:00
gentoo Update gentoo python version to 3.9 2022-04-12 09:26:28 +02:00
growroot Revert "dib-lint: use yamllint to parse YAML files" 2020-05-28 16:44:49 +10:00
growvols Make growvols config path platform independent 2022-02-04 00:23:13 +03:00
grub2 Remove centos 9 and rhel 8 block in grub2 pkg-map 2022-01-17 23:40:24 +01:00
hpdsa replace the link which is in the 06-hpdsa file 2021-03-12 19:16:50 +08:00
hwburnin Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
hwdiscovery Remove use of 'which'. 2017-05-19 12:43:36 -07:00
ibft-interfaces
ilo Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
install-bin pip-and-virtualenv: drop f31 & tumbleweed, rework suse 15 install 2020-04-23 08:10:26 +10:00
install-static Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
install-types
iscsi-boot Fix centos 8.3 partition image building error with element iscsi-boot 2021-01-14 02:05:20 +00:00
iso Merge "Change paths for bootloader files in iso element" 2021-03-16 09:56:07 +00:00
journal-to-console
keylime-agent Update keylime-agent and tpm-emulator elements 2021-10-06 15:05:28 -04:00
local-config
lvm Allow processing 'focal' ubuntu release in lvm 2020-10-28 16:55:49 +02:00
manifests Set manifest permissions in the image 2017-05-24 15:20:55 +10:00
mellanox Mellanox element: removed ibutils,libibcm,libmlx4-dev 2020-03-23 00:06:53 +02:00
modprobe
modprobe-blacklist
no-final-image
oat-client
openeuler-minimal Introduce openEuler distro 2021-08-04 03:06:55 +00:00
openssh-server openssh-server: harden sshd config 2019-05-01 11:42:21 -04:00
openstack-ci-mirrors Update centos element for 9-stream 2021-10-20 09:39:27 +11:00
opensuse Fix openSUSE images and bump them to 15.3 2022-01-28 02:18:47 -03:00
opensuse-minimal
package-installs Deprecate dib-python; remove from in-tree elements 2020-08-07 10:38:16 +10:00
pip-and-virtualenv Remove extra if/then/else construct in pip element 2021-12-29 16:43:00 +01:00
pip-cache
pkg-map Add new container element - Rocky Linux 2022-01-31 17:26:16 +00:00
posix
proliant-tools Fix installation of proliant tools 2021-03-03 19:04:50 +01:00
pypi Deprecate dib-python; remove from in-tree elements 2020-08-07 10:38:16 +10:00
python-brickclient Merge branch 'master' into merge-branch 2017-02-09 13:35:53 +11:00
python-stow-versions Fix python-stow-versions 2020-11-17 09:23:32 +00:00
ramdisk Mount /sys RO 2021-07-05 11:45:02 +10:00
ramdisk-base Remove use of 'which'. 2017-05-19 12:43:36 -07:00
rax-nova-agent
redhat-common Revert "CentOS 9-stream : work around selinux permissions issue" 2022-06-16 11:24:24 +10:00
rhel Fix BLS entries for /boot partitions 2022-06-28 02:41:21 +00:00
rhel7
rhel-common Add a warning in satellite configuration 2022-06-14 08:45:28 -04:00
rocky-container Add rocky support to the epel element 2022-02-21 14:38:30 -08:00
rpm-distro Futher bootloader cleanups 2022-02-10 15:08:56 +11:00
runtime-ssh-host-keys
select-boot-kernel-initrd Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
selinux-permissive move selinux-permissive configure to pre-install phase 2018-11-19 13:13:57 +11:00
simple-init Force use of NetworkManager with glean on Rocky Linux 2022-02-23 12:43:06 -08:00
source-repositories source-repositories : use explicit sudo/-C args when in REPO_DEST 2022-04-14 16:53:37 +00:00
stable-interface-names
svc-map update various gentoo bits 2020-08-24 10:21:35 -05:00
sysctl Release 1.25.2 2017-02-02 11:20:00 +11:00
sysprep Check and mount boot volume for data extraction with nouuid 2022-05-25 12:39:57 -07:00
tpm-emulator Update keylime-agent and tpm-emulator elements 2021-10-06 15:05:28 -04:00
uboot Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
ubuntu Add Jammy functesting to dib 2022-05-04 13:03:50 -07:00
ubuntu-common Bump Ubuntu release to focal 2021-08-26 23:28:33 -03:00
ubuntu-minimal Add Jammy functesting to dib 2022-05-04 13:03:50 -07:00
ubuntu-signed
ubuntu-systemd-container ubuntu-systemd-container: deprecate and remove jobs 2021-10-20 09:39:27 +11:00
vm Add block-device defaults 2018-02-23 10:04:40 +11:00
yum Add DIB_YUM_REPO_PACKAGE as an alternative to DIB_YUM_REPO_CONF 2021-09-13 09:32:53 +12:00
yum-minimal yum-minimal: workaround missing $releasedir variable 2022-05-03 15:47:55 +00:00
zipl
zypper Fix login.defs config for tumbleweed 2019-12-02 16:21:45 -08:00
zypper-minimal
__init__.py