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

main/postmarketos-boot-hwtest: move openrc scripts to subpackage (MR 5688)

parent bd431d40
No related branches found
No related tags found
1 merge request!5688Move post-install scripts that contain openrc-specific commands to openrc subpackages
pkgname=postmarketos-boot-hwtest
pkgver=0.1
pkgrel=0
pkgrel=1
pkgdesc="Boot into a TTY running hwtest"
url="https://gitlab.com/MartijnBraam/hwtest"
arch="all"
license="MIT"
depends="hwtest ofono dbus-x11"
install="$pkgname.post-install"
subpackages="$pkgname-openrc"
source="launch_hwtest.sh"
options="!check"
......@@ -16,4 +17,11 @@ package() {
"$pkgdir"/etc/profile.d/99-hwtest.sh
}
openrc() {
install_if="$pkgname=$pkgver-r$pkgrel openrc"
install="$subpkgname.post-install"
mkdir -p "$subpkgdir"
}
sha512sums="2fca42f44918af02ee706e84d00c876630b53605c13daf4c79b097a3ae1d7b323ff658964516c0c9bd098d6c61bebaba0e95e48e416490959f75fa88b7fc943e launch_hwtest.sh"
#!/bin/sh
# Enable ofono
rc-update add ofono default
#!/bin/sh
# Enable ofono
rc-update add ofono default
# Autologin on tty1, let busybox autoconfigure 2-6
autologin="$(getent passwd 10000 | cut -d ":" -f 1)"
for i in 1 2 3 4 5 6; do
......
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