f5d5a9be19
The `msm-fb-refresher` updates the screen for msm based devices. It is not needed for all devices, so we had some extra code in the initramfs, that would only add it when the `deviceinfo_msm_refresher` variable was set. However, we are able now to add files to initramfs hooks, so this hack can be removed and simplify everything. Changes: * Remove `deviceinfo_msm_refresher` from all deviceinfos * Add sanity check for it * Move all `deviceinfo` sanity checks to an extra function * `postmarketos-mkinitfs`: remove code for msm refresher * `msm-fb-refresher`: add initramfs hook
27 lines
947 B
Text
27 lines
947 B
Text
pkgname="device-sony-honami"
|
|
pkgdesc="Sony Xperia Z1"
|
|
pkgver=1.0
|
|
pkgrel=6
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="noarch"
|
|
options="!check"
|
|
depends="postmarketos-base linux-sony-honami msm-fb-refresher mkbootimg mesa-dri-swrast"
|
|
source="deviceinfo 90-android-touch-dev.rules"
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
package() {
|
|
install -Dm644 "$srcdir"/deviceinfo \
|
|
"$pkgdir"/etc/deviceinfo
|
|
install -Dm644 "$srcdir"/90-android-touch-dev.rules \
|
|
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
depends="firmware-sony-amami"
|
|
pkgdesc="Wifi firmware"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="52b9887c14a52ed5b059f673e51a68974b87a2a9d6c9e600087f0df490b1c5c4f8ae12b48dcd536a9616cf6888330b2c2a474b437f2af95a1b16d0bc11ef4adf deviceinfo
|
|
1651ac9eda3c97fafe55abe0f0ae429e04f73edcbf2c56aa3259f81837f7adde348bcb385daed05c30cfc61415455a459a917ed3acccbfd9b7a1caa32a851d40 90-android-touch-dev.rules"
|