device-epson-embt2ws: add x11 no-display-clone snipped and force resize

Force partition resizing as we are installing to sdcard.
Add an x11 config snippet to have cloned displays. This
will help non-specialized UIs to be usable by having the
same picture for both eyes. Seeing totally different things
on both eyes is a nightmare.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8774>
This commit is contained in:
Andreas Kemnade 2026-06-10 12:20:01 +02:00 committed by The Friendly Meow (merge) Bot
parent cb29939029
commit 39a2e8d0dc
No known key found for this signature in database
3 changed files with 20 additions and 2 deletions

View file

@ -2,7 +2,7 @@
maintainer="Andreas Kemnade <andreas@kemnade.info>"
pkgname=device-epson-embt2ws
pkgdesc="Epson Moverio BT-200"
pkgver=4
pkgver=5
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@ -25,6 +25,11 @@ source="
kernel-cmdline.conf
modules-initfs
sdboot.cmd
x11-clone.conf
"
subpackages="
$pkgname-x11
"
build() {
@ -38,9 +43,16 @@ package() {
install -Dm644 "$srcdir/sdboot.scr" "$pkgdir/boot/sdboot.scr"
}
x11() {
install_if="$pkgname=$pkgver-r$pkgrel xorg-server"
install -D -m644 "$srcdir"/x11-clone.conf \
"$subpkgdir"/usr/share/X11/xorg.conf.d/x11-clone.conf
}
sha512sums="
2afeb8e1a52d68265f1dee541983f47b0ec5a07c4a9a3f545464142a1346653760a1b6c13db1fa8011252bf392c8978e2db0169d946fc5e757166094a9878983 deviceinfo
156346ca9c8cd36fa4e8ce44ae20efbb58eb9c8bc9a24164c2e1472026967247cdf306b82cd9d442c8f58becd85c482ab6624d7dd6814193ce9be48a6693cb8a kernel-cmdline.conf
5bc0bb6df7eb59ef88939e2ad6e7111f86d0ef0466989bf6c6baa9fdde416dc6ea41b59932d55e8b6a802311bd748849e40824945eeb57c269ee2156c34ab48e kernel-cmdline.conf
e6d26536578432bd1d9123d3b3eb621e39d5475e5ce9086c42fae213be6fa05d56bd6b42d08f6f5afccffe5b01ca940239c11b8046e0be1a5962ac95a0b0dfa4 modules-initfs
2c3a39107dd6c061d001d11211b816fc0e1fb060e0bcbf0fcf057d7910a7dcc4d1d06c6b0572ee0d616f1d06679ca48872395f62c1f44f5460cceefbbd2b5050 sdboot.cmd
a189bc388a7a3b176444acb2e14c3894686e7d49b29dc6f0737673130202778ed7426ae27daef568a387b6e68619a2bb07de9e895c19d782324a7f896fdadf7e x11-clone.conf
"

View file

@ -1 +1,2 @@
console=ttyS2,115200
pmos.force-partition-resize

View file

@ -0,0 +1,5 @@
Section "Device"
Identifier "head"
Driver "modesetting"
Option "PreferCloneMode" "true"
EndSection