Commit Graph
9377 Commits
Author SHA1 Message Date
Pablo Correa Gómez 86a3bb3908 main/postmarketos-base-ui: fix install_if in iwd/wpa_supplicant openrc (MR 5647)
The iwd and wpa_supplicant subpackages have a wifi prefix that was
overlooked.

Fixes #3216
[ci:skip-build]: already built successfully in CI
2024-09-28 13:06:04 +02:00
fossdd 87a596f786 main/postmarketos-base-ui-gnome: add default accent color (MR 5606)
GNOME 47+ supports accent colors. This commit changes the default accent
color from blue to green to match postmarketOS wallpaper and the overall
theme.

[ci:skip-build]: already built successfully in CI
2024-09-28 12:36:55 +02:00
Caleb Connolly 7f3e832574 main/postmarketos-dev: new aport (MR 5180)
This package is meant to encompass what an average developer would want
from a postmarketOS image. We plan to provide -dev variants of some
postmarketOS images for some devices for use by the Linux mobile
developer community. These should include useful tools out of the box
and provide a familiar shell and coreutils.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
[ci:skip-build]: already built successfully in CI
2024-09-28 12:29:33 +02:00
Adam Thiede ac56b171f2 linux-postmarketos-mediatek-mt8173: remove patches (MR 5601)
Patches have been removed "upstream" (aports/testing/linux-elm) for some
time now; the kernel builds with these gone and it's worth testing for a
while to see if they're really needed.

[ci:skip-build]: already built successfully in CI
2024-09-28 00:09:53 +02:00
Caleb Connolly 897dd2b832 postmarketos-initramfs: fix device mapper path on android devices with subpartitions (MR 5632)
On android devices using subpartitions, during boot we set up the
subpartitions so the rootfs is /dev/mapper/userdata2, however during
resize_root_partition() we resolve the original block device (e.g. sda17
on the op6) and re-create the device mapper. This results in the cached
rootfs path being wrong (since after resize it's created as
/dev/mapper/sda17p2).

Cache the subpartition source device so we re-create it to be
consistent. Otherwise the filesystem resize fails and the device drops
to debug shell on first boot.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-09-27 23:43:14 +02:00
Alistair Francis cd3e041ba2 Add CONFIG_UDMABUF to libcamera kconfigcheck (MR 5628)
This patch adds CONFIG_UDMABUF to the libcamera kconfigcheck.

[ci:skip-build]

Resolves: https://gitlab.com/postmarketOS/pmaports/-/issues/3155
Signed-off-by: Alistair Francis <alistair@alistair23.me>
2024-09-27 13:17:46 -07:00
Clayton Craft fcf8baf52b device-purism-librem5: create openrc subpackage (MR 5635)
[ci:skip-build]: already built successfully in CI
2024-09-27 04:22:18 -07:00
Clayton Craft d42c2fa2ba modem/samsungipcd: create openrc subpackage (MR 5635) 2024-09-27 04:22:18 -07:00
postmarketOS CI 5e10812312 linux-next: upgrade to next-20240927 2024-09-27 06:57:43 +00:00
postmarketOS CI 76ac8980dc linux-next: upgrade to next-20240926 2024-09-26 21:04:16 +00:00
Pablo Correa Gómez 2509c70a3d temp/gtk4.0: remove (MR 5622)
Fixes #2680

[ci:skip-build]: already built successfully in CI
2024-09-26 05:32:28 -07:00
Sergey Lisov 66d4b727f0 firmware-samsung-a6lte: unzstd for downstream (MR 5639)
Instead of just making symlinks to the firmware in linux-firmware-brcm,
copy and unzstd the files. The downstream driver can't load firmware
from zstd.

[ci:skip-build]: already built successfully in CI
2024-09-26 05:01:54 -07:00
Pablo Correa Gómez 15f7845d74 main/postmarketos-initramfs-minimal: don't hard-code libz path (MR 5610)
It's the work of the mkinitfs to fetch the library. This was initially
introduced in c7c2b2d02a and its use-case
is non-existent today as osk-sdl is gone. In addition, the mkinitfs
rework Clayton did some time ago correctly detects libraries needed for
binaries, exactly so we don't need to pull this in manually!

[ci:skip-build]: already built successfully in CI
2024-09-26 04:19:16 -07:00
Pablo Correa Gómez f94b2931d2 main/postmarketos-initramfs: don't hard-code libz path (MR 5610)
It's the work of the mkinitfs to fetch the library. This was initially
introduced in c7c2b2d02a and its use-case
is non-existent today as osk-sdl is gone. In addition, the mkinitfs
rework Clayton did some time ago correctly detects libraries needed for
binaries, exactly so we don't need to pull this in manually!
2024-09-26 04:19:16 -07:00
Clayton Craft 95fdc62169 device-lenovo-21bx: drop pd-mapper (MR 5399)
This is now built into the kernel, so we no longer need the userspace pd-mapper.

See https://gitlab.com/postmarketOS/pmaports/-/issues/2936

[ci:skip-build]: already built successfully in CI
2024-09-26 04:06:12 -07:00
Clayton Craft 85f745c8f9 linux-lenovo-21bx: upgrade to 6.11 (MR 5399)
- kconfig migrated
- enabled CONFIG_UDMABUF for libcamera
2024-09-26 04:06:12 -07:00
Clayton Craft 7f1cec1206 main/bootmac: depend on bluez-deprecated (MR 5634)
hciconfig is a hard dependency when the tool is configuring bluetooth addresses.

[ci:skip-build]: already built successfully in CI
2024-09-26 03:24:51 -07:00
Robert Mader 0bf40d20e0 linux-postmarketos-allwinner: restore CMA size (MR 5626)
This partly reverts the commit mentioned below. When disabling CMA
I thought that libcamera was the only user of it, which is only true
for userspace, though.
In fact CMA is used and often even required by the kernel for HW video
decoders, display engines and other hardware that might not have a
MMU.

Thus restore the previously established value.

Fixes: 196ece029 (linux-postmarketos-allwinner: enable CONFIG_UDMABUF (MR 5585))
[ci:skip-build]
2024-09-25 23:31:15 +09:00
Robert Mader fbfe596b46 linux-postmarketos-allwinner: restore CMA size (MR 5626)
This partly reverts the commit mentioned below. When disabling CMA
I thought that libcamera was the only user of it, which is only true
for userspace, though.
In fact CMA is used and often even required by the kernel for HW video
decoders, display engines and other hardware that might not have a
MMU.

Thus restore the previously established value.

Fixes: 196ece029 (linux-postmarketos-allwinner: enable CONFIG_UDMABUF (MR 5585))
2024-09-25 16:17:12 +02:00
Luca Weiss 3f779fdf93 kconfigcheck.toml: enable "ACM & MASS_STORAGE USB" gadgets for debug-shell (MR 5621)
These two gadgets are used in the initramfs, mostly for debugging
functionality, so force them on for devices.

[ci:ignore-count]
[ci:skip-build]
2024-09-25 22:45:47 +09:00
Robert Eckelmann 145426f687 linux-valve-jupiter: enable USB gadgets for debug-shell (MR 5621)
Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>
2024-09-25 21:02:03 +09:00
Robert Eckelmann 443ab26d65 linux-postmarketos-rockchip: enable USB gadgets for debug-shell (MR 5621)
Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>
2024-09-25 21:02:03 +09:00
Robert Eckelmann dc988ad2f3 linux-postmarketos-qcom-sc7280: enable USB gadgets for debug-shell (MR 5621)
Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>
2024-09-25 21:02:03 +09:00
Robert Eckelmann ccd9ea91f0 linux-postmarketos-qcom-msm8974: enable USB gadgets for debug-shell (MR 5621)
Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>
2024-09-25 21:02:03 +09:00
Robert Eckelmann 8e99c8fb0f linux-pine64-pinephonepro: enable USB gadgets for debug-shell (MR 5621)
Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>
2024-09-25 21:02:03 +09:00
Robert Eckelmann f56e60ead0 linux-lenovo-21bx: enable USB gadgets for debug-shell (MR 5621)
Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>
2024-09-25 21:02:02 +09:00
Robert Eckelmann d73f0f2946 linux-postmarketos-exynos5: enable USB gadgets for debug-shell (MR 5621)
Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>
2024-09-25 21:02:02 +09:00
Robert Eckelmann 7333a30ccc linux-postmarketos-exynos4: enable USB gadgets for debug-shell (MR 5621)
Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>
2024-09-25 21:02:02 +09:00
Robert Eckelmann 8777dad955 linux-postmarketos-grate: enable USB gadgets for debug-shell (MR 5621)
Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>
2024-09-25 21:02:02 +09:00
Luca Weiss cf0219af1d linux-postmarketos-qcom-sm6350: enable USB gadgets for debug-shell (MR 5621) 2024-09-25 21:02:02 +09:00
Luca Weiss c755175553 kconfigcheck: enable ACM & MASS_STORAGE USB gadgets for debug-shell (MR 5621)
These two gadgets are used in the initramfs, mostly for debugging
functionality, so force them on for devices.
2024-09-25 21:02:01 +09:00
Jakob Hauser 3ce1ccad4a main/postmarketos-ui-mate: fix installation of -openrc subpackage (MR 5627)
[ci:skip-build]: already built successfully in CI
2024-09-25 04:21:07 -07:00
Stephan Gerhold 1259d74b09 main/postmarketos-initramfs: mount subpartitions if root or boot is missing (MR 5625)
Commit 7030e08e7b ("postmarketos-initramfs: check for root subpartition
(MR 5048)") changed the partition check in mount_subpartitions to look for
the root partition instead of the boot partition, in order to mount
subpartitions even if the pmOS_boot partition was already found.

Unfortunately, this causes regressions for the opposite case: If we find a
root partition, but the boot partition exists only as a subpartition then
mount_subpartitions will return early, without actually making the boot
partition accessible.

This is easy to trigger if you have a different Linux distribution with an
encrypted crypto_LUKS volume installed and then flash pmOS subpartitions to
a single partition. find_root_partition() will return the crypto_LUKS
partition (without checking if it belongs to pmOS) and the boot partition
is not found.

Fix both use cases by checking for root *and* boot partition. If any of
them is not found, we try to mount the subpartitions.
2024-09-25 12:42:48 +03:00
postmarketOS CI 683be8f07e linux-next: upgrade to next-20240925 2024-09-25 07:01:24 +00:00
Robert Mader f736e1e360 temp/libcamera: upgrade to 0.3.2 (MR 5623)
Rebase our downstream patches and drop the two included in the release.

See https://gitlab.freedesktop.org/camera/libcamera/-/tags/v0.3.2 for
release notes.
[ci:skip-build]: already built successfully in CI
2024-09-24 16:20:26 +02:00
panpanpanpan 6fdd12b650 main/postmarketos-ui-gnome: remove nautilus as it is added to base-ui-gnome (MR 5617)
[ci:skip-vercheck]

[ci:skip-build]: already built successfully in CI
2024-09-24 12:07:52 +02:00
panpanpanpan 1284be802d main/postmarketos-base-ui-gnome: add nautilus as a _pmb_recommends (MR 5617) 2024-09-24 12:07:47 +02:00
panpanpanpan a8e6924507 main/postmarketos-base-ui-gnome-mobile: remove portofolio (MR 5617) 2024-09-24 12:07:47 +02:00
postmarketOS CI c14799cb15 linux-next: upgrade to next-20240923 2024-09-24 06:58:02 +00:00
Luca Weiss 31b39acf0b cross/musl-*: upgrade to 1.2.5-r3 (MR 5620)
The rest of the packages were already handled in 6a290d1c35.
2024-09-23 21:08:10 +02:00
Luca Weiss 51640b1322 cross/gcc-*: upgrade to 14.2.0-r3 (MR 5619)
The rest of the packages were already handled in 6a290d1c35.
2024-09-23 21:06:16 +02:00
Bart Ribbers 6a290d1c35 cross/gcc-*: upgrade to 14.2.0-r1 2024-09-23 20:04:54 +02:00
Stephan Gerhold c28859d2eb device-postmarketos-trailblazer: make it work on X1 Elite laptops (MR 5616)
Add more necessary initfs modules and firmware to make
device-postmarketos-trailblazer work mostly on the Qualcomm X1 Elite
laptops. Boots successfully into UI when flashed to an USB drive.

[ci:skip-build]: already built successfully in CI
2024-09-23 19:39:51 +02:00
Stephan Gerhold a1f2a5dcfd linux-next: allow loading zstd-compressed firmware (MR 5616)
Alpine switched to zstd compression for the linux-firmware packages, but
the linux-next config currently does not enable that.
2024-09-23 19:39:50 +02:00
Sicelo A. Mhlongo 07abf676aa temp/xkeyboard-config: enable Nokia N900 keyboard (MR 5613)
upstream erroneously dropped N900 configuration in xkeyboard-config 2.42. until
this is fixed upstream, fork the package. set it to build only for armv7 to
reduce any possible effect on other devices in pmos.

Closes: https://gitlab.com/postmarketOS/pmaports/-/issues/2923
[ci:skip-build]: already built successfully in CI
2024-09-23 16:09:56 +02:00
Sicelo A. Mhlongo 6ac02b55e8 device-nokia-n900: fix boot by not activating uart (MR 5613)
dropping activation of uart (ttyS2) allows N900 to boot successfully with new
pmOS initramfs.

Closes: https://gitlab.com/postmarketOS/pmaports/-/issues/2922
2024-09-23 16:09:56 +02:00
Robert Mader f46655bb48 temp/libcamera: Backport sw-ISP DMABUF sync patch (MR 5615)
Which fixes most glitches sometimes visible when using the sw-ISP with
clients that directly import the buffers to the GPU, such as Snapshot
47.

The patch will be part of the next libcamera release, which however
does not have a clear release date yet.
[ci:skip-build]: already built successfully in CI
2024-09-23 15:35:47 +02:00
fossdd e136d90a4b main/postmarketos-base: allow root to use doas without password (MR 5612)
This reproduces the same bahaviour as with sudo. And well, the user is
root anyways.

Fixes #3188
[ci:skip-build]: already built successfully in CI
2024-09-23 15:06:10 +02:00
Ferass El Hafidi 6da1435900 linux-postmarketos-amlogic: upgrade to 6.10.8 (MR 5538)
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
2024-09-22 20:47:24 +09:00
knuxify 56f8f6bf38 linux-postmarketos-exynos4: Build WM8994 MFD driver back into the kernel (MR 5618)
Viciouss noticed that audio no longer works after the recent changes
to build some things as modules, including the WM8994 driver.

Setting just the MFD bits to =y seems to fix it, so do it to fix audio.
Luckily these are pretty small and don't increase the kernel size much,
and we can still keep the actual sound driver (and thus all the sound
framework parts) compiled as modules.
[ci:skip-build]: already built successfully in CI
2024-09-22 09:51:04 +02:00