From 732c3ed83fc26d09aa987c32b8d4591ff1fcf93d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Correa=20G=C3=B3mez?= Date: Sat, 20 Jun 2026 12:01:24 +0200 Subject: [PATCH] main/postmarketos-mkinitfs-hook-ci: mark /etc/udev/rules.d as optional MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Part-of: --- main/postmarketos-mkinitfs-hook-ci/05-ci.files | 2 +- main/postmarketos-mkinitfs-hook-ci/APKBUILD | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main/postmarketos-mkinitfs-hook-ci/05-ci.files b/main/postmarketos-mkinitfs-hook-ci/05-ci.files index 23f38ec1d..caf78bc8d 100644 --- a/main/postmarketos-mkinitfs-hook-ci/05-ci.files +++ b/main/postmarketos-mkinitfs-hook-ci/05-ci.files @@ -4,5 +4,5 @@ /lib/modules /sbin/udevd /bin/udevadm -/etc/udev/rules.d +/etc/udev/rules.d!optional /usr/lib/udev/rules.d diff --git a/main/postmarketos-mkinitfs-hook-ci/APKBUILD b/main/postmarketos-mkinitfs-hook-ci/APKBUILD index ed38024e3..68fc13542 100644 --- a/main/postmarketos-mkinitfs-hook-ci/APKBUILD +++ b/main/postmarketos-mkinitfs-hook-ci/APKBUILD @@ -1,7 +1,7 @@ # Co-Maintainer: Pablo Correa Gomez maintainer="Casey Connolly " pkgname=postmarketos-mkinitfs-hook-ci -pkgver=4 +pkgver=5 pkgrel=0 pkgdesc="Hook for doing automated CI tests in the initramfs" url="https://postmarketos.org" @@ -22,5 +22,5 @@ package() { sha512sums=" 1fed0452581f0384c5fa1178e800f8d8aa1a3af8ecb2626006a3b284d7983d772c6abf3cf23c5cbca105344915224377059dcf6784e9cf70ca54720e6d5fa896 05-ci.sh -26d665b817a4978dca44e0c697d98e12c58fa7941da86b9e3bfef6ecb0791d55859c0b671c00d7f88cfca688acf0dcc3e593ca5d8dd3cc094f582b49dabea645 05-ci.files +b73c5422014890b23a1ef9f5b8b4451c1bbb73fe48e6be427955048399a15ab7818f949141096ab7eb4e158111bfaaee1d29a1796c42873e66bb15708e31fa2d 05-ci.files "