xcat2 / xcat-core

Code repo for xCAT core packages
Eclipse Public License 1.0
356 stars 170 forks source link

Fix dracut warnings during genimage on newer OSs #7417

Closed Obihoernchen closed 4 months ago

Obihoernchen commented 4 months ago

Fixes the following errors when building stateless EL 9 images.

/bin/dracut: line 1054: /sys/module/firmware_class/parameters/path: No such file or directory
findmnt: can't read /proc/mounts: No such file or directory
/usr/lib/dracut/modules.d/00systemd/module-setup.sh: line 168: /dev/fd/63: No such file or directory
/proc/ is not mounted. This is not a supported mode of operation. Please fix
your invocation environment to mount /proc/ and /sys/ properly. Proceeding anyway.