Skip to content

only display ui option if arch in ui meta package matches device

Administrator requested to merge arch into master

closes #1790 (closed)

I tested this by trying to install to sony scorpion phone:

bash-5.0$ ./pmbootstrap.py init
[03:19:01] Location of the 'work' path. Multiple chroots (native, device arch, device rootfs) will be created in there.
[03:19:01] Work path [/home/anjan/.local/var/pmbootstrap]:
[03:19:02] NOTE: pmaports path: /home/anjan/.local/var/pmbootstrap/cache_git/pmaports
[03:19:02] Choose your target device vendor (either an existing one, or a new one for porting).
[03:19:02] Available vendors (48): alcatel, amazon, asus, bq, chuwi, fairphone, finepower, fujitsu, google, gp, hisense,
htc, huawei, infocus, jolla, leeco, lenovo, lg, medion, meizu, motorola, nextbit, nobby, nokia, oneplus, oppo, ouya, pine64, planet, purism, qemu, raspberry, samsung, semc, sharp, sony, surftab, t2m, tablet, teclast, tokio, wiko, wileyfox, wingtech, xiaomi, yu, zte, zuk
[03:19:02] Vendor [qemu]: sony
[03:19:06] Available codenames (13): amami, aries, castor-windy, coconut, honami, nicki, scorpion, seagull, sirius, suzu, taoshan, tulip, yuga
[03:19:06] Device codename: scorpion
[03:19:09] Username [user]:
[03:19:10] Update package index for armhf (4 file(s))
Password:
[03:19:17] Available user interfaces (6):
[03:19:17] * none: No graphical environment
[03:19:17] * i3wm: (X11) Tiling WM (keyboard required)
[03:19:17] * mate: (X11) MATE Desktop Environment, fork of GNOME2 (stylus recommended)
[03:19:17] * shelli: Plain console with touchscreen gesture support
[03:19:17] * sway: (Wayland) Tiling WM, drop-in replacement for i3wm (DOES NOT RUN WITHOUT HW ACCELERATION!)
[03:19:17] * weston: (Wayland) Reference compositor (demo, not a phone interface)
[03:19:17] * xfce4: (X11) Lightweight GTK+2 desktop (stylus recommended)
[03:19:17] User interface [weston]:

Note phosh, plasmamobile, etc. are missing!

💯

Merge request reports

Loading