main/postmarketos-initramfs: explicitly depend on libinput-libs (MR 5242)

pma!5000 added a new implicit dependency on libinput, because it
specified libinput files in the initramfs file hook. mkinitfs considers
it fatal if it cannot find files listed in a file hook.

Later this could be 'optimized' by adding a -libinput subpkg and an
`install_if=libinput-libs` to add this file hook so it's not installed
everywhere... but the size increase isn't too much for UIs.. someone can
do this later.

> libinput-libs-1.26.0-r0 installed size:
> 476 KiB

This fixes a missing dependency problem where a UI (e.g. "none") doesn't
normally depend on libinput, and mkinitfs would fail because these files
were missing.
This commit is contained in:
Clayton Craft 2024-06-18 14:23:29 -07:00
parent b0d8f91a79
commit 5fffa17b06
No known key found for this signature in database
GPG key ID: 0583312B195F64B6

View file

@ -2,7 +2,7 @@
# Co-Maintainer: Clayton Craft <clayton@craftyguy.net>
pkgname=postmarketos-initramfs
pkgver=3.1.0
pkgrel=0
pkgrel=1
pkgdesc="Base files for the postmarketOS initramfs / initramfs-extra"
url="https://postmarketos.org"
options="!check" # no tests
@ -21,6 +21,7 @@ depends="
f2fs-tools
iskey
kmod
libinput-libs
lz4
multipath-tools
parted