device/community: add pmtest subpackages for a few sdm845 devices (MR 4420)

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
This commit is contained in:
Caleb Connolly 2023-10-02 12:58:34 +01:00
parent 2204c0a390
commit 570e52d99c
No known key found for this signature in database
GPG key ID: 7930459FB9303217
3 changed files with 34 additions and 7 deletions

View file

@ -3,7 +3,7 @@
pkgname=device-oneplus-enchilada
pkgdesc="OnePlus 6"
pkgver=11
pkgver=12
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@ -25,7 +25,7 @@ source="
modules-initfs
q6voiced.conf
"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware $pkgname-pmtest"
build() {
devicepkg_build $startdir $pkgname
@ -47,6 +47,14 @@ nonfree_firmware() {
install -Dm644 q6voiced.conf "$subpkgdir"/etc/conf.d/q6voiced
}
pmtest() {
depends="bootrr qrtr firmware-oneplus-sdm845 unl0kr"
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-mkinitfs-hook-ci"
install="$subpkgname.post-install"
devicepkg_pmtest_post_install "ttyMSM0,115200" > "$subpkgname.post-install"
}
sha512sums="
e957b7b0ed219eaa56be6c6b976b60886f73970703fdebf045800154ee652affee4e19654b3ac4244b29bcf6760ad3db6cb87143dc9c4673e905800d751103d1 10-unl0kr.conf
71b4d74cebe22556b2c819fdb6b279366c9a566cb077f6e6e80c0c0b2e7c7fca48ea23ffbacca5cce4c636d8f3e66ad8f66ce36e954644242f6b5a71c89f9ed6 deviceinfo

View file

@ -4,7 +4,7 @@
pkgname=device-oneplus-fajita
pkgdesc="OnePlus 6T"
pkgver=11
pkgrel=1
pkgrel=2
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@ -25,7 +25,7 @@ source="
modules-initfs
q6voiced.conf
"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware $pkgname-pmtest"
build() {
devicepkg_build $startdir $pkgname
@ -47,6 +47,14 @@ nonfree_firmware() {
install -Dm644 q6voiced.conf "$subpkgdir"/etc/conf.d/q6voiced
}
pmtest() {
depends="bootrr qrtr firmware-oneplus-sdm845 unl0kr"
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-mkinitfs-hook-ci"
install="$subpkgname.post-install"
devicepkg_pmtest_post_install "ttyMSM0,115200" > "$subpkgname.post-install"
}
sha512sums="
e957b7b0ed219eaa56be6c6b976b60886f73970703fdebf045800154ee652affee4e19654b3ac4244b29bcf6760ad3db6cb87143dc9c4673e905800d751103d1 10-unl0kr.conf
53f2c5223fd708990b7642c3c83a5a58388e810d179aa24fae4e9fe0f187008a32511c8294819f8933c3377a0c2ebd5512fb03a3900fde78662bd93d034338df deviceinfo

View file

@ -5,7 +5,7 @@
pkgname=device-shift-axolotl
pkgdesc="SHIFT6mq"
pkgver=12
pkgrel=1
pkgrel=2
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@ -21,13 +21,16 @@ depends="
soc-qcom-sdm845-qbootctl
fwupd>=1.8.6
"
makedepends="devicepkg-dev"
makedepends="devicepkg-dev postmarketos-test"
source="
deviceinfo
modules-initfs
q6voiced.conf
"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
subpackages="
$pkgname-nonfree-firmware:nonfree_firmware
$pkgname-pmtest
"
build() {
devicepkg_build $startdir $pkgname
@ -46,6 +49,14 @@ nonfree_firmware() {
install -Dm644 q6voiced.conf "$subpkgdir"/etc/conf.d/q6voiced
}
pmtest() {
depends="bootrr qrtr firmware-shift-sdm845 unl0kr"
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-mkinitfs-hook-ci"
install="$subpkgname.post-install"
devicepkg_pmtest_post_install "ttyMSM0,115200" > "$subpkgname.post-install"
}
sha512sums="
88e5a1f014e48c811df46e94e09016f4f65cd99eb7e0baff4f7aaf9ee9cec2f8d9d9849aa23b6a28dac9631eeace530c5d914b538f186acbbd1e907d9041cc7e deviceinfo
4dc84207c5ca84b33b74139c8b0c9ce5baa8bcb1068df9943c478c02abcf8daccb88e06af63f120a434a115e277008e899305bd5239d8669436cb269889040e9 modules-initfs