From 383b26a8c6c29987b171003700b1e76a5b55a32a Mon Sep 17 00:00:00 2001 From: Raymond Hackley Date: Mon, 1 Apr 2024 12:27:27 +0000 Subject: [PATCH] lg-hammerhead: add subpackage unl0kr (MR 4989) To get unl0kr working, add subpackage unl0kr for the quirk. --- .../device-lg-hammerhead/10-unl0kr.conf | 2 ++ device/testing/device-lg-hammerhead/APKBUILD | 19 ++++++++++++++++--- 2 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 device/testing/device-lg-hammerhead/10-unl0kr.conf diff --git a/device/testing/device-lg-hammerhead/10-unl0kr.conf b/device/testing/device-lg-hammerhead/10-unl0kr.conf new file mode 100644 index 000000000..f51fb4246 --- /dev/null +++ b/device/testing/device-lg-hammerhead/10-unl0kr.conf @@ -0,0 +1,2 @@ +[quirks] +fbdev_force_refresh=true diff --git a/device/testing/device-lg-hammerhead/APKBUILD b/device/testing/device-lg-hammerhead/APKBUILD index af8a96ba7..012097e49 100644 --- a/device/testing/device-lg-hammerhead/APKBUILD +++ b/device/testing/device-lg-hammerhead/APKBUILD @@ -1,7 +1,7 @@ # Reference: pkgname=device-lg-hammerhead -pkgver=5 -pkgrel=6 +pkgver=6 +pkgrel=0 pkgdesc="Google Nexus 5" url="https://postmarketos.org" arch="armv7" @@ -15,8 +15,13 @@ depends=" swclock-offset " 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=" + 10-unl0kr.conf bt-module-deps.conf deviceinfo modules-initfs @@ -33,6 +38,13 @@ package() { devicepkg_package $startdir $pkgname } +unl0kr() { + install_if="$pkgname unl0kr" + depends="" + install -Dm644 "$srcdir"/10-unl0kr.conf \ + -t "$subpkgdir"/etc/unl0kr.conf.d +} + x11() { install_if="$pkgname xorg-server" depends=" @@ -69,6 +81,7 @@ nonfree_firmware() { } sha512sums=" +f700af3145b79d1ef9edfb22982899b25cabfb212f9620dcbd3a2e6f44b5ad591e0a66056c6fcd66c3fde89a2b5f551e8a8fe2e65cf0e2a48adec57c027d7825 10-unl0kr.conf 6cef5f8ae1785ac16e6fe84bfc861ac50cdfb94db35d764f44a25c960e123cb82f6e56f45362a5340c62a3d5ac225f2689afd4f6964cb88305a0892ba44214f0 bt-module-deps.conf e08c892a358d99296208f98ba07813eb82c192269cdcaa727d988a3fa8ffb01f3489d9ae5b4074d96578706c7882f52ea8abc6fc4aabdf384bcb7fdc5670b519 deviceinfo fd639faebbee2c0c2c227710678376e0d039b7d96a62103f7ba7e6304d7060023f09064918e93a125465d20d125c0334225680521a7aeae5a43d77d7360c180c modules-initfs