osbuild / images

Image builder image definition library
Apache License 2.0
23 stars 52 forks source link

coreos-installer: install only the required dracut modules #967

Closed mmartinv closed 1 month ago

mmartinv commented 1 month ago

Install only the minimal number of dracut modules required by the coreos installer to avoid issues during the installation.

Resolves: fedora-iot/iot-distro#5

Signed-off-by: Miguel Martín mmartinv@redhat.com

achilleas-k commented 1 month ago

Thank you!!

achilleas-k commented 1 month ago

Looks like RHEL 8 doesn't like the dracut module changes:

dracut: Executing: /usr/bin/dracut --no-hostonly --kver 4.18.0-372.9.1.el8.aarch64 --force -v --show-modules --no-early-microcode --reproducible --modules "prefixdevname prefixdevname-tools systemd-initrd fips modsign rescue i18n kernel-modules kernel-modules-extra network-manager network drm coreos-installer fdo lvm terminfo fs-lib dracut-systemd debug shutdown" --install /.buildstamp
dracut: systemd-initrd needs systemd in the initramfs
dracut: dracut-systemd needs systemd-initrd in the initramfs
dracut: dracut module 'systemd-initrd' cannot be found or installed.
achilleas-k commented 1 month ago

Something went wrong on the merge queue. Looks like a flake on first inspection. No details on the failed job (it was a dynamic trigger job). Requeued. Will keep an eye on it.