Compare commits

...
Author SHA1 Message Date
Caleb Connolly d33b2a71ba WIP: main/postmarketos-ui-wine: new aport
Introduce a postmarketOS UI that boots directly to wine desktop.
Inspired by Hikari.

Tested in QEMU.

Known issues:

Network doesn't get set up by default, must log in to tty and run

  sudo setup-interfaces
  sudo ifup eth0

Ideas:

* Introduce Fex and support running on ARM64
* Pre-configure wine (fetch gecko and mono, install useful stuff ootb)

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-10-04 14:32:46 +02:00
Caleb Connolly 78f89825c6 postmarketos-initramfs: remove support for /boot/.pmos_export_logs
This was only added recently, is likely not used by anyone, and
introduces hard to resolve dependencies on /boot being mounted which we
may not want in the future.

Remove it to drop some complexity.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-09-25 18:11:14 +02:00
3 changed files with 25 additions and 13 deletions

No files matched your search

-13
View File
@@ -62,19 +62,6 @@ mount_boot_partition /boot
extract_initramfs_extra /boot/initramfs-extra
run_hooks /hooks-extra
# For testing the mass storage gadget log export function. We use a flag
# file on /boot so that we can test it on all devices as modifying the
# kernel cmdline is not always possible.
if [ -e /boot/.pmos_export_logs ]; then
echo "PMOS: Exporting logs via mass storage gadget"
show_splash "Exporting boot logs..."
# Delete the flag so we don't soft-brick the device by always booting
# to the log export mode.
mount -o remount,rw /boot
rm -f /boot/.pmos_export_logs
fail_halt_boot
fi
wait_root_partition
delete_old_install_partition
resize_root_partition
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
export CAGE_UI_COMMAND="wine explorer /desktop=shell,1920x1080"
+22
View File
@@ -0,0 +1,22 @@
pkgname=postmarketos-ui-wine
pkgver=1
pkgrel=0
pkgdesc="(XWayland) Wine desktop"
arch="x86_64"
url="https://postmarketos.org/"
license="GPL-3.0-or-later"
options="!check"
depends="postmarketos-base-ui-cage networkmanager wine"
source="10-wine.sh"
# https://gitlab.com/postmarketOS/pmbootstrap/-/issues/2347
_pmb_groups="seat"
package() {
install -Dm755 "$srcdir"/10-wine.sh \
-t "$pkgdir"/etc/tinydm.d/env-wayland.d
}
sha512sums="
2c361ff1594c7f0f39d5f580030ca41a81b37478e2dfce26e5a248f6bbf78c9189780872c0d2b0f11ce619651deba70fdcaa0a603c5a417e012d4a276c4fffb9 10-wine.sh
"