pine-pinetab: enable uart, add weston cfg (!570)
[ci:skip-build]: already built successfully in CI Signed-off-by: Danct12 <danct12@disroot.org>
This commit is contained in:
parent
2406d29aec
commit
322be48523
3 changed files with 22 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
pkgname="device-pine-pinetab"
|
||||
pkgdesc="Pine64 Pinetab"
|
||||
pkgver=0.1
|
||||
pkgrel=5
|
||||
pkgrel=6
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="aarch64"
|
||||
|
@ -10,6 +10,7 @@ options="!check !archcheck"
|
|||
depends="postmarketos-base linux-postmarketos-allwinner u-boot-pine64 uboot-tools mesa-git mesa-git-glapi mesa-git-gl mesa-git-egl mesa-git-dri-lima mesa-git-dri-kmsro mesa-git-gbm mesa-git-gles"
|
||||
makedepends="devicepkg-dev"
|
||||
subpackages="$pkgname-sway
|
||||
$pkgname-weston
|
||||
$pkgname-nonfree-firmware:nonfree_firmware"
|
||||
install="$pkgname.post-install"
|
||||
source="
|
||||
|
@ -17,6 +18,7 @@ source="
|
|||
uboot-script.cmd
|
||||
sway.conf
|
||||
99-pinetab-keyboard.hwdb
|
||||
weston.ini
|
||||
"
|
||||
|
||||
build() {
|
||||
|
@ -40,6 +42,12 @@ sway() {
|
|||
"$subpkgdir"/etc/sway/config.d/pinetab
|
||||
}
|
||||
|
||||
weston() {
|
||||
install_if="$pkgname postmarketos-ui-weston"
|
||||
install -Dm644 "$srcdir"/weston.ini \
|
||||
"$subpkgdir"/etc/xdg/weston/weston.ini
|
||||
}
|
||||
|
||||
package() {
|
||||
devicepkg_package $startdir $pkgname
|
||||
|
||||
|
@ -61,4 +69,5 @@ nonfree_firmware() {
|
|||
sha512sums="78b3414f198f2efbfcb12d6240e26a34cd48f00f75a0469c57c372a84aaac75a8f5ddd23f8cb1c16b9a9de6b2a11a8f537a1cd486f75dfbce213541f6890211b deviceinfo
|
||||
8f15bb62704ad5379c6f77c5ea766e69587a11829539cc339b486b72e248e04cc6202b505f12846f6537f259412f7749ce50d0b15227da182afe17fe7dd303e5 uboot-script.cmd
|
||||
9e71c61bfa72b60e749c4dc04f17eb59d25de822765e81e65c937d6be5236d3951a652b69a1ab973abe6add9f34705be5dbaa98bbfa25daf7504dd50b28524c2 sway.conf
|
||||
8d1ef04911f1cfa7eda8185f4f4d807af23105a7c8f23d8c18f02afeccd8ab124de70c2e2760c154a3128fe3793447039fb0abf37aa496f597d27051e275033e 99-pinetab-keyboard.hwdb"
|
||||
8d1ef04911f1cfa7eda8185f4f4d807af23105a7c8f23d8c18f02afeccd8ab124de70c2e2760c154a3128fe3793447039fb0abf37aa496f597d27051e275033e 99-pinetab-keyboard.hwdb
|
||||
6374ef977eab14b71fa88057ebd52ca03035e387e5f41504598a990f24b2e92bccd2db476c545dc541000e08fccdecb6f1cd63e25b5835df706269e0384dacc7 weston.ini"
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Enable getty on UART
|
||||
echo "ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100" >> /etc/inittab
|
||||
|
||||
# We'll update the hwdb so that the meta key gets fixed
|
||||
echo "UPDATING HWDB..."
|
||||
udevadm hwdb --update
|
||||
|
|
8
device/device-pine-pinetab/weston.ini
Normal file
8
device/device-pine-pinetab/weston.ini
Normal file
|
@ -0,0 +1,8 @@
|
|||
[core]
|
||||
xwayland=true
|
||||
backend=drm-backend.so
|
||||
[shell]
|
||||
background-image=/usr/share/wallpapers/postmarketos.jpg
|
||||
[output]
|
||||
name=DSI-1
|
||||
transform=90
|
Loading…
Reference in a new issue