Skip to content
Snippets Groups Projects
Verified Commit 95d9990a authored by Aster Boese's avatar Aster Boese Committed by Clayton Craft
Browse files

raspberry-pi3: move openrc scripts to subpackage (MR 5688)

parent 902dcc4d
No related branches found
No related tags found
1 merge request!5688Move post-install scripts that contain openrc-specific commands to openrc subpackages
......@@ -3,14 +3,14 @@
pkgname=device-raspberry-pi3
pkgdesc="Raspberry Pi 3B/3B+"
pkgver=2
pkgrel=0
pkgrel=1
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base raspberrypi-bootloader linux-rpi bluetooth-raspberry-pi"
makedepends="devicepkg-dev"
install="$pkgname.post-install $pkgname.post-upgrade"
subpackages="$pkgname-openrc"
source="deviceinfo modules-initfs usercfg.txt cmdline.txt 95-vchiq-permissions.rules networkmanager.conf"
build() {
......@@ -27,6 +27,13 @@ package() {
"$pkgdir"/etc/NetworkManager/conf.d/10-rpi3.conf
}
openrc() {
install_if="$pkgname=$pkgver-r$pkgrel openrc"
install="$subpkgname.post-install $subpkgname.post-upgrade"
mkdir -p "$subpkgdir"
}
sha512sums="
069270d1813875e5d71c1823850cc6bee14002be399529353112d1a46a051bf66ec28737333f34f98b3a8d653cef5473e8ce85a83bf5206e5172998068557cf7 deviceinfo
e3515cf9f41807917eac1f7663e0131bd18783824facf15f2bb0381635bf6d9a0c334f3786b6fb76d01469de6449878c871f8b747f45e9e3cee77699905cf319 modules-initfs
......
device-raspberry-pi3-openrc.post-install
\ No newline at end of file
device-raspberry-pi3.post-install
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment