2204c0a390
bootrr is a simple shell script tool for validating that a given board has booted correctly. It checks that all expected drivers are loaded. Signed-off-by: Caleb Connolly <caleb@connolly.tech>
45 lines
1.8 KiB
Text
45 lines
1.8 KiB
Text
# Maintainer: Caleb Connolly <caleb@connolly.tech>
|
|
pkgname=bootrr
|
|
pkgver=0.1_git20230827
|
|
_commit="cac8008d8ba6ba6e7361e87022d7ac1940b8c8b8"
|
|
pkgrel=0
|
|
pkgdesc="A sanity checker for boards under automated test"
|
|
url="https://github.com/andersson/bootrr"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
subpackages="$pkgname:pmtest"
|
|
source="
|
|
bootrr-$_commit.tar.gz::https://github.com/andersson/bootrr/archive/$_commit.tar.gz
|
|
00-bootrr.files
|
|
00-bootrr.sh
|
|
0001-bin-generate-use-POSIX-sh-and-support-spaces.patch
|
|
0002-boards-support-OnePlus-6-6T.patch
|
|
"
|
|
builddir="$srcdir/bootrr-$_commit"
|
|
options="!check"
|
|
|
|
build() {
|
|
make prefix=/usr all
|
|
}
|
|
|
|
package() {
|
|
make prefix=/usr DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
pmtest() {
|
|
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-mkinitfs-hook-ci"
|
|
|
|
install -Dm755 "$srcdir"/00-bootrr.sh \
|
|
"$subpkgdir"/usr/libexec/pmos-tests-initramfs/00-bootrr.sh
|
|
|
|
install -Dm644 "$srcdir"/00-bootrr.files \
|
|
"$subpkgdir"/usr/share/mkinitfs/files/00-bootrr.files
|
|
}
|
|
|
|
sha512sums="
|
|
139f480470518795dba89c1efd1632c595b4a2dba040735d2c1bc6d34f368ad77336a20d6513fac108d9f891d9cec53ee1511bc02e7483563e08954de57e1eff bootrr-cac8008d8ba6ba6e7361e87022d7ac1940b8c8b8.tar.gz
|
|
bd0ed41c4dba232b6ac211ae58cad83b15a4408829cd8df0a866453b014c8d4b17900d9310e8a2a02248f6da8853bdd2b04ed96c250204def8e086c0ba15b9e7 00-bootrr.files
|
|
55fc3907afe4ae211020885bc8b3515169b26e6717e537276492bd4ed283af2758b98cba07f9bc26847b147208772feb733344f490bbc836f8c16ecbea7c4a3d 00-bootrr.sh
|
|
493d615c00125bd1838b8a3afab222561908a4a247595d33b5116c88a354102ef9e2139cc6578a968a73a3062b04d8a42d641d62c8698d23173c76777816c332 0001-bin-generate-use-POSIX-sh-and-support-spaces.patch
|
|
6f203515aa1536b6aa40dcdfd7f7ab7adfc36559ba513652d92865098f7f0e06757d2fe2d0f66ea05c3fea1f9577673cf13d78afdd21173f812d70937f4eb6fc 0002-boards-support-OnePlus-6-6T.patch
|
|
"
|