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

pine64-dontbeevil: move openrc scripts to subpackage (MR 5688)

parent b162a221
Branches
No related tags found
1 merge request!5688Move post-install scripts that contain openrc-specific commands to openrc subpackages
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-pine64-dontbeevil
pkgver=1
pkgrel=2
pkgrel=3
pkgdesc="PINE64 PinePhone Don't be evil devkit"
url="https://postmarketos.org"
license="MIT"
......@@ -11,12 +11,12 @@ subpackages="
$pkgname-kernel-longts:kernel_longts
$pkgname-kernel-shortts:kernel_shortts
$pkgname-nonfree-firmware:nonfree_firmware
$pkgname-openrc
$pkgname-sensorfw
$pkgname-x11
"
depends="postmarketos-base u-boot-sunxi u-boot-tools ofono"
makedepends="devicepkg-dev"
install="$pkgname.post-install"
source="
deviceinfo
modules-initfs
......@@ -64,6 +64,13 @@ kernel_longts() {
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
openrc() {
install_if="$pkgname=$pkgver-r$pkgrel openrc"
install="$subpkgname.post-install"
mkdir -p "$subpkgdir"
}
sensorfw() {
install_if="$pkgname=$pkgver-r$pkgrel sensorfw"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment