Skip to content

Commit

Permalink
pkg: pine64: device-pine64-pinetab: use machine-info
Browse files Browse the repository at this point in the history
Signed-off-by: Danct12 <[email protected]>
  • Loading branch information
Danct12 committed Dec 22, 2020
1 parent 8c5d144 commit 0c86b2c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
10 changes: 7 additions & 3 deletions PKGBUILDS/pine64/device-pine64-pinetab/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Maintainer: Danct12 <[email protected]>
pkgname=device-pine64-pinetab
pkgver=0.1
pkgrel=6
pkgrel=7
pkgdesc="PineTab device package"
arch=(aarch64)
url="https://github.com/dreemurrs-embedded/Pine64-Arch"
Expand All @@ -12,15 +12,19 @@ depends=(linux-pine64
ov5640-firmware
alsa-ucm-pinetab)
source=(pinetab-suspend-hook.sh
phoc.ini)
phoc.ini
machine-info)

package() {
# Current workaround for suspend
install -Dm755 "$srcdir"/pinetab-suspend-hook.sh "$pkgdir"/usr/lib/systemd/system-sleep/pinetab-suspend-hook.sh

# 1x scaling for Phosh
install -Dm644 "$srcdir"/phoc.ini "$pkgdir"/etc/phosh/phoc.ini

install -Dm644 "$srcdir"/machine-info "$pkgdir"/etc/machine-info
}

md5sums=('b0912b95d7d810a0f161d9bd79fc162b'
'5b09f56730748532e169173d124f7cad')
'5b09f56730748532e169173d124f7cad'
'340993065eb26f928700733369be2d9b')
4 changes: 4 additions & 0 deletions PKGBUILDS/pine64/device-pine64-pinetab/machine-info
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 PineTab"
CHASSIS="tablet"

0 comments on commit 0c86b2c

Please sign in to comment.