Commit graph

2307 commits

Author SHA1 Message Date
Arnav Singh
4d4dc1baea
main/postmarketos-base-ui: fix tethering script when no UDC configured (MR 4907)
Reading the `ifname` of a gadget that has not been configured with a UDC
succeeds with the content `(unnamed net_device)` instead of failing.
So we need to explicitly check that a UDC was configured before we read
the interface name.

Ref: #2648
[ci:skip-build]: already built successfully in CI
2024-03-11 13:53:18 -07:00
Arnav Singh
b0226839d4
main/postmarketos-initramfs: fix starting unudhcpd when no UDC configured (MR 4907)
Reading the `ifname` of a gadget that has not been configured with a UDC
succeeds with the content `(unnamed net_device)` instead of failing.
So we need to explicitly check that a UDC was configured before we read
the interface name.

Ref: #2648
2024-03-11 13:53:17 -07:00
Caleb Connolly
a65dc9b4c0
postmarketos-initramfs: bigger log image size (MR 4880)
Sometimes, there can be more than 10M of stuff collected for logging,
which breaks things.. bump the size to 32M which should still be small
enough for low end / old devices.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-03-10 16:10:13 +00:00
Devin Lin
8ee5516088
main/postmarketos-ui-plasma-mobile: update list of pre-installed apps (MR 4895)
[ci:skip-build]: already built successfully in CI
2024-03-10 16:06:24 +00:00
Gianluca Boiano
08e3a394c9
main/lk2nd-msm8953: upgrade to 0.3.7 (MR 4899) 2024-03-10 11:18:18 +01:00
hitechshell
8ab166acc0
main/postmarketos-base: change order of baud rate and tty name according to upstream (MR 4889)
[ci:skip-build]: already built successfully in CI
2024-03-05 20:36:39 +05:00
Devin Lin
cf2026196e
postmarketos-base-ui-plasma: remove unnecessary override files, and move kscreenlocker override back to plasma-mobile (MR 4882)
A bunch of override files in postmarketos-base-ui-plasma seem to have come from the plasma-mobile ui package, which probably shouldn't be on desktop and bigscreen.

With Plasma 6, a lot of the overrides are now no longer necessary for Plasma Mobile.

Situation with each file:
- 000-gschema.override - This likely was for changing maliit themes and GTK title bar layout for Plasma Mobile, maliit theming was dropped (https://github.com/maliit/keyboard/pull/108), and title bar layout is now handled within Plasma Mobile
- kdeglobals - This was for setting the look-and-feel on Plasma Mobile and default browser, it's now handled within Plasma Mobile envmanager
- kwinrc - These were settings for disabling window decorations and setting the vkbd to maliit, which is now handled in Plasma Mobile envmanager
- kscreenlockerrc - This is to autolock the screen after login (tinydm autologs in), the file was for Plasma Mobile, I don't think we want it for Desktop since SDDM is used there
2024-03-04 22:59:59 +01:00
Raymond Hackley
135a2e4904
main/postmarketos-ui-plasma-{desktop,bigscreen}: drop duplicated dependencies (MR 4876)
Drop duplicated dependencies, which have been already included
in postmarketos-base-ui-plasma:

- dnsmasq
- elogind
- elogind-openrc
- polkit-kde-agent-1
[ci:skip-build]: already built successfully in CI
2024-03-04 22:41:42 +01:00
Stefan Hansson
494f42defb
main/postmarketos-ui-plasma-bigscreen: disable (MR 4883)
All of Plasma Bigscreen was removed from aports[1]. It will return with
KDE 6.1, according to PureTryOut. But for now, disable this package by
making it build on no architectures so that CI works again.

 [1]: 4e7fa26ea2

[ci:skip-vercheck]: Version does not need to change when changin arches.
2024-03-04 20:52:25 +01:00
Clayton Craft
6923219afc
main/boot-deploy: upgrade to 0.14 (MR 4842)
Changelog:
        - Add support for Linux kernel cpu microcode loading on boot

[ci:skip-build] already built successfully in CI
2024-02-19 10:28:47 -08:00
Arnav Singh
7fdf08a0ad
main/postmarketos-base-ui: remove tinydm-x11 subpackage (MR 4837)
This reverts commit 518e62df34
"main/postmarketos-base-ui: add tinydm subpackage to pull in xinit (MR 4814)"

aports/tinydm now provides its own -x11 subpackage to do this since
7df6d02609
2024-02-18 10:34:27 -08:00
Anton Bambura
2cee97a462
main/postmarketos-cros-common: remove newlines after comments (MR 4821) 2024-02-18 04:31:41 +02:00
Anton Bambura
9491099e73
main/postmarketos-cros-common: add -p to mkdir at sway subpackage (MR 4821) 2024-02-18 04:31:41 +02:00
Anton Bambura
9353628472
main/postmarketos-cros-common: add keyboard mapping (MR 4821) 2024-02-18 04:31:41 +02:00
Anton Bambura
e2eb8f7927
main/cros-keyboard-map: new aport (MR 4821) 2024-02-18 04:31:40 +02:00
Clayton Craft
f3fc836ccc
main/systemd-boot: enable armv7 and riscv64 support (MR 4830)
[ci:skip-build] already built successfully in CI
[ci:skip-vercheck]
2024-02-17 15:29:05 -08:00
xtex
160c63f12c
main/postmarketos-initramfs: allow redirect logs to pmsg device (MR 4800)
/dev/pmsg0 may be created by pstore driver. When it is available,
write logs into it so logs can be recovered through pstore after
a failed boot. This is useful for devices without console or hard
to get console.
2024-02-16 09:39:37 -08:00
Clayton Craft
4dac896160
pmos-base-ui: disable DNS filtering to work around dnsmasq hang (MR 4824)
Crappy workaround, it's better than having DNS broken...
See: https://gitlab.com/postmarketOS/pmaports/-/issues/2601

Also removed it from shellcheck, because SC doesn't like all of the
unused/unreachable things after the `exit 0`. This commit should be
reverted when the issue is actually fixed later...

[ci:skip-build] already built successfully in CI
2024-02-14 12:17:55 -08:00
Clayton Craft
5013cca632
main/postmarketos-mkinitfs: upgrade to 2.3.1 (MR 4763)
[ci:skip-build] already built successfully in CI
2024-02-12 15:42:25 -08:00
Clayton Craft
a0eabc6e59
main/boot-deploy: upgrade to 0.13 (MR 4763) 2024-02-12 15:42:21 -08:00
Arnav Singh
518e62df34
main/postmarketos-base-ui: add tinydm subpackage to pull in xinit (MR 4814)
tinydm uses startx for Xorg UIs, which is provided by the xinit package.
The xinit package used to be pulled in automatically by
the xorg-server package, but this stopped being the case with
1fd2d70696
2024-02-12 11:27:33 -08:00
Sicelo A. Mhlongo
90b0205a90
postmarketos-ui-i3wm: configure wallpaper globally (MR 4810)
Configure wallpaper in the UI package, to accommodate changing wallpapers per
release.

The wallpaper path is adjusted in `/usr/share/i3/config.pmos`.
2024-02-12 20:14:11 +02:00
jane400
98af7cea03
main/postmarketos-base-ui: split usb-tethering into subpackage (MR 4788)
this allows to opt-out of usb-tethering on pmOS devices with
`apk add !postmarketos-base-ui-networkmanager-usb-tethering`
this is useful for developers with laptops on pmOS / dailydriving
those laptops on pmOS.

[ci:skip-build]: Already built successfully in CI.
2024-02-11 19:20:05 +01:00
David Heidelberg
bdea74f041
main/osk-sdl: drop (MR 4732)
Prequisite for dropping DirectFB support from SDL2 builds.

Signed-off-by: David Heidelberg <david@ixit.cz>
2024-02-07 21:44:46 +00:00
Clayton Craft
47a42c8f16
main/unl0kr: "provide" osk-sdl (MR 4732)
needed to replace osk-sdl with unl0kr on systems where osk-sdl is in the
apk world file
2024-02-07 21:44:19 +00:00
Caleb Connolly
070ae7566d
main/postmarketos-initramfs: depend on mdev-conf (MR 4807)
we need this, i think it was pulled in via some dependency before.

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
2024-02-07 22:41:29 +01:00
Bart Ribbers
faf91a17cc
main/postmarketos-base-ui-plasma: explicitly depend on -openrc subpackages and remove tinydm-set-session (MR 4802) 2024-02-07 22:39:57 +01:00
Oliver Smith
1547999e8f
main/postmarketos-ondev: remove (MR 4801)
Remove it, as we don't build images with this anymore. A new package
will be added for ondev2 when it is ready.

Related: https://postmarketos.org/blog/2023/12/18/v23.12-release/#notable-changes
         "Installation images have been removed."
2024-02-07 09:16:00 +00:00
Bart Ribbers
268b30a555
postmarketos-base-ui-plasma: install flatpak support by default (MR 4798) 2024-02-06 16:45:15 -08:00
Bart Ribbers
45535ce780
pmos-ui-plasma-{bigscreen,desktop,mobile}: refactor to use a common base package (MR 4798)
Inspired by postmarketos-base-ui-gnome and https://gitlab.com/postmarketOS/pmaports/-/merge_requests/4756
2024-02-06 16:45:14 -08:00
Clayton Craft
dc235b39a0
pmos-ui-gnome: add some useful pkgs to pmb_recmds (MR 4756) 2024-02-06 16:05:57 -08:00
Clayton Craft
cc5959c275
pmos-base-ui-gnome: add gnome-maps to pmb_recmds (MR 4756) 2024-02-06 16:05:56 -08:00
Clayton Craft
2b928cfc1b
pmos-base-ui-gnome: add flatpak to pmb_recommends (MR 4756) 2024-02-06 16:05:56 -08:00
Clayton Craft
75c679e139
pmos-base-ui: add flatpak subpkg to configure default repo (MR 4756) 2024-02-06 16:05:56 -08:00
Clayton Craft
d680f3eb09
pmos-ui-{gnome,phosh}: Move shared pmb_rcmds to pmos-base-ui-gnome (MR 4756)
These apps are useful to have on the full GNOME desktop too, and this
removes the need to duplicate package lists across UI meta packages that
depend on the base gnome UI package.
2024-02-06 16:05:56 -08:00
Clayton Craft
6191625ab9
pmos-ui-{gnome,phosh}: move kgx/gnome-console to pmb_recmds (MR 4756)
The package name has changed so the new name, gnome-console, is used
instead.
2024-02-06 16:05:56 -08:00
Clayton Craft
87e9476dbd
pmos-ui-{gnome,phosh}: move shared depends to pmos-base-ui-gnome (MR 4756) 2024-02-06 16:05:56 -08:00
Clayton Craft
d3ed7fe428
main/postmarketos-initramfs: don't fallback looking for /boot when given uuid or path (MR 4775)
fixes #2562

[ci:skip-build] already built successfully in CI
2024-02-06 14:24:35 -08:00
Clayton Craft
2adefeb206
main/postmarketos-initramfs: tweak msg when boot or root not found (4775) 2024-02-06 14:24:15 -08:00
Anton Bambura
d2dec46275
main/postmarketos-initramfs: wait for boot partition (MR 4775)
Some devices take time to initialize storage, e.g. Qualcomm laptops
using ADSP need to load firmware firstly, and initramfs script does
not always manage to mount boot partition in time.

Unfortunately, there is no reliable way to reproduce the issue, but
this patch should fix cases like this.
2024-02-06 14:21:15 -08:00
Arnav Singh
03940b180a
main/crust: remove (MR 4785)
The community/crust package in aports is newer, and
its crust-pinephone subpackage is equivalent to this one.
2024-02-06 08:45:17 -08:00
Anton Bambura
9a5f7177b1
main/asus-transformer-blobtools: remove (MR 4772)
Devices that had been using it currently require users to install
U-Boot, so this package is not used and not needed anymore
2024-01-29 11:18:48 +01:00
Henrik Grimler
43f788fa2f
main/postmarketos-base-downstream: add disable-udev-v4l subpackage (MR 4768)
Which replaces /lib/udev/rules.d/60-persistent-v4l.rules (from the
eudev package) with a symlink to /dev/null.  Around 20 devices need
this to fix a kernel panic with downstream kernel when starting udev.
Issue happens due to that camera firmware is missing and/or not loaded
properly.
2024-01-28 22:15:10 +01:00
Willow Barraco
f0a67a15e3
main/postmarketos-ui-sxmo-de-*: change maintainership (MR 4762)
[ci:skip-build]: already built successfully in CI
2024-01-26 13:47:53 +01:00
Arnav Singh
ffd803d1dd
main/postmarketos-base-ui: read USB network interface name from configfs gadget (MR 4750)
The configfs gadget can provide the actual interface name, which may not be
the default "usb0" since another gadget driver might have claimed "usb0".
This code is based on the `start_unudhcpd` function in `init_functions.sh`

[ci:skip-build] already built successfully in CI
2024-01-23 12:21:24 -08:00
Arnav Singh
2a0fab1a77
main/postmarketos-initramfs: support reading USB network UDC name from deviceinfo (MR 4750)
Before this change the script assumed that the device has only one UDC.
However it is possible for a device to have multiple UDCs, in which case
the deviceinfo is the appropriate place to specify which one should be used.
This change adds an optional deviceinfo variable `deviceinfo_usb_network_udc`
to specify the UDC that should be used.

Also, before this change the script assumed the USB network interface name is
"usb0". But other gadget drivers like `g_cdc` can claim USB interfaces
before the initramfs script gets around to creating one for USB networking,
so the interface might be "usb1" or something else. The configfs gadget itself
can provide the actual interface name, so this change makes the script
use that.
2024-01-23 12:21:24 -08:00
Pablo Correa Gómez
0a95f6ac31
main/devicepkg-dev: machine-info: remove manufacturer from HARDWARE_MODEL (MR 4551) 2024-01-22 19:32:30 +01:00
Clayton Craft
bf26469fd7
main/postmarketos-mkinitfs: add /lib/firmware to list of trigger dirs (MR 4742)
In many cases, when fw is installed in /lib/firmware, some of it ends up
in the initramfs. In those situations, mkinitfs should run so that the
initramfs gets the latest fw. This will result in mkinitfs possibly
running in cases where it doesn't matter (i.e. device has fw in
/lib/firmware but none is used in the initramfs), but I think the
trade-off is worth it.

This also breaks the triggers= line into multiple lines so that it's
easier to review/maintain. We can't prepend whitespace on these lines
since the apkbuild parser expects dirs to be separated by ":"
2024-01-19 18:51:50 +01:00
Jakob Hauser
c467b2ae99
main/postmarketos-ui-xfce4: tooltips & onboard mouse keys (MR 4708)
- Hide tooltips by workaround (opacity and font size)
- Enable mouse key buttons on onboard keyboard by default (eases
  right-clicking)
2024-01-11 08:02:30 +03:00
Jakob Hauser
f6e8a7beb9
main/postmarketos-ui-mate: make use of install option -t in APKBUILD (MR 4708) 2024-01-11 08:02:26 +03:00