main/devicepkg-dev: remove devicepkg_pmtest_post_install

This is no longer used, and we have better ways to do this now!

Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7489>
This commit is contained in:
Pablo Correa Gómez 2025-12-05 12:52:45 +01:00 committed by The Friendly Merge Bot
parent ef789fa35f
commit 241bfc2b42
No known key found for this signature in database
2 changed files with 1 additions and 28 deletions

View file

@ -1,6 +1,6 @@
maintainer=""
pkgname=devicepkg-dev
pkgver=0.18.3
pkgver=0.19.0
pkgrel=0
pkgdesc="Provides default device package functions"
url="https://postmarketos.org"
@ -10,7 +10,6 @@ source="
compiler-gcc.h
devicepkg_build.sh
devicepkg_package.sh
devicepkg_pmtest_post_install.sh
downstreamkernel_prepare.sh
downstreamkernel_package.sh
devicepkg_subpackage_kernel.sh
@ -64,8 +63,6 @@ package() {
"$pkgdir/usr/bin/devicepkg_build"
install -Dm755 "$srcdir/devicepkg_package.sh" \
"$pkgdir/usr/bin/devicepkg_package"
install -Dm755 "$srcdir/devicepkg_pmtest_post_install.sh" \
"$pkgdir"/usr/bin/devicepkg_pmtest_post_install
install -Dm755 "$srcdir/downstreamkernel_prepare.sh" \
"$pkgdir/usr/bin/downstreamkernel_prepare"
install -Dm755 "$srcdir/downstreamkernel_package.sh" \
@ -79,7 +76,6 @@ sha512sums="
d69930dd790b00fb39760a37d95a10899f0d167e10e2804feb05d9ce04f94185dc32d36edc90214aba2ea2aa09bf18f7dab93f1d2eff23f67beb2cc83be30e7c compiler-gcc.h
a483a970f6cf3e1f2724d8ec1039c2a935cc3e75efd016b3f134cef8a6e53820428bff0f1cb2bcfbd8ccda33c69fdb250be1cf061b2dc53c6063d2ab49023f97 devicepkg_build.sh
c6732b02727bddecf051132734ade8ae2d4f082db32f714d0d29b0935e079a39b9f02e33d27e85f792599b3ea81081a173c3d36cd83ff53a77e1aa4fd2725478 devicepkg_package.sh
93432976bb785c3ad23ba40ac80c11cb2fb0d83d73642ed39fa3f637a471d5d08641ccc42912d63139af49c521bb86bd02a613482bf8f5e95437aa000a125969 devicepkg_pmtest_post_install.sh
f81e74e45ae8e55686ae459f550e229e7398daeafa72bd023c2d8c3a0d50e60bf53d5bbdfec931e9fbabe1cd71de57b2192805aaef091ab90bc7203cbaf66ba6 downstreamkernel_prepare.sh
107242a3da38a574c46cb779e0c75afbeef4cfe659e1b85971973ac55843df06f70f53a5985ca623d4123f05f2984f5dace4a53a3509ecefd7dfdc3c8b705cfe downstreamkernel_package.sh
b9e64582d8c4ed35116002388b58ee62531b8db5de3f4629980ca5dcc9f39ba2c1c7c7a9caa03438e183afa42c8cc6680fe217304ef667b8bf213d93789226e9 devicepkg_subpackage_kernel.sh

View file

@ -1,23 +0,0 @@
#!/bin/sh
console=$1
subpkgname=${subpkgname:-ERROR}
if [ "$subpkgname" = "ERROR" ]; then
echo "ERROR: devicepkg_pmtest_post_install should only be called" >&2
echo "from an APKBUILD subpackage function" >&2
fi
# Install a trigger so that mkinitfs will run when this package is installed
# shellcheck disable=SC2154
mkdir -p "$subpkgdir/usr/share/mkinitfs-triggers/"
touch "$subpkgdir/usr/share/mkinitfs-triggers/$subpkgname"
# Echo out the .post-install data for the calling package to pipe to their
# .post-install file
cat <<EOF
#!/bin/sh
echo -e "\n# PMOS CI: enable console logging" >> /etc/deviceinfo
echo 'deviceinfo_kernel_cmdline_append="console=$console"' >> /etc/deviceinfo
EOF