mirror of
https://gitlab.postmarketos.org/postmarketOS/pmaports.git
synced 2025-07-12 16:19:48 +03:00
[ci:ignore-count] Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6476 [ci:skip-build]: already built successfully in CI
28 lines
720 B
Text
28 lines
720 B
Text
pkgname=postmarketos-boot-hwtest
|
|
pkgver=0.1
|
|
pkgrel=2
|
|
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"
|
|
|
|
package() {
|
|
mkdir -p $pkgdir
|
|
install -D -m755 "$srcdir"/launch_hwtest.sh \
|
|
"$pkgdir"/etc/profile.d/99-hwtest.sh
|
|
}
|
|
|
|
openrc() {
|
|
install_if="$pkgname=$pkgver-r$pkgrel openrc"
|
|
install="$subpkgname.post-install"
|
|
depends="openrc"
|
|
|
|
mkdir -p "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="2fca42f44918af02ee706e84d00c876630b53605c13daf4c79b097a3ae1d7b323ff658964516c0c9bd098d6c61bebaba0e95e48e416490959f75fa88b7fc943e launch_hwtest.sh"
|