lg-hammerhead: add subpackage unl0kr (MR 4989)

To get unl0kr working, add subpackage unl0kr for the quirk.
This commit is contained in:
Raymond Hackley 2024-04-01 12:27:27 +00:00 committed by Stefan Hansson
parent 3365d5764c
commit 383b26a8c6
No known key found for this signature in database
GPG key ID: 8A700086A9FE41FD
2 changed files with 18 additions and 3 deletions

View file

@ -0,0 +1,2 @@
[quirks]
fbdev_force_refresh=true

View file

@ -1,7 +1,7 @@
# Reference: <https://postmarketos.org/devicepkg> # Reference: <https://postmarketos.org/devicepkg>
pkgname=device-lg-hammerhead pkgname=device-lg-hammerhead
pkgver=5 pkgver=6
pkgrel=6 pkgrel=0
pkgdesc="Google Nexus 5" pkgdesc="Google Nexus 5"
url="https://postmarketos.org" url="https://postmarketos.org"
arch="armv7" arch="armv7"
@ -15,8 +15,13 @@ depends="
swclock-offset swclock-offset
" "
makedepends="devicepkg-dev" makedepends="devicepkg-dev"
subpackages="$pkgname-phosh $pkgname-x11 $pkgname-nonfree-firmware:nonfree_firmware" subpackages="
$pkgname-phosh
$pkgname-unl0kr
$pkgname-x11
$pkgname-nonfree-firmware:nonfree_firmware"
source=" source="
10-unl0kr.conf
bt-module-deps.conf bt-module-deps.conf
deviceinfo deviceinfo
modules-initfs modules-initfs
@ -33,6 +38,13 @@ package() {
devicepkg_package $startdir $pkgname devicepkg_package $startdir $pkgname
} }
unl0kr() {
install_if="$pkgname unl0kr"
depends=""
install -Dm644 "$srcdir"/10-unl0kr.conf \
-t "$subpkgdir"/etc/unl0kr.conf.d
}
x11() { x11() {
install_if="$pkgname xorg-server" install_if="$pkgname xorg-server"
depends=" depends="
@ -69,6 +81,7 @@ nonfree_firmware() {
} }
sha512sums=" sha512sums="
f700af3145b79d1ef9edfb22982899b25cabfb212f9620dcbd3a2e6f44b5ad591e0a66056c6fcd66c3fde89a2b5f551e8a8fe2e65cf0e2a48adec57c027d7825 10-unl0kr.conf
6cef5f8ae1785ac16e6fe84bfc861ac50cdfb94db35d764f44a25c960e123cb82f6e56f45362a5340c62a3d5ac225f2689afd4f6964cb88305a0892ba44214f0 bt-module-deps.conf 6cef5f8ae1785ac16e6fe84bfc861ac50cdfb94db35d764f44a25c960e123cb82f6e56f45362a5340c62a3d5ac225f2689afd4f6964cb88305a0892ba44214f0 bt-module-deps.conf
e08c892a358d99296208f98ba07813eb82c192269cdcaa727d988a3fa8ffb01f3489d9ae5b4074d96578706c7882f52ea8abc6fc4aabdf384bcb7fdc5670b519 deviceinfo e08c892a358d99296208f98ba07813eb82c192269cdcaa727d988a3fa8ffb01f3489d9ae5b4074d96578706c7882f52ea8abc6fc4aabdf384bcb7fdc5670b519 deviceinfo
fd639faebbee2c0c2c227710678376e0d039b7d96a62103f7ba7e6304d7060023f09064918e93a125465d20d125c0334225680521a7aeae5a43d77d7360c180c modules-initfs fd639faebbee2c0c2c227710678376e0d039b7d96a62103f7ba7e6304d7060023f09064918e93a125465d20d125c0334225680521a7aeae5a43d77d7360c180c modules-initfs