From 5fffa17b064f0109d75e10396a6dcf34142eae08 Mon Sep 17 00:00:00 2001 From: Clayton Craft Date: Tue, 18 Jun 2024 14:23:29 -0700 Subject: [PATCH] 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. --- main/postmarketos-initramfs/APKBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main/postmarketos-initramfs/APKBUILD b/main/postmarketos-initramfs/APKBUILD index cab0b0484..dbd1bccf1 100644 --- a/main/postmarketos-initramfs/APKBUILD +++ b/main/postmarketos-initramfs/APKBUILD @@ -2,7 +2,7 @@ # Co-Maintainer: Clayton Craft 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