gp-peak: display and touch screen (#1226)
Adds a /etc/local.d/ script in order to work around udev being broken with this kernel.
This commit is contained in:
parent
b2495a917b
commit
eb6ab4c641
6 changed files with 19 additions and 9 deletions
|
@ -7,7 +7,7 @@ url="https://postmarketos.org"
|
|||
license="MIT"
|
||||
arch="noarch"
|
||||
options="!check"
|
||||
depends="linux-gp-peak mkbootimg mesa-dri-swrast"
|
||||
depends="linux-gp-peak mkbootimg mesa-dri-swrast msm-fb-refresher"
|
||||
makedepends="devicepkg-dev"
|
||||
source="deviceinfo"
|
||||
|
||||
|
@ -19,4 +19,4 @@ package() {
|
|||
devicepkg_package $startdir $pkgname
|
||||
}
|
||||
|
||||
sha512sums="9647e9da6be3e2097cfa3872dcd5cb23ba0f62b7f028336d9d3c78ad623619566cd49444593de1e3b747a0bb7f8e9f116e53da7ecbe15e67f28222a82af9a4a5 deviceinfo"
|
||||
sha512sums="de1efd4b2286ee051dcf92171ba9154ef303b5a1053cc4759e246bd464b85f3fd3e327144d6d614ce884eebe8ae08eb90e16f6d2145a3882719da23411e9cea7 deviceinfo"
|
||||
|
|
|
@ -13,11 +13,14 @@ deviceinfo_arch="armhf"
|
|||
# Device related
|
||||
deviceinfo_keyboard="false"
|
||||
deviceinfo_external_disk="true"
|
||||
deviceinfo_screen_width="960"
|
||||
deviceinfo_screen_height="540"
|
||||
deviceinfo_screen_width="540"
|
||||
deviceinfo_screen_height="960"
|
||||
deviceinfo_dev_touchscreen=""
|
||||
deviceinfo_dev_touchscreen_calibration=""
|
||||
deviceinfo_dev_keyboard=""
|
||||
deviceinfo_msm_refresher="true"
|
||||
deviceinfo_weston_pixman_type="2"
|
||||
deviceinfo_dev_touchscreen="/dev/input/event2"
|
||||
|
||||
# Bootloader related
|
||||
deviceinfo_flash_method="fastboot"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
pkgname="linux-gp-peak"
|
||||
pkgver=3.0.21
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Peak kernel fork"
|
||||
arch="armhf"
|
||||
_carch="arm"
|
||||
|
@ -24,6 +24,7 @@ source="
|
|||
compiler-gcc6.h
|
||||
00_fix_return_address.patch
|
||||
01_timeconst_fix.patch
|
||||
linux-gp-peak.start
|
||||
"
|
||||
builddir="$srcdir/${_repository}-${_commit}"
|
||||
|
||||
|
@ -84,10 +85,13 @@ package() {
|
|||
make ARCH="$_carch" CC="${CC:-gcc}" \
|
||||
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-postmarketOS" \
|
||||
INSTALL_MOD_PATH="$pkgdir" modules_install
|
||||
|
||||
install -Dm755 "$srcdir"/$pkgname.start "$pkgdir"/etc/local.d/$pkgname.start
|
||||
}
|
||||
|
||||
sha512sums="e643530bc4e8540284820af137d300d8bf12fa352200095757a64e8e34a71d6e8892bf5887a988404864866751fb8fcac9e89b4429a76be59aeae670d04d533d linux-gp-peak-f02b7a6f10b257b0452d3de47e19e55836e57613.tar.gz
|
||||
577601feac4432540352d7ff147136d27e340f6a0798838deecbf9ae92f787afa6eb59e2ce0e08793e0912fccfc9e0e9f717069375555ac5e25978413736ce6c config-gp-peak.armhf
|
||||
d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104ca1ac5d15f6c4aa49e8776cb44264a9a28dc551e0d1850dcc compiler-gcc6.h
|
||||
ea1d3b5a234fa565e3c1a792de48f4fc4e6023d281d303c8e319c7ef28edc5739ab0e4dea0139a41f0a5c7d03e27921ccaa214fd0ac5c72245a094ce60128864 00_fix_return_address.patch
|
||||
a2bb98fb8d988bbb659cae00fbaca360828300e9b98b90aed5ee0dd839c3f740696df4094a9021b813cbada06820d115aabed581a47cdd2c947e8d853c20b145 01_timeconst_fix.patch"
|
||||
a2bb98fb8d988bbb659cae00fbaca360828300e9b98b90aed5ee0dd839c3f740696df4094a9021b813cbada06820d115aabed581a47cdd2c947e8d853c20b145 01_timeconst_fix.patch
|
||||
92af13735f82c343f2f4224f8ca452a3a2d73ea7633c67cbda4a0d0243eb35b779186f9af01a1638ee5da3f2b5114b48faa071fe0b777edf823ebcd0a5bfa9e7 linux-gp-peak.start"
|
||||
|
|
3
device/linux-gp-peak/linux-gp-peak.start
Normal file
3
device/linux-gp-peak/linux-gp-peak.start
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
udevadm test /devices/virtual/graphics/fb0
|
||||
udevadm test /devices/virtual/input/input2/event2
|
|
@ -1,6 +1,6 @@
|
|||
pkgname=postmarketos-base
|
||||
pkgver=3
|
||||
pkgrel=11
|
||||
pkgrel=12
|
||||
pkgdesc="Meta package for minimal postmarketOS base"
|
||||
url="https://github.com/postmarketOS"
|
||||
arch="noarch"
|
||||
|
@ -66,4 +66,4 @@ sha512sums="38dc75c0ed32b76dccd3d8e7e8173e8b7d91847cf2b07123f376b95af46b4f89798b
|
|||
3ceeee37f558e7c95ad973692b6a437f997e6b46c3d1c2257ddfb1529a5633477373aa123c7f08164e818daae50acb203d151379f27ca11bd458809e6a0d4de7 swapfile
|
||||
f5cc0f1265955d2646e5f099dd4b5d4c287945bfc18c16044db57670d456f55c678fc11cc59e6dab3fa340832ce869d516302a3a35c13518539ed0cedca51819 swapfile.init
|
||||
e0d2d48b82a03239a4c0a00acaf83e00d397c23a8d7c71053d4e2a383357c22dcedef9e81b0e12a1d7514e1fdbe0bb3eb82613d18b29034a7ce5447f13c84a53 swapfile.conf
|
||||
2550a40f44e593bd6c2fafcf27464470d0cc97b1de9ad712c4a167b3ae6cef015a8ba9249176e446bb7852c0d881d3f02a9eba60f4ac655462bc4016026e51e6 postmarketos-base.post-install"
|
||||
0fc71832f3a7c7493ed24ddbd673a4115c4f12905c4c4e178cc8dfb1e1ec32ef7de05e1840497e302c352bd17af61559ee69abc4827aba6de1e8784937f883fd postmarketos-base.post-install"
|
||||
|
|
|
@ -13,7 +13,7 @@ done
|
|||
for service in hwclock modules sysctl hostname bootmisc swclock syslog; do
|
||||
rc-update -q add $service boot
|
||||
done
|
||||
for service in dbus haveged sshd swapfile wpa_supplicant chronyd; do
|
||||
for service in dbus haveged sshd swapfile wpa_supplicant chronyd local; do
|
||||
rc-update -q add $service default
|
||||
done
|
||||
for service in mount-ro killprocs savecache; do
|
||||
|
|
Loading…
Reference in a new issue