main/devicepkg-dev: add comment about modules-extra-initfs

The package currently handles only modules in modules-initfs, as
modules in modules-extra-initfs are handled automatically through
udev.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7916>
This commit is contained in:
Henrik Grimler 2026-02-04 10:48:15 +01:00 committed by [Merge Bot]
parent 70dbf41ef8
commit b3cb907471
No known key found for this signature in database
3 changed files with 10 additions and 4 deletions

View file

@ -30,6 +30,9 @@ kernel=$(echo "$subpkgname" | sed -n "s/.*-kernel-\(.*\)/\1/p" | tr - _)
# a modules.$kernel file, it should instead be more than one modules.$kernel
# files, with different $kernel values. The conflict between the package and
# the subpackage aims to prevent the unsupported situation to slip through.
# For modules in initramfs-extra, specified in modules-extra-initfs.$kernel,
# they are handled by udev, so do not need to be specified in
# initramfs.load.
if [ -f "$srcdir/modules-initfs.$kernel" ]; then
install -Dm644 "$srcdir/modules-initfs.$kernel" \
"$subpkgdir/usr/share/mkinitfs/modules/00-$pkgname.modules"