pmaports/device/testing/device-htc-m8/APKBUILD
Alexandre Messier b5a019bb00
device-htc-m8: specify 'system' as rootfs partition (MR 4799)
On HTC devices with S-On still active, the 'userdata' partition
is not writable. Change the default rootfs partition to the
'system' partition, which is writable.
2024-02-16 17:58:27 +01:00

37 lines
1.2 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-htc-m8
pkgdesc="HTC One M8"
pkgver=0.1
pkgrel=17
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="linux-htc-m8 mkbootimg msm-fb-refresher postmarketos-base"
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="deviceinfo
initfs-hook.sh
90-android-touch-dev.rules"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
install -D -m644 "$srcdir"/90-android-touch-dev.rules \
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
}
nonfree_firmware() {
pkgdesc="Wifi firmware"
depends="firmware-htc-m8"
mkdir "$subpkgdir"
}
sha512sums="
a516a758dad4204e226f1d628d19ac5d9f9fe0138970ba0995cb25b94746caa1f9f530a81d8befdc914680bafaed34675c895ce09329d0cfb292bf1be49a5dda deviceinfo
765abaad5fda0dfda5e62e1e48414d3eea822198f39d0792171a04d73f86f6273a6e562afab430cbfcdd084412568a0ad03d012e9c40c5564f5cd1b9c0f181eb initfs-hook.sh
f0f69ab3b5b3fed11ec5049f37c71c4e9dcf87dc1f238199a3917dd61957d46783a8798d63d400cc5d3983987e750e3fec6d7117561ad5005f28131ae4821d66 90-android-touch-dev.rules
"