From 5a4a943e9ad656f5ce5675b21d7425eef9dd5d98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Correa=20G=C3=B3mez?= Date: Fri, 30 Jan 2026 19:04:20 +0100 Subject: [PATCH] main/postmarketos-test: let tests add additional files to the initramfs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This will be used in follow-up commits to bring in more tests from other packages in pmaports Signed-off-by: Pablo Correa Gómez Part-of: --- main/postmarketos-test/APKBUILD | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/main/postmarketos-test/APKBUILD b/main/postmarketos-test/APKBUILD index d2ce90e96..e3961b3c6 100644 --- a/main/postmarketos-test/APKBUILD +++ b/main/postmarketos-test/APKBUILD @@ -1,6 +1,6 @@ maintainer="Casey Connolly " pkgname=postmarketos-test -pkgver=1.2.0 +pkgver=1.3.0 pkgrel=0 pkgdesc="Common test utilities for postmarketOS" url="https://postmarketos.org" @@ -33,11 +33,16 @@ _test() { _testname=${subpkgname#postmarketos-test-} _script="$srcdir"/*"$_testname"-test.sh + _files="$srcdir"/*"$_testname"-files.files if [ -f $_script ]; then install -Dm755 $_script \ -t "$subpkgdir"/usr/libexec/pmos-tests-initramfs/ fi + if [ -f $_files ]; then + install -Dm644 $_files \ + -t "$subpkgdir"/usr/share/mkinitfs/files/ + fi } # Installs a "test" which just runs a shell on the console for debugging