diff --git a/device/testing/device-raspberry-pi4/APKBUILD b/device/testing/device-raspberry-pi4/APKBUILD index 44b87c4acb36cca8cb2fa850dc18ae9602db8990..03ff14efc37f77fd774481a319ff027872a06710 100644 --- a/device/testing/device-raspberry-pi4/APKBUILD +++ b/device/testing/device-raspberry-pi4/APKBUILD @@ -2,7 +2,7 @@ # Reference: <https://postmarketos.org/devicepkg> pkgname=device-raspberry-pi4 pkgver=1 -pkgrel=0 +pkgrel=1 pkgdesc="Raspberry Pi 4" url="https://postmarketos.org" license="MIT" @@ -10,9 +10,9 @@ arch="aarch64" options="!check !archcheck" depends="postmarketos-base raspberrypi-bootloader linux-rpi" makedepends="devicepkg-dev" -install="$pkgname.post-install $pkgname.post-upgrade" subpackages=" $pkgname-nonfree-firmware:nonfree_firmware + $pkgname-openrc $pkgname-plasma-bigscreen:plasma_bigscreen " source=" @@ -43,6 +43,13 @@ nonfree_firmware() { mkdir "$subpkgdir" } +openrc() { + install_if="$pkgname=$pkgver-r$pkgrel openrc" + install="$subpkgname.post-install $subpkgname.post-upgrade" + + mkdir -p "$subpkgdir" +} + plasma_bigscreen() { pkgdesc="$pkgdesc (Plasma Bigscreen)" install_if="$pkgname plasma-bigscreen" diff --git a/device/testing/device-raspberry-pi4/device-raspberry-pi4.post-install b/device/testing/device-raspberry-pi4/device-raspberry-pi4-openrc.post-install similarity index 100% rename from device/testing/device-raspberry-pi4/device-raspberry-pi4.post-install rename to device/testing/device-raspberry-pi4/device-raspberry-pi4-openrc.post-install diff --git a/device/testing/device-raspberry-pi4/device-raspberry-pi4-openrc.post-upgrade b/device/testing/device-raspberry-pi4/device-raspberry-pi4-openrc.post-upgrade new file mode 120000 index 0000000000000000000000000000000000000000..b2b4db79e271b8e5801af079269c181c4c1f8a5d --- /dev/null +++ b/device/testing/device-raspberry-pi4/device-raspberry-pi4-openrc.post-upgrade @@ -0,0 +1 @@ +./device-raspberry-pi4-openrc.post-install \ No newline at end of file diff --git a/device/testing/device-raspberry-pi4/device-raspberry-pi4.post-upgrade b/device/testing/device-raspberry-pi4/device-raspberry-pi4.post-upgrade deleted file mode 120000 index 59f4c38656e1a8e7ff0296312633e98a5cd53454..0000000000000000000000000000000000000000 --- a/device/testing/device-raspberry-pi4/device-raspberry-pi4.post-upgrade +++ /dev/null @@ -1 +0,0 @@ -device-raspberry-pi4.post-install \ No newline at end of file