-
-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg: pine64: device-pine64-pinephone: use machine-info && remove unus…
…ed udev rules Signed-off-by: Danct12 <[email protected]>
- Loading branch information
Showing
3 changed files
with
11 additions
and
17 deletions.
There are no files selected for viewing
9 changes: 0 additions & 9 deletions
9
PKGBUILDS/pine64/device-pine64-pinephone/20-pinephone-led.rules
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Maintainer: Danct12 <[email protected]> | ||
pkgname=device-pine64-pinephone | ||
pkgver=0.1 | ||
pkgrel=12 | ||
pkgrel=13 | ||
pkgdesc="PinePhone device package" | ||
arch=(aarch64) | ||
url="https://github.com/dreemurrs-embedded/Pine64-Arch" | ||
|
@@ -17,20 +17,19 @@ depends=( | |
danctnix-eg25-misc | ||
) | ||
source=(10-proximity.rules | ||
20-pinephone-led.rules | ||
pinephone-suspend-hook.sh) | ||
pinephone-suspend-hook.sh | ||
machine-info) | ||
|
||
package() { | ||
# Kanged from Mobian, this is to make iio-sensor-proxy works with proximity sensor. | ||
install -Dm644 "$srcdir"/10-proximity.rules "$pkgdir"/usr/lib/udev/rules.d/10-proximity.rules | ||
|
||
# This makes LED works on Phosh UI | ||
install -Dm644 "$srcdir"/20-pinephone-led.rules "$pkgdir"/usr/lib/udev/rules.d/20-pinephone-led.rules | ||
|
||
# Current workaround for suspend | ||
install -Dm755 "$srcdir"/pinephone-suspend-hook.sh "$pkgdir"/usr/lib/systemd/system-sleep/pinephone-suspend-hook.sh | ||
|
||
install -Dm644 "$srcdir"/machine-info "$pkgdir"/etc/machine-info | ||
} | ||
|
||
md5sums=('b72ff096c022588f72c226283ac328bd' | ||
'ff85d406611bf11c7f7a7e9cd3f628b4' | ||
'b0912b95d7d810a0f161d9bd79fc162b') | ||
'b0912b95d7d810a0f161d9bd79fc162b' | ||
'b53781dde1d7a9a44e5076f3be463570') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# DO NOT EDIT THIS FILE! | ||
# It will be overwritten by an update to device adapation in the future. | ||
PRETTY_HOSTNAME="PINE64 PinePhone" | ||
CHASSIS="handset" |