main/unl0kr: do not copy initramfs files during tests a second time

Since this was introduced, we no longer create "initramfs-extra"
unconditionally. So the "extra" files will be included in the
initramfs anyway. In addition, to be able to test the initramfs-extra
split for devices that need it, we require:

* To have one of those devices available for test.
* To modify our test setup to pass a rootfs that can be mounted.

Both are long into the future, if they will ever materialize. So let's
remove this, reducing the complexity.

Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7553>
This commit is contained in:
Pablo Correa Gómez 2025-12-04 18:23:52 +01:00 committed by The Friendly Merge Bot
parent 8cbef98839
commit e039d54678
No known key found for this signature in database

View file

@ -1,7 +1,7 @@
# Maintainer: Johannes Marbach <n0-0ne+gitlab@mailbox.org>
pkgname=unl0kr
pkgver=3.2.0
pkgrel=7
pkgrel=8
_commit_lvgl=ceadda8a468b7d5fa6ba973bd82cf610166278d8
pkgdesc="Framebuffer-based disk unlocker for the initramfs based on LVGL"
url="https://gitlab.postmarketos.org/postmarketOS/buffybox"
@ -81,10 +81,6 @@ pmtest() {
install -Dm755 "$srcdir"/30-unl0kr-test.sh \
-t "$subpkgdir"/usr/libexec/pmos-tests-initramfs/
# We need the files in the core initramfs for this, no -extra in CI
install -Dm644 "$srcdir"/unl0kr.files \
"$subpkgdir"/usr/share/mkinitfs/files/30-unl0kr.files
}
sha512sums="