motorola-athene: enable touchscreen (!180)
Adds an initfs-hook to enable touchscreen on motorola-athene.
This commit is contained in:
parent
d65f0a1f8e
commit
7b86ca313d
2 changed files with 7 additions and 3 deletions
|
@ -2,21 +2,24 @@
|
||||||
pkgname="device-motorola-athene"
|
pkgname="device-motorola-athene"
|
||||||
pkgdesc="Motorola Moto G4"
|
pkgdesc="Motorola Moto G4"
|
||||||
pkgver=0.1
|
pkgver=0.1
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
url="https://postmarketos.org"
|
url="https://postmarketos.org"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
arch="aarch64"
|
arch="aarch64"
|
||||||
options="!check !archcheck"
|
options="!check !archcheck"
|
||||||
depends="postmarketos-base linux-motorola-athene mkbootimg mesa-dri-swrast msm-fb-refresher"
|
depends="postmarketos-base linux-motorola-athene mkbootimg mesa-dri-swrast msm-fb-refresher"
|
||||||
makedepends="devicepkg-dev"
|
makedepends="devicepkg-dev"
|
||||||
source="deviceinfo"
|
source="deviceinfo initfs-hook.sh"
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
devicepkg_build $startdir $pkgname
|
devicepkg_build $startdir $pkgname
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
install -Dm644 "$srcdir"/initfs-hook.sh \
|
||||||
|
"$pkgdir"/etc/postmarketos-mkinitfs/hooks/00-${pkgname}.sh
|
||||||
devicepkg_package $startdir $pkgname
|
devicepkg_package $startdir $pkgname
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="d62b63160279f45cde855b0ed83382a3011b366d860a4718ba9f32d358fe855eb4d84996acf83417e760eb3749f6cddf0083ee797d1a8a2648d79410b6119c46 deviceinfo"
|
sha512sums="d62b63160279f45cde855b0ed83382a3011b366d860a4718ba9f32d358fe855eb4d84996acf83417e760eb3749f6cddf0083ee797d1a8a2648d79410b6119c46 deviceinfo
|
||||||
|
c6764223c9c19a71a8bcbf86bf738a13ed01e318cd8b5ad7aa521f27cc85d78f469d92f5725767fe507ef6338f20dbc107ed3fc5811e465c8335df57437d877e initfs-hook.sh"
|
||||||
|
|
1
device/device-motorola-athene/initfs-hook.sh
Normal file
1
device/device-motorola-athene/initfs-hook.sh
Normal file
|
@ -0,0 +1 @@
|
||||||
|
echo 1 > /sys/devices/soc.0/78b7000.i2c/i2c-3/3-0020/f54/reset
|
Loading…
Reference in a new issue