Commit graph

2468 commits

Author SHA1 Message Date
Raymond Hackley
96fc8c97c5
main/postmarketos-base: prevent from getting woken up by touchkey (MR 5357)
Fixes #2951

[ci:skip-build]: already built successfully in CI
2024-07-24 17:12:55 +02:00
Caleb Connolly
672224a813
postmarketos-initramfs: probe libcomposite + make myself maintainer (MR 5328)
This won't be loaded automatically, so let's modprobe it.

Additionally, make myself maintainer to reflect CODEOWNERS

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>

[ci:skip-build] already built successfully in CI
2024-07-23 17:15:06 -07:00
Bart Ribbers
26236e94a9
main/postmarketos-ui-asteroid: add -openrc subpackage (MR 5374)
[ci:ignore-count]
2024-07-23 15:43:58 -07:00
Bart Ribbers
7a5970f6d9
main/postmarketos-ui-bananui: add -openrc subpackage (MR 5374) 2024-07-23 15:43:58 -07:00
Bart Ribbers
3e26598a1b
main/postmarketos-ui-fbkeyboard: add -openrc subpackage (MR 5374) 2024-07-23 15:43:57 -07:00
Bart Ribbers
250b96f0fa
main/postmarketos-ui-framebufferphone: add -openrc subpackage (MR 5374) 2024-07-23 15:43:57 -07:00
Bart Ribbers
5f73dcac9a
main/postmarketos-ui-gnome-mobile: add -openrc subpackage (MR 5374) 2024-07-23 15:43:57 -07:00
Bart Ribbers
31b49599c9
main/postmarketos-ui-gnome: add -openrc subpackage (MR 5374) 2024-07-23 15:43:57 -07:00
Bart Ribbers
f95a89a659
main/postmarketos-ui-i3wm: add -openrc subpackage (MR 5374) 2024-07-23 15:43:57 -07:00
Bart Ribbers
c49f61ff04
main/postmarketos-ui-kodi: add -openrc subpackage (MR 5374) 2024-07-23 15:43:57 -07:00
Bart Ribbers
32577eda60
main/postmarketos-ui-lxqt: add -openrc subpackage (MR 5374) 2024-07-23 15:43:57 -07:00
Bart Ribbers
44b6052116
main/postmarketos-ui-mate: add -openrc subpackage (MR 5374) 2024-07-23 15:43:56 -07:00
Bart Ribbers
61675345ca
main/postmarketos-ui-openbox: add -openrc subpackage (MR 5374) 2024-07-23 15:43:56 -07:00
Bart Ribbers
1ca8bdad51
main/postmarketos-ui-plasma-bigscreen: add -openrc subpackage (MR 5374) 2024-07-23 15:43:56 -07:00
Bart Ribbers
e327f9a79e
main/postmarketos-ui-shelli: add -openrc subpackage (MR 5374) 2024-07-23 15:43:56 -07:00
Bart Ribbers
2448473417
main/postmarketos-ui-sway: add -openrc subpackage (MR 5374) 2024-07-23 15:43:56 -07:00
Bart Ribbers
46065a64c4
main/postmarketos-ui-weston: add -openrc subpackage (MR 5374) 2024-07-23 15:43:56 -07:00
Bart Ribbers
d8cb2f86cf
main/postmarketos-ui-xfce4: add -openrc subpackage (MR 5374) 2024-07-23 15:43:56 -07:00
Clayton Craft
979eedc73b
main/postmarketos-ui-console: add -openrc subpackage (MR 5371)
[ci:skip-build] already built successfully in CI
2024-07-23 13:27:22 -07:00
jane400
eace38e0d7
main/postmarketos-base-ui: add -openrc subpackage (MR 5371)
Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2024-07-23 13:27:22 -07:00
Clayton Craft
1bfcd0b001
main/shutdown-clear-rtc-wakealarm: add openrc subpackage (MR 5364)
[ci:skip-build] already built successfully in CI
2024-07-23 09:54:09 -07:00
Clayton Craft
cc0f235f88
main/postmarketos-config-nftables: drop openrc subpkg (MR 5364)
The nftables service should be enabled by pmos-base instead
2024-07-23 09:53:59 -07:00
jane400
87ccb5b57c
main/postmarketos-tweaks: split -openrc subpackage (MR 5364) 2024-07-23 09:53:58 -07:00
jane400
8d3998b561
main/ttyescape: move openrc specifics into subpackage (MR 5364)
Depends on https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/69583
2024-07-23 09:53:58 -07:00
jane400
c3dfa1cdb4
main/postmarketos-base-ui: split out openrc specifics into subpackages (MR 5364)
Also renames subpackage bluez to bluez-openrc
2024-07-23 09:53:58 -07:00
jane400
dc81fbcd23
main/postmarketos-base: split openrc specifics into subpackages (MR 5364)
Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2024-07-23 09:53:58 -07:00
Arnav Singh
a5e28010e5
main/pinephone-callaudiod: upgrade to 0.1.3 (MR 5360)
[ci:skip-build]: already built successfully in CI
2024-07-19 15:24:17 +02:00
Anri Dellal
985741dd65
main/postmarketos-base-ui: rebuild to exclude font-twemoji from CLI (MR 5352)
Add postmarketos-base-ui-wayland
Move _pmb_recommends to x11 and wayland subpackages

[ci:skip-build] Was built before

Co-authored-by: jane400 <5940129-jane400@users.noreply.gitlab.com>
2024-07-17 11:44:31 -07:00
Arnav Singh
030c5c1ec1
main/pinephone-callaudiod: new aport (MR 5349)
This provides a daemon that implements the same D-Bus API as callaudiod
in aports community/callaudiod, but works with the new audio profiles
generated by PulseAudio v17 and PipeWire v1.2 for pine64-pinephone
that the aports package's daemon does not.

This daemon is specific to the pine64-pinephone since it has
a hard-coded list of profiles and ALSA devices. If other devices also happen
to have UCM settings that trigger PulseAudio / PipeWire to generate
the combinatorial audio profiles that callaudiod cannot handle, and if
a callaudiod fix / alternative does not appear, then the maintainer (me) is
open to making this daemon more broadly useful for other devices, say by
having the hard-coded strings in device-specific config files.

Ref: #2968
2024-07-16 15:54:49 -07:00
Clayton Craft
e30db78d84
main/postmarketos-ui-phosh: don't depend on phosh-service (MR 5342)
The package name is wrong now (!5315), and the service stuff is
automatically installed by systemd-service

[ci:skip-build]: already built successfully in CI
2024-07-12 10:21:31 +02:00
Clayton Craft
cbe2f4f7f6
main/postmarketos-mkinitfs: upgrade to 2.5.1 (MR 5341)
Fixes:

        - ignore leading/trailing whitespace in files (MR 55)
        - fix spelling typo in manpage
        - add missing /usr/sbin symlinks for UsrMerge (MR 53)
[ci:skip-build]: already built successfully in CI
2024-07-11 15:00:04 -07:00
jane400
aed9243c65
main/postmarketos-initramfs-minimal: backport fsck and mount sysroot rw (MR 5238) 2024-07-09 15:49:31 -07:00
jane400
59fd336bbc
main/postmarketos-initramfs: run fsck and mount sysroot as rw (MR 5238)
This moves the responsibility to auto-repair filesystems to the
initramfs. (I think we don't do this at all right now).
We don't try to mount broken partitions at all, we tell the user
that the system is broken and fail_to_boot.

The flow is now:

1. mount the boot partition (read-only) for initramfs-extra
2. initramfs-extra is extracted (with the needed fsck executables)
3. fsck the root partition
4. mount root partition (read-write)
5. fsck the boot partition
6. mount the boot partition (read-write)

This helps with the systemd bringup, as we want to make use of
systemd-firstboot, which sets /etc and enabled services up. As
this service is responsible of setting up /etc, it is run before
/etc/fstab is read and before / is remounted read-write.
2024-07-09 15:49:26 -07:00
Martijn Braam
33d35c0835
*/: Drop maintainership (MR 5302)
Tweaked-by: Oliver Smith <ollieparanoid@postmarketos.org>
2024-07-03 17:20:51 +02:00
fossdd
53455c41ac
main/postmarketos-ui-i3wm: take over maintainership (MR 5309) 2024-07-03 17:03:24 +02:00
Luca Weiss
a4153e809f
*/*: update Luca's email address (MR 5291)
[ci:ignore-count]
[ci:skip-build]
[ci:skip-vercheck]
2024-07-01 11:55:02 +02:00
Clayton Craft
fe20c109fc
main/postmarketos-bootsplash: fix kill-pbsplash systemd service (MR 5286)
This wasn't actually getting run on boot because After=graphical.target
created an ordering issue and systemd was disabling it.

I saw this ordering issue in the journal after finding that pbsplash was
still running in the background after the UI loaded, and confirmed it by
running systemd-analyze.
2024-06-27 19:17:38 +02:00
Richard Acayan
f3b649c3c0
main/postmarketos-initramfs: invalidate cached rootfs after unlock (MR 5288)
The referenced commit had surfaced a bug with the unlocking code, which
would attempt to change the output of find_root_partition while the
cached PMOS_ROOT is stale and active. Clear this variable to force
find_root_partition to find the new rootfs value.

Fixes: 7030e08e7b ("postmarketos-initramfs: check for root subpartition (MR 5048)")
[ci:skip-build]: already built successfully in CI
2024-06-27 10:49:33 -04:00
Caleb Connolly
1b19bd7367
postmarketos-initramfs: debug-shell: buffyboard (MR 5048)
Drop the console-shell hook in favour of stuffing buffyboard into the
initramfs. This makes it possible to get a debug shell directly on the
device without needing to use a computer.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
[ci:skip-build]: already built successfully in CI
2024-06-26 17:32:33 -07:00
Caleb Connolly
abca4acbe0
postmarketos-initramfs: better wait_[br]oot_partition (MR 5048)
Rework the messages and avoid re-spawning the splash on every check.
Additionally, add a call to check_keys, this lets users drop to a debug
shell or export logs to triage this failure (particularly useful for
hard-to-reproduce issues).

Finally, add a (liberal) 30 second timeout and dump logs at the end. If
we're just waiting for a device to show up and it doesn't after 30
seconds then it's probably never going to...

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-06-26 17:32:33 -07:00
Caleb Connolly
7030e08e7b
postmarketos-initramfs: check for root subpartition (MR 5048)
In mount_subpartition we currently try to look for the boot partition,
to see if we're done (either we aren't using subpartitions or we found
the right one). However it is possible that a device might have
originally used the subpartition scheme, but was later converted to have
a real boot partition (for EFI for example).

In this scenario, the boot partition would be found immediately, but the
root subpartition would not be.

Address this by making mount_subpartition check for success by calling
find_root_partition instead of find_boot_partition. For most
installations this has no impact.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-06-26 17:32:33 -07:00
Caleb Connolly
0cd613c8b0
postmarketos-initramfs: drop duplicate in initramfs-base.files (MR 5048)
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-06-26 17:32:33 -07:00
Clayton Craft
629a143de2
main/postmarketos-base-ui-gnome: auto-start apk-polkit on systemd (MR 5284)
fixes one issue reported in
https://gitlab.com/postmarketOS/pmaports/-/issues/2899

[ci:skip-build]: already built successfully in CI
2024-06-26 16:07:56 -07:00
Caleb Connolly
9c9e47b059
main/postmarketos-bootsplash: systemd support (MR 5181)
Install a kill-pbsplash systemd service which is configured to be
started as part of the graphical-session user target. Additionally
install an override so that if the display-manager service (aliases to
gdm, sddm, etc) fails to start it will still kill pbsplash.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2024-06-24 16:00:27 -07:00
methanal
28179dbb99
main/dtbtool-sprd: add dtc as a dependency as a fallback (MR 5275)
Currently, dtbtool-sprd has an argument -p which accepts the path to the
dtc binary. When it's not provided, it should use the dtc binary installed
in the system as a fallback. However, that's not the case. The following
error is reported:

Found file: test.dtb ... skip, failed to scan for 'sprd,sc-id = <' tag

...even though test.dtb has the `sprd,sc-id` property.

In order to mitigate such issues, install dtc as a dependency of the
package.
2024-06-24 15:51:29 +03:00
Oliver Smith
90786936f0
main/mobile-config-firefox: upgrade to 4.3.2 (MR 5258)
[ci:skip-build]: already built successfully in CI
2024-06-23 14:52:05 +02:00
Caleb Connolly
3ed9591e41
treewide: drop PMOS_NO_OUTPUT_REDIRECT (MR 5240)
This cmdline argument is now a no-op. Drop it everywhere and add a new
CI check to enforce this.

Adjust the deprecated "minimal" initramfs variant to use
pmos.debug-shell to enable logging instead. It doesn't /support/
dropping to a shell, so the variable takes on a different meaning. But
that's ok since it's at least more consistent.

[ci:ignore-count]
[ci:skip-vercheck]
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Tweaked-by: Oliver Smith <ollieparanoid@postmarketos.org>
[ci:skip-build]: kernel builds are very likely to go through now
2024-06-23 14:48:20 +02:00
Dylan Van Assche
dfd4a998c8
main/bootmac: upgrade to 0.5.0 (MR 5239)
[ci:skip-build]: already built successfully in CI
2024-06-20 10:07:07 -07:00
Clayton Craft
ba7b4d77da
main/boot-deploy: upgrade to 0.16.2 (MR 5255)
Changelog:

Fixes:
- Validate images/partition sizes before flashing (MR 64)

[ci:skip-build] already built successfully in CI
2024-06-20 09:50:48 -07:00
Clayton Craft
eb3c299a61
main/postmarketos-initramfs-minimal: update to 2.7.1 (MR 5251)
This updates the minimal initramfs to be at the same version that
postmarketos-initramfs was when it was split off. This should have been
done as a part of !5000.

The changelog from git:

- main/postmarketos-initramfs: fix stowaway (MR 5206)
- main/msm-fb-refresher: move cleanup from initramfs into msm-fb-refresher (MR 5191)
- main/postmarketos-mkinitfs-hook-debug-shell: Cleanup debug-shell telnet server (MR 5191)
- main/postmarketos-initramfs: Allow packages to define cleanup hooks (MR 5191)
- main/postmarketos-initramfs: update comment on why we mount /boot (MR 5089)
- main/postmarketos-initramfs: add options for charset to mount vfat /boot (MR 5089)
- main/postmarketos-initramfs: add some sane mount options to /boot (MR 5089)
- main/postmarketos-initramfs: stowaway rootfs (MR 4386)
- main/postmarketos-initramfs: add crc32_generic module for F2FS (MR 4973)
- main/postmarketos-initramfs: add USB booting support (MR 4947)
- main/postmarketos-initramfs: fix starting unudhcpd when no UDC configured (MR 4907)
- postmarketos-initramfs: bigger log image size (MR 4880)
- main/postmarketos-initramfs: allow redirect logs to pmsg device (MR 4800)
2024-06-20 00:00:27 +02:00