pmaports/main/postmarketos-mkinitfs-hook-ci/05-ci.files
Pablo Correa Gómez 732c3ed83f
main/postmarketos-mkinitfs-hook-ci: mark /etc/udev/rules.d as optional
As a consequence of the hermetic-usr work, /etc/udev/rules.d is slowly
disappearing. This can results in errors like:

18:05:30.180191 hookfiles: unable to process hook file "/usr/share/mkinitfs/files/05-ci.files": unable to add "/etc/udev/rules.d": getFile: failed to stat file "/etc/udev/rules.d": stat /etc/udev/rules.d: no such file or directory (also tried "/etc/udev/rules.d.zst": stat /etc/udev/rules.d.zst: no such file or directory)

from
https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8863#note_563184
due to the directory not being present.

Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8866>
2026-06-20 12:01:24 +02:00

8 lines
222 B
Text

/usr/libexec/pmos-tests-initramfs
# We want all modules to be here so that we can validate
# that all the device drivers load properly
/lib/modules
/sbin/udevd
/bin/udevadm
/etc/udev/rules.d!optional
/usr/lib/udev/rules.d