3bdeaf0793
This PR automatically creates the weston.ini in the postmarketos-base post-install script based on options set in the deviceinfo file for a particular device. This replaces #191. If weston.ini exists, then no modifications are made. (Optional) options supported in this PR for deviceinfo are: deviceinfo_weston_core_modules - defaults to NONE if none specified deviceinfo_weston_core_backend - defaults to 'fbdev-backend.so' if none specified deviceinfo_weston_keymap_rules - keymap rule, found under /usr/share/X11/xkb/rules/ deviceinfo_weston_keymap_model - keymap model
23 lines
872 B
Text
23 lines
872 B
Text
pkgname=postmarketos-base
|
|
pkgver=1
|
|
pkgrel=10
|
|
pkgdesc="Meta package for minimal postmarketos base"
|
|
url="https://github.com/postmarketOS"
|
|
arch="noarch"
|
|
license="GPL3+"
|
|
depends="alpine-base haveged cryptsetup wpa_supplicant iw openssh mosh
|
|
tmux htop nano postmarketos-mkinitfs eudev sudo"
|
|
makedepends=""
|
|
install="$pkgname.post-install"
|
|
subpackages=""
|
|
source="profile.sh sudoers"
|
|
options="!check"
|
|
|
|
package() {
|
|
install -D -m644 "$srcdir"/profile.sh \
|
|
"$pkgdir"/etc/profile.d/postmarketos.sh || return 1
|
|
install -D -m644 "$srcdir"/sudoers \
|
|
"$pkgdir"/etc/sudoers.d/postmarketos
|
|
}
|
|
sha512sums="c58547a8e3f184f97aabb746b6b2d4e84292809d00c2fbd16e4051f142246798cdf26a7a5861d632afaf2c103d47045aa3ba7b740157c2f0f9c2a404716252b0 profile.sh
|
|
c6de3b44bc45b9f9c641a7e34c69a481ee39b99ac0251cd28f2b3aae49c1a8d1ca448f4936b7942b1a8b8f7c18a5415c938098765ed8cf08456543800160e64b sudoers"
|