Commit graph

2421 commits

Author SHA1 Message Date
Vitaliy Ognev
f61fee5d41
device-powkiddy-x55: recommend powkiddy-x55-mapper (MR 4936)
[ci:skip-build]: already built successfully in CI
2024-03-23 10:34:41 +01:00
Vitaliy Ognev
367d6432dc
powkiddy-x55-mapper: new aport (MR 4936) 2024-03-23 10:34:01 +01:00
Andrea Bolognani
9200f8fe1a
devicepkg-dev: fix call to dc (MR 4959)
The current invocation doesn't work:

  $ busybox dc "100" "5" / p
  dc: can't open '100': No such file or directory

Fix it so that it does:

  $ busybox dc -e "100 5 / p"
  20

One of the messages that is printed on failure was missing
the "WARNING:" prefix. Address that too.

Signed-off-by: Andrea Bolognani <eof@kiyuko.org>
2024-03-23 11:46:12 +03:00
Anton Bambura
41d528f6b9
main/cros-keyboard-map: upgrade to 0_git20240313 (MR 4930)
[ci:skip-build]: already built successfully in CI
2024-03-21 21:38:15 +02:00
Raymond Hackley
10eb68fe05
main/postmarketos-initramfs: add USB booting support (MR 4947)
How to boot from USB drives:
1. Make sure the extcon has OTG support and included in initramfs
2. Make sure the PMIC supports the power to OTG devices, and included in initramfs. Otherwise, a hub with external power supply is required.
3. Make sure module `usb-storage` is enabled in initramfs
4. `pmbootstrap install --sdcard=/dev/<usb_drive>`
    - postmarketOS/pmbootstrap@942ee20789 is required to ignore sdcard check. Thanks @ollieparanoid for the patch.
5. `pmbootstrap flasher flash_kernel`
6. Insert the USB drive to OTG and boot

[ci:skip-build]: already built successfully in CI
2024-03-19 09:28:32 +00:00
Vitaliy Ognev
9740a785b3
postmarketos-ui-cage: new aport (MR 4934)
[ci:skip-build]: already built successfully in CI
2024-03-17 11:59:27 +01:00
Caleb Connolly
75f98f10e6
postmarketos-base-ui-gnome: depend on correct wallpapers (MR 4929)
The postmarketos-artwork-wallpapers-gnome package no longer exists. Now
we just depend on the postmarketos-artwork-wallpapers package.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-03-17 02:11:50 +00:00
Stefan Hansson
d92929d716
main/postmarketos-mkinitfs: remove CGO_ENABLED=0 (MR 4924)
See https://gitlab.alpinelinux.org/alpine/aports/-/issues/15809

[ci:skip-build]: already built successfully in CI
2024-03-16 14:44:26 +01:00
Stefan Hansson
85824bc1d3
main/postmarketos-mkinitfs: upgrade to 2.4.0 (MR 4924) 2024-03-16 14:44:26 +01:00
Bart Ribbers
72357ecfb2
main/postmarketos-artwork: upgrade to Meadow wallpaper and make Plasma-compatible (MR 4805) 2024-03-15 20:06:32 +03:00
Bart Ribbers
b666024ba9
Revert "main/postmarketos-ui-plasma-mobile: replace angelfish for firefox (MR 4917)" (MR 4921)
This reverts commit 5d39c25f4d.

Angelfish is available for armv7 again

[ci:skip-vercheck]
2024-03-14 14:39:36 +01:00
Bart Ribbers
b56bd88949
Revert "main/postmarketos-ui-plasma-mobile: remove some packages from pmb_recommends (MR 4917)" (MR 4921)
This reverts commit e42d9f7c45.

These packages are available again on armv7
2024-03-14 14:39:36 +01:00
Pablo Correa Gómez
e42d9f7c45
main/postmarketos-ui-plasma-mobile: remove some packages from pmb_recommends (MR 4917)
They're not available in some architectures like x86 and armv7

[ci:skip-vercheck]
2024-03-13 00:10:38 +00:00
Pablo Correa Gómez
5d39c25f4d
main/postmarketos-ui-plasma-mobile: replace angelfish for firefox (MR 4917)
Only temporarilly. This is in pmb_recommends, so does not need pkgver
bump. We can swap them back once it's built for armv7 in alpine, but
it's now blocking all MRs from merging.

[ci:skip-vercheck]
2024-03-13 00:10:34 +00:00
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
Stefan Hansson
85b2f83b9d
wl1251-cal: move to device (MR 4707)
This is a device-specific package. The only device that depends on
this, device-nokia-n900, is in community, so let's move it there too.

[ci:skip-build]: already built successfully in CI
2024-01-10 20:27:38 +01:00
Stefan Hansson
74565c5321
u-boot-q8-a33-tablet: move to device (MR 4707)
This is a device-specific package. No need to keep it in main where it
gets included in stable releases unnecessarily. The only device that
depends on this, device-inet-a33, is in testing, so let's move it there
too.
2024-01-10 20:27:27 +01:00
Jakob Hauser
753b12a793
main/postmarketos-ui-lxqt: new set of improvements (MR 4623)
Dependencies:
- Add dependency "xfce4-screensaver" to provide virtual keyboard at screen
  unlock. As a dependency because several settings need to be implemented to
  integrate it well in LXQt.
- Add dependency "setxkbmap" to make keyboard layout settings work
- Add dependency "upower" to make battery icon in panel work

Recommends:
- Add recommend "pulseaudio" to make sound work
- Add recommend "adwaita-icon-theme" because that's used by xfce4-screensaver
- Remove recommend "pavucontrol" because there is already "pavucontrol-qt"

Sources:
- Add autostart desktop file for xfce4-screensaver
- Add autostart desktop file to override lxqt-xscreensaver-autostart
- Modify autostart desktop file for onboard, a startup delay mitigates
  an issue with the onboard panel icon not showing up at the first boot
- Modify lxqt-tablet.sh to include custom XDG_DATA_DIRS
- Add application desktop file to override xfce4-screensaver-preferences,
  adding it to the menu
- Add application desktop file to override xscreensaver-settings, removing it
  from the menu
- Change install location of "lxqt-tablet" repository configs from
  /etc/skel/.config to /etc/xdg/lxqt-tablet. That way they are handled as
  distribution-specific configs and are separated from the user configs in
  ~/.config.
- Upgrade to version 0.3 of "lxqt-tablet" repository:
  - Change theme to "Dark" to fix panel look
  - Increase panel size
  - Change wallpaper mode to "zoom" to avoid deforming the picture
  - Disable global single click to not interfere with PCManFM
  - Add terminal and file manager launchers to panel
  - Rename openbox xml file to apply the configs
  - Set lock command to xfce4-screensaver
  - Add xfconf files to configure xfce4-screensaver
  - Clean up configs by removing default values

[ci:skip-build]: Already built successfully in CI.
2024-01-10 16:45:57 +01:00
Jakob Hauser
540c678ad2
main/postmarketos-ui-lxqt: sort recommends and sources alphabetically (MR 4623) 2024-01-10 16:45:55 +01:00
Jakob Hauser
9b15060d54
main/postmarketos-ui-lxqt: enable on riscv64 (MR 4623)
It was disabled because Alpine riscv64 builder was behind. But now it's
fine again.
2024-01-10 16:45:55 +01:00
Caleb Connolly
57744b984e
postmarketos-initramfs: export logs on boot failure (MR 4646)
Currently, when postmarketOS fails to boot up, retrieving any
information necessary to root cause the issue is non-trivial, requiring
building a custom initramfs with debug-shell enabled and then manually
copying out data.

Let's improve the situation by exporting logs automatically on boot
failure. This is safer than just exposing a root shell but still
provides a whole lot of useful info that should make duplicating and
triaging issues much easier for developers.

This commit implements the functionality and includes some generally
useful data. We then generate a README and expose files for each command/log
as well as an archive that can be easily attached to a GitLab issue.

To help with triaging, also record the version of the postmarketos-initramfs
package and hash the init.sh and init_functions.sh files.

For testing purposes, you can trigger the log recovery mode on-time by
creating an empty file named ".pmos_export_logs" in the /boot partition.

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
2024-01-05 17:29:45 +00:00
Caleb Connolly
241ade087f
postmarketos-initramfs: always save logs (MR 4646)
Always write logs to the ramdisk, adjust setup_log() to spawn "tail" to
pipe the log to the console device when PMOS_NO_OUTPUT_REDIRECT is set.

This is necessary to ensure that the initramfs logs can be extracted on
a failed boot.

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
2024-01-05 16:36:18 +00:00
hexaheximal
e0ecc07790
main/postmarketos-ui-openbox: new aport (MR 4667)
[ci:skip-build]: already built successfully in CI
2024-01-01 11:59:26 +00:00
M0Rf30
325626bccb
main/lk2nd-msm8953: upgrade to 0.3.6 (MR 4670)
[ci:skip-build]: already built successfully in CI
2023-12-31 14:44:35 +01:00
Willow Barraco
3695e5b98f
main/postmarketos-ui-sxmo-de-*: Fix sxmo-setpermissions does not exists (MR 4659)
This daemons has been dropped, but this service management line
remained.

[ci:skip-build] already built successfully in CI
2023-12-29 09:44:42 -08:00
Pablo Correa Gómez
b8cdb84ba7
main/postmarketos-base: enable tmpfs on boot instead of default runlevel (MR 4655)
This was enabled in the "default" runlevel during upgrades, which is an
error, since it depends on bootmisc, which is in "boot" runlevel

Fixes #2473

[ci:skip-build]: Already built successfully in CI.
2023-12-25 08:53:58 -05:00
Clayton Craft
e9ccc5ae23
main/systemd-boot: upgrade to 255 (MR 4651)
- Dropped patch that was merged upstream
- Rebased other patches

[ci:skip-build]: Already built successfully in CI.
2023-12-24 21:20:17 -05:00
Pablo Correa Gómez
1229616e21
main/postmarketos-base: add service to mount /tmp as tmpfs (MR 4588)
And enable it by default, since it's a sensible thing to do.

This makes the bootmisc config file unnecessary, since it was only
used before to make sure that /tmp was wiped on every boot.

Mounting /tmp as a tmpfs will be skipped if:
* The user or maintainer configured deviceinfo_tmp_as_tmpfs_size=0
* If they didn't but the device has less than 2GB of RAM
* And in any case, if it is already mounted, to respect users that
  might have it in /etc/fstab

The options for mounting /tmp has been copied from my local debian
tmp.mount service. The only real difference is that we are mounting it
after /etc/fstab, and they do so before.

Fixes #2233
2023-12-21 17:38:45 +01:00
knuxify
be110154ba
main/postmarketos-ui-xfce4: add xfce4-notifyd to _pmb_recommends (MR 4638)
Notification daemon; provides nice HUD for volume control and allows
Blueman to normally send notifications instead of opening separate
windows (which can get very annoying for frequently-reconnecting
devices).
2023-12-19 21:21:21 -08:00
Johannes Marbach
d11ae5b790
main/unl0kr: upgrade to 2.0.3 (MR 4647) 2023-12-19 21:36:13 +01:00
Pablo Correa Gómez
7e22978251
main/postmarketos-ui-phosh: add xdg-desktop-portal-wlr (MR 4334)
Since it's the recommended for the screencast feature
https://gitlab.gnome.org/World/Phosh/phosh/-/merge_requests/1301

[ci:skip-build]: Already built successfully in CI.
2023-12-18 11:18:52 -05:00
Oliver Smith
0aa9524204
main/unl0kr: add workaround to fix fast typing bug (MR 4642)
[ci:skip-build]: already built successfully in CI
2023-12-17 17:04:19 +01:00
Pablo Correa Gómez
b2e75201b4
main/postmarketos-ui-gnome-mobile: add tracker-miners dependency (MR 4636)
This is the substitute of gnome-online-miners removed in
bff508cdae

[ci:skip-build]: already built successfully in CI
2023-12-17 16:43:29 +01:00
Caleb Connolly
7efcec020d
postmarketos-base: disable openrc syslog service (MR 4617)
Ensure that we don't have two logging daemons running!

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
2023-12-15 23:15:55 +00:00
Jaymz 665
bff508cdae
main/postmarketos-ui-gnome-mobile: remove gnome-online-miners dependency (MR 4633)
Remove the dependency, as the package has been removed in Alpine.

Related: df5700e686
2023-12-15 19:15:46 +01:00
Pablo Correa Gómez
1844030880
main/postmarketos-base-ui: reduce appealing of iwd wifi backend (MR4629)
We probably shouldn't recommend it when #2440 can happen to devices in
community.

[ci:skip-build] already built successfully in CI
2023-12-13 10:24:19 -08:00
Jakob Hauser
d859c9c908
main/postmarketos-ui-xfce4: whiskermenu, tooltips, onboard mouse keys (MR 4560)
There are three changes from the config source "xfce4-phone":
- Move whiskermenu settings to xfconf (required by an upstream change)
- Hide tooltips by workaround (opacity and font size)
- Increase double-click distance tolerance

And one change in postmarketOS files:
- Enable mouse key buttons on onboard keyboard by default (eases
  right-clicking)

[ci:skip-build]: Already built successfully in CI.
2023-12-13 14:18:58 +01:00
Oliver Smith
1a5e394074
main/postmarketos-release-upgrade: upgrade to 1.6.1 (MR 4616)
[ci:skip-build]: already built successfully in CI
2023-12-10 22:34:00 +01:00
Pablo Correa Gómez
f8f7228621
main/postmarketos-artwork: upgrade and install GNOME XMLs (MR 4614)
This allows GNOME Settings to display our wallpapers. And most
remarkably, it allows people to switch back to the original wallpaper
if they ever happen to change it.

[ci:skip-build]: already built successfully in CI
2023-12-10 15:14:40 +01:00
Pablo Correa Gómez
c49ac1cc80
main/postmarketos-artwork: set buildddir (MR 4614)
This allows to build the package locally with pmbootstrap build --src

And is less repetition
2023-12-10 15:14:35 +01:00
Clayton Craft
aaaf815dc4
main/wcnss-wlan: change openrc service to start before "wlan" (MR 4564)
[ci:skip-build] # already built in CI
2023-12-09 21:30:35 +00:00
Clayton Craft
7e55caa84c
main/postmarketos-base: change initcalls service to start before "wlan" (MR 4564) 2023-12-09 13:23:15 -08:00
Clayton Craft
ba87ea6313
main/hisi-wlan: change openrc service to start before "wlan" (MR 4564) 2023-12-09 13:22:44 -08:00
Clayton Craft
be7e85bb0e
main/postmarketos-base-ui: Allow selecting WiFi backend (MR 4564)
With this change, users who build pmOS will be able to select a WiFi
backend (wpa_supplicant or iwd)

Also see: https://gitlab.com/postmarketOS/pmaports/-/issues/1379
2023-12-09 13:22:44 -08:00
Caleb Connolly
128f2b150b
main/postmarketos-base: enable logbookd on upgrade (MR 4549)
Logging is important, we want our users to have logging, so make sure we
enable the new logbookd service on existing installation.

We check that we're upgrading from a postmarketos-base version that
predates logbookd and only enable the service in this case. This way we
won't enable it again for folks who disabled it manually.

Signed-off-by: Caleb Connolly <caleb@connolly.tech>

[ci:skip-vercheck]
2023-12-09 01:05:54 -08:00
Martijn Braam
3460ae18d4
main/postmarketos-base: depend on logbookd (MR 4549)
Use logbookd to replace the busybox in-memory logger. The default
configuration of logbookd still logs in-memory but writes out the log on
shutdown or manual trigger.

The logread command is also replaced by a drop-in replacement for the
busybox tool.
2023-12-08 22:57:47 -08:00
Oliver Smith
ee7acf9714
main/postmarketos-ui-sxmo*: upgrade to 1.15.0 (MR 4605)
Adjust to sxmo-utils 1.15.0 not having a sxmo-utils-openrc subpackage
anymore.

Temporarily disable it for riscv64 since the alpine edge builder is
currently stuck. We should still merge the patch to unblock bpo images
for edge for the other arches.

Related: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/56851
Related: https://lists.sr.ht/~mil/sxmo-announce/%3CCXIQYCSF6FI9.28OPMYXGT91GL%40willowbarraco.fr%3E
2023-12-08 17:57:36 +01:00
Clayton Craft
dbd23fb13a
main/postmarketos-base: enable zram-init service on upgrade (MR 4598)
The post-upgrade script in pmos-base isn't symlinked to the post-install
script, so zram-init wasn't being enabled on systems that upgraded to
the pmos-base version that intro'd this feature. I think this should
have been enabled by default on upgraded systems. There's a deviceinfo
toggle for it, so users who won't want to use this can set that var to
disable it, in that case having the service enabled is basically a
no-op.

Update by Oliver: add a comment to mention the deviceinfo variable

[ci:skip-build]: already built successfully in CI
2023-12-07 20:37:56 +01:00
Pablo Correa Gómez
18e44a52ab
main/devicepkg-dev: remove deviceinfo link in kernel subpackages (MR 4596)
This was a fallout from the /usr/share relocation, only found and
reported now by z3ntu. If the device package happened to be installed
later, then the link would point to the wrong location.

Fixes 1d748a93dd
2023-12-07 09:02:58 +01:00
Oliver Smith
97a6609aae
main/postmarketos-ui-plasma-bigscreen: remove ovos (MR 4603)
Upstream Plasma Bigscreen stopped supporting it.

[ci:skip-build]: already built successfully in CI
2023-12-07 08:10:09 +01:00
Oliver Smith
cd763b2cb1
main/postmarketos-release-upgrade: upgrade to 1.6.0 (MR 4592)
[ci:skip-build]: already built successfully in CI
2023-12-05 09:37:56 +01:00
André Apitzsch
8c934b9f74
main/hwtest: add missing dependency (MR 4591)
hwtest crashes if fftest is not provided.

[ci:skip-build]: already built successfully in CI
2023-12-03 15:12:58 +01:00
Sicelo A. Mhlongo
d4a73356c8
main/hwtest: upgrade to 0.7.0 (MR 4582)
[ci:skip-build] already built successfully in CI
2023-12-02 01:00:33 -08:00
Clayton Craft
bfa873343a
main/postmarketos-base-ui: setup cgroups on boot (MR 4585)
Allows things like podman/docker to work out of the box.

I looked at /etc/init.d/cgroups, and having this service enabled isn't a
problem if the kernel doesn't have cgroup support... in that situation,
the service script just simply exits (success).

[ci:skip-build] already built successfully in CI
2023-12-01 10:24:28 -08:00
Oliver Smith
1b9f174924
main/postmarketos-ui-lxqt: disable for riscv64 (MR 4579)
The riscv64 builder in Alpine is currently stuck, let's disable the
package for riscv64 temporarily so bpo isn't stuck on it for master. I
doubt anybody is using it on riscv64 currently.

[ci:skip-vercheck]
[ci:skip-build]: already built successfully in CI
2023-11-29 22:13:30 +01:00
Caleb Connolly
d67268bef9
main/bootrr: detect failure (MR 4542)
Properly detect failures in bootrr

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
2023-11-29 20:32:48 +01:00
Antoni Aloy Torrens
c467e17bfc
main/postmarketos-ui-lxqt: various fixes and usability improvements (MR 3259)
Co-developed-by: Jakob Hauser <jahau@rocketmail.com>
Co-developed-by: Pablo Correa Gomez <ablocorrea@hotmail.com>

[ci:skip-build]: Already built successfully in CI.
2023-11-24 14:01:07 +01:00
Bart Ribbers
bcabeb80a1
main/postmarketos-ui-plasma-mobile: remove plasma-welcome from _pmb_recommends (MR 4567)
It isn't ready for mobile yet as it refers to things that do not exist
on Plasma Mobile. We'll add it back later when it is ready

[ci:skip-vercheck]
2023-11-24 11:38:57 +01:00
Luca Weiss
2a4320e16e
main/postmarketos-mkinitfs: use NCM instead of RNDIS (MR 3670)
As described in [0] let's switch away from RNDIS and use NCM instead.

Since we cannot force all kernels to switch at the same time, let's keep
a fallback to RNDIS in the setup function.

We can also remove usb_f_rndis from modprobe as the module gets loaded
automatically when needed, but instead we need to load libcomposite
manually so that $configfs/usb_gadget gets created.

[0] https://gitlab.com/postmarketOS/pmaports/-/issues/1797

[ci:skip-build] already built successfully in CI
2023-11-20 16:33:57 -08:00
Clayton Craft
63228b7c3c
main/boot-deploy: upgrade to 0.12 (MR 4561)
upstream changelog:
https://gitlab.com/postmarketOS/boot-deploy/-/tags/0.12
2023-11-19 11:30:07 -08:00
Ion Agorria
1258df73d7
postmarketos-mkinitfs-hook-debug-shell: Add setup_usb_storage.sh (MR 4450) 2023-11-19 10:27:41 -08:00
Ion Agorria
5626781fca
main/postmarketos-initramfs: Separate code into setup_usb_configfs_udc (MR 4450)
This method is called from setup_usb_network_configfs and debug shell's
setup_usb_storage.sh
2023-11-19 10:27:41 -08:00
Clayton Craft
cc3dd7de87
postmarketos-mkinitfs: trigger on upgrades to sd-boot (MR 4525)
Since mkinitfs / boot-deploy install sd-boot in the ESP, it makes sense
to always trigger mkinitfs when sd-boot is upgraded so that we always
boot with the latest supported version.

[ci:skip-build]: already built successfully in CI
2023-11-02 08:49:27 +01:00
Clayton Craft
c9c4b492e4
main/postmarketos-initramfs: show OS version on splash screen (MR 4470)
This shows the OS version (from /etc/os-release), e.g. "edge", on the splash
screen. os-release is a tiny text file, adding it to the initramfs doesn't seem
too bad, and having this information on the splash screen can be helpful.

Note that this uses "VERSION" and not "PRETTY_NAME" from the os-release file,
since the splash already shows "postmarketOS" (and the pretty name includes
that too), it seemed redundant and took up valuable display space.

[ci:skip-build]: already built successfully in CI
2023-11-02 08:44:47 +01:00
Clayton Craft
1c56a8a0d1
main/postmarketos-base: include os-release in the initramfs (MR 4470) 2023-11-02 08:44:31 +01:00
Oliver Smith
f8f223fef0
main/postmarketos-ui-phosh: set pmOS wallpaper (MR 4527)
[ci:skip-build] already built successfully in CI
2023-11-01 16:02:41 -07:00
Oliver Smith
f231f88d4d
main/postmarketos-ui-gnome: set pmOS wallpaper (MR 4527)
Set myself as maintainer while at it, as Martijn is currently inactive.
2023-11-01 16:02:41 -07:00
Oliver Smith
fbc3f390fa
main/postmarketos-ui-gnome-mobile: set wallpaper (MR 4527)
Set the GNOME Mobile specific wallpaper in this package, now that it
isn't set in postmarketos-base-ui-gnome anymore.
2023-11-01 16:02:41 -07:00
Oliver Smith
367caeb4fc
main/postmarketos-base-ui-gnome: add wallpaper_pmos subpkg (MR 4527)
Add a subpackage that sets the pmOS wallpaper, instead of always setting
the wallpaper that was added for giving GNOME Shell on Mobile a better
contrast.
2023-11-01 16:02:36 -07:00
Caleb Connolly
614cbdc5d1
postmarketos-mkinitfs: trigger on initramfs tests (MR 4420)
Add a trigger to rebuild the initramfs when CI tests are installed.

[ci:ignore-count]
2023-10-31 20:39:55 +00:00
Caleb Connolly
c99a360a6e
unl0kr: add pmtest (MR 4420)
Add a test for CI that:
* ensures unl0kr runs for 10 seconds without crashing
* ensures that it doesn't print any errors

This sure isn't an "ideal" test, but it at least validates that the
framebuffer interface doesn't die horribly...

With a little more effort we should be able to run unl0kr and then pull
the framebuffer and check it against some known good unl0kr screenshot.

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
2023-10-31 19:54:17 +00:00
Caleb Connolly
2204c0a390
main/bootrr: new aport (MR 4420)
bootrr is a simple shell script tool for validating that a given board
has booted correctly. It checks that all expected drivers are loaded.

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
2023-10-31 19:53:22 +00:00
Caleb Connolly
69832ab121
postmarketos-initramfs: support running in CI (MR 4420)
Enable using the postmarketOS initramfs for boot-testing devices, in
this scenario we don't care about some components like the splash, mdev,
or subpartitions, instead we want to run full udev (to load all devices)
and then run hooks. The ci hook will deadloop after running tests.

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
2023-10-31 19:53:22 +00:00
Caleb Connolly
ac1d78a246
devicepkg-dev: add pmtest helper (MR 4420)
Add a helper to generate a post-install script for device pmtest
subpackages. This script configures the console and enables logging in
the initramfs for images running in CI.

[ci:ignore-count]
2023-10-31 19:53:22 +00:00
Caleb Connolly
161711dea3
main/postmarketos-test: new aport (MR 4420)
This package provides a helper for writing a pmtest subpackage, as well
as being a place to write generic tests that aren't specific to a device
(e.g. a suspend test).

Signed-off-by: Caleb Connolly <caleb@connolly.tech>

[ci:ignore-count]
2023-10-31 19:53:22 +00:00
Caleb Connolly
e22f6f684f
postmarketos-mkinitfs-hook-ci: new aport (MR 4420)
Add a new initramfs hook for running tests in a CI environment.

This hook automatically runs any scripts from /usr/libexec/ci-tests.
Tests should be installed as a subpackage of some other package (e.g.
qrtr) with an install_if clause to install them when this hook is
installed.

This allows platform specific packages like device packages to define
tests that will automatically be installed and executed when building
the initramfs for that device. See
device/community/device-oneplus-enchilada for an example.

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
2023-10-31 19:53:21 +00:00
Clayton Craft
c748048ef3
main/systemd-boot: add patch to load dtb even if fw is missing config (MR 4509)
Submitted upstream: https://github.com/systemd/systemd/pull/29749

[ci:skip-build] already built successfully in CI
2023-10-28 12:32:56 -07:00
Caleb Connolly
78762563c2
postmarketos-initramfs: use blkid (MR 4487)
Explicitly pull in the blkid package (we already added it to
00-initramfs-base.files), and replace uses of busybox findfs. Full fat
blkid supports PARTLABEL (so the /dev/disk/by-partlabel symlinks will
work consistently now), and has some nice optimisations that make the
lookup times a lot faster than busybox findfs.

[ci:skip-build]: already built successfully in CI
2023-10-23 08:10:56 +02:00
Caleb Connolly
5c6f2dd0d9
postmarketos-initramfs: fix partition cmdline priority (MR 4487)
The "pmos_[br]oot(_uuid)?" kernel cmdline args can be used to specify
how to mount the root and boot partitions. During a previous rework, the
behaviour of these was made inconsistent (becoming dependent on the
order they were specified on the cmdline).

Undo the previous "optimisation" by splitting them back out into two
FOR loops, where the _uuid variants take precedence.
2023-10-23 08:10:50 +02:00
Henrik Grimler
c2175703fe
main/postmarketos-base-downstream: add package (MR 4497)
All devices that use downstream kernels should depend on this package.
We will to start with use it to fix so that lightdm+x11 work again
when using downstream kernels.

See also https://gitlab.com/postmarketOS/pmaports/-/issues/2102.
2023-10-21 14:43:12 +02:00
Clayton Craft
ef663840c4
main/postmarketos-mkinitfs: upgrade to 2.2.2 (MR 4475)
The only new thing in this version is the addition of a deprecation warning
when osk-sdl is installed in the initramfs.

Also see: https://gitlab.com/postmarketOS/pmaports/-/issues/2319
[ci:skip-build]: already built successfully in CI
2023-10-18 17:51:59 +02:00
Clayton Craft
4a8b89e750
main/boot-deploy: upgrade to 0.11 (MR 4485)
Upstream changelog: https://gitlab.com/postmarketOS/boot-deploy/-/tags/0.11
2023-10-18 17:46:15 +02:00
Pablo Correa Gómez
bdaf8ef02f
main/postmarketos-initramfs: support comments in modules.load file (MR 4490)
[ci:skip-build]: already built successfully in CI
2023-10-18 15:08:21 +00:00
Clayton Craft
72bd769dcb
main/systemd-boot: new aport (MR 4484)
EFI bootloader from systemd, with hacks to build it on Alpine/pmOS.
Cross compilation (using a meson cross file) is used for building
32-bit version on x86_64, for systems that have a 32-bit EFI. Everything
else assumes that the EFI arch matches the CPU arch.

Besides supporting all the archs we need, another major goal was to
minimize the number of changes to systemd's build system required to
build only the bootloader, so that maintaining/rebasing isn't *too*
painful...

I am adding this to the "main" category, because I don't think there's a
way to add it to Alpine. It requires cross compiling to x86 on x86_64
(to support 32-bit EFI on this arch), and Alpine doesn't support this.
It requires stuff in pmaports/cross.

--- Research notes ---

I started looking at all of this because I wanted to come up with a
single way to boot Linux via EFI, that supports all (or as many as possible)
devices in pmaports. I looked at quite a few different options, and have
some notes below about my observations and conclusions for each.

Of everything I looked at, systemd-boot was the clear winner that met
the most requirements ("pro" below) with the fewest downsides ("con"
below).

Using a Unified Kernel Image (UKI) was a close second place, however
systemd-boot can also support booting UKI images quite easily (while
also giving us more flexibility to boot other things easily too), so I
think it wins over UKI.

The capitalization (or lack thereof) of the "pro" and "con" markers
below is significant: "PRO" / "CON" are major pros or cons for each
point (e.g. a major downside that blocks using the option), and
"pro"/"con" are minor (e.g. a downside that I'm willing to overlook.)

---- Requirements ----

- Arch support:
        - x86_64
        - x86 (nice to have, but not sure if necessary...)
        - armv7
        - aarch64
        - riscv64
- EFI support:
        - support 32-bit EFI on x86_64 CPU (includes being able to build
          32-bit .efi app on x86_64)
- Easy to configure
- Easy to maintain
        - Any changes to the bootloader required to get it working in
          pmOS
        - Config for it

---- Evaluated options ----

------ grub ------
   - (PRO) can target all required archs
   - (CON) grub can't be installed in pmb chroot, it calls grub-install and
     that fails due to something missing in /dev. Maybe this could be worked
     around in pmb?
   - (CON) grub-mkimage exe is integrated in grub package, grub-efi depends on
     grub
      - don't want to install all of grub just for 1 exe and/or the EFI modules
      - downsides of installing all of grub is that I think it can mislead
        users into thinking we use grub the "normal way". this might cause them
        to have the wrong expectations and break pmOS boot on their
        system
      - have POC "fixing" this
      - I'm not sure upstream Alpine will like this, it's ugly
   - (CON) grub x86 EFI support for x86_64 is currently in pmaports, that's
     pretty ugly.
      - IMHO forking grub (or grub components) for this purpose signals
        to me that grub is the wrong tool for this job

------- kernel's efistub -------
   - (PRO) already included in the kernel, nothing else required
   - (pro) initrd and dtb can be passed in the kernel cmdline...
     however....
   - (CON) kernel cmdline can only be set at compile time
   - (con) not all kernels may have EFISTUB set?
   - (con) can't do measured/secure boot
   - (con) requires a fairly recent kernel on aarch w/ efi_zboot support
     enabled since we compress the kernel

------- UKI -------
   - (PRO) very simple, 1 file thing
   - (PRO) supports adding dtb, setting kernel cmdline and so on
   - (pro) can do measured/secure boot
   - (CON) requires an EFI stub loader
      - can't find a stub loader that meets all requirements (other than
        the one from systemd-boot...)
   - (con) requires efi-mkuki or dealing with objcopy directly (eww)
   - (con) requires a fairly recent kernel on aarch w/ efi_zboot support

------- limine -------
   - (PRO) easy to install/configure, already have boot-deploy and pmaports
     patches
   - (PRO) can be cross compiled easily
      - evidence is in aports
      - ...but I couldn't reproduce building aarch64 and riscv64 on x86_64
   - (pro) can do measured/secure boot (I think?)
   - (CON) doesn't target all required archs
      - can't do "linux boot" on aarch64, only "chainload"
      - what about using chainload everywhere?
         - requires using efistub in kernel
         - what about dtb= and upstream recommendation to not use it except for
           debug?
         - no kernel compression support on aarch64
         - see efi-stub.txt kernel doc
   - (CON) vendors libgcc to support cross compilation
      - probably not a good idea to trust binaries produced in microsoft
        github's CI for some random project

------- stubbyboot -------
   - (PRO) a straight forward stub loader
   - (pro) can do measured/secure boot
   - (CON) doesn't target all required archs
   - (CON) cross compiling doesn't work.
      - gcc can't do 32-bit on x86_64 Alpine...
      - gnu-efi-dev needs to be fixed to package both 32-bit and 64-bit on x86_64...
         - have patch in ~/src/aports that kinda does it.. but needs to be
           fixed/finished
      - maybe limine-efi works with it?
         - tried, but fails due to missing efilib.h in limine-efi

------- systemd-stub -------
   - (PRO) another straight forward stub loader
   - (PRO) many (many) people using it, as part of systemd-boot
   - (pro) can do measured/secure boot
   - (con) requires a fairly recent kernel on aarch w/ efi_zboot support
     enabled since we compress the kernel
   - (con) doesn't target all required archs
      - but does claim to support most... missing armv7.. maybe it
        works?
   - (con) will end up maintaining some downstream patch to build it
      - hopefully the patch (if I can even make a working one!) is not too
        complex!
   - (CON) can't be built outside of systemd's silly large build system.
      - UPDATE: largely resolved this in pmaports
      - was able to build for native arch!
      - can't build 32-bit on x86_64, no gcc multilib support in Alpine...
        Couldn't get clang to work properly, but maybe it can somehow...
      - https://github.com/mintsuki/libgcc-binaries ? NO! (don't want
        bootloader binaries that depend on code compiled by microsoft /
        github...)

------- DIY stub / bootloader -----
   - (PRO) **might** target all required archs and other meet
     requirements
   - (CON) lots of time required to learn, design, do, debug, test
   - (CON) lots of time required to learn, design, do, debug, test
   - (CON) lots of time required to learn, design, do, debug, test
   - (CON) (get the hint yet???)
   - (CON) written in C, probably (there's a rust EFI lib, lol...)

[ci:skip-build]: Already built successfully in CI
2023-10-16 12:16:41 +02:00
Affe Null
82b139a63c
main/postmarketos-ui-bananui: new aport (MR 4457)
[ci:skip-build]: already built successfully in CI
2023-10-09 18:19:59 +02:00
Oliver Smith
e179ba59ea
main/postmarketos-ondev: upgrade to 0.8.2 (MR 4455)
[ci:skip-build]: already built successfully in CI
2023-10-09 06:42:04 +02:00
Johannes Marbach
1329e4b634
main/unl0kr: upgrade to 2.0.2 (MR 4458)
[ci:skip-build]: already built successfully in CI
2023-10-09 06:25:47 +02:00
Pablo Correa Gómez
655c94f945
main/postmarketos-ui-plasma-bigscreen: follow breeze-icons rename (MR 4462)
Ref https://git.alpinelinux.org/aports/commit/?id=ae2de9e4574314489950d8cfb7197e0157fa112b
2023-10-08 18:16:47 +02:00
Stefan Hansson
94f2b68c80
main/msm-firmware-loader: upgrade to 1.3.0 (MR 4448)
[ci:skip-build]: already built successfully in CI
2023-10-04 20:49:05 +02:00
Johannes Marbach
828aac0e8b
postmarketos-fde-unlocker: make unl0kr the default (MR 3279)
Fixes: #1411
[ci:skip-build]: already built successfully in CI
2023-10-03 21:07:35 +02:00
Johannes Marbach
953e74646c
main/unl0kr: upgrade to 2.0.1 (MR 4439)
[ci:skip-build] already built successfully in CI
2023-10-01 21:53:34 -07:00
Luca Weiss
27be25f327
main/lk2nd: add subpackage for quirky htc-memul (MR 4244)
htc-memul needs a special build with a different scratch address set. So
generalize the build function so we can make multiple builds with
parameters without duplicating too much code.
2023-09-29 13:55:32 -07:00
Luca Weiss
025cb223f8
main/lk2nd: upgrade to 0.15.0 (MR 4423)
[ci:skip-build] already built successfully in CI
2023-09-29 10:32:37 -07:00
Joel Selvaraj
d00425c263
main/bootmac: update to 0.2.1 and add bluez-btmgmt dependency (MR 4416)
The bootmac script uses the btmgmt command provided by "bluez-btmgmt"
package. So add it as a dependency.

The 0.2.1 update contains fix for https://gitlab.com/postmarketOS/bootmac/-/issues/3
2023-09-27 07:58:21 +02:00
Oliver Smith
d757a36882
main/postmarketos-mkinitfs: fix trigger script (MR 4422)
Adjust the trigger script to only check for the new deviceinfo path. The
purpose of this check is to make sure that a full device package is
installed, and only in that case run mkinitfs. Otherwise, it will fail
because e.g. no kernels may be installed.

With recent changes, /etc/deviceinfo is a part of devicepkg-utils and
only /usr/share/deviceinfo/deviceinfo really indicates that a device
package is installed.

Remove the "exit 0" at the end while at it, it did not do anything since
the script runs with "/bin/sh -e". Add a comment to make this clear.

[ci:skip-build]: already built successfully in CI
2023-09-26 08:31:00 +02:00
Pablo Correa Gómez
7b2208d292
main/postmarketos-mkinitfs: add trigger on deviceinfo directory (MR 4283)
Fixes #2228

In addition, depend on the first boot-deploy that implemented support
for deviceinfo in /usr/share
2023-09-25 09:20:33 +02:00
Pablo Correa Gómez
34e2a3ddad
main/postmarketos-initramfs: add new deviceinfo path to initramfs (MR 4283)
Reorder alphabetically while in the process, and depend on the first
mkinitfs and devicepkg-utils that implemented deviceinfo in /usr/share
2023-09-25 09:20:32 +02:00
Pablo Correa Gómez
c5d147be99
main/postmarketos-base: adapt to new deviceinfo path (MR 4283)
This greatly simplifies the trigger, since now we can monitor a
directory.

In addition, depend on the latest devicepkg-utils
2023-09-25 09:20:32 +02:00
Pablo Correa Gómez
0b8814d156
main/devicepkg-utils: install default /etc/deviceinfo (MR 4283)
Previously, every device package would package its own /etc/deviceinfo
file, generating a conflict with every other device package. In a
previous commit we have moved the path to /usr/share/deviceinfo, but
we still want to install a sample "/etc/deviceinfo" file to guide
users on how to use the new features. This has the additional benefit
that there is only one of those files in the whole distro. However,
there is no dependency ordering between the device packages and
devicepkg-utils, so there's no warranty of which will be installed
first. Therefore, to avoid a conflict on most likely every user
upgrade, we use postmarketos-mvcfg.
2023-09-25 09:20:32 +02:00
Pablo Correa Gómez
531dc8123d
main/devicepkg-utils: adapt to new deviceinfo path (MR 4283) 2023-09-25 09:20:32 +02:00
Pablo Correa Gómez
1d748a93dd
main/devicepkg-dev: install deviceinfo under /usr/share/deviceinfo (MR 4283)
In the process, add some tests and do some renaming on the existing ones, and
remove the workaround for #2228, will be solved appropriately in a follow-up
commit.

Fixes #1836
2023-09-25 09:20:32 +02:00