Commit graph

8196 commits

Author SHA1 Message Date
Svyatoslav Ryhel
3e4816e2bd
linux-postmarketos-grate: upgrade to 6.6.9 (MR 4683)
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
2024-01-05 21:04:19 +01:00
Arnav Singh
6c0391deb4
linux-postmarketos-allwinner: update checksum due to upstream changes (MR 4684)
Codeberg tarballs changed checksums. The content is the same as before.

Ref: https://codeberg.org/Codeberg/Community/issues/1366

[ci:skip-vercheck]
[ci:skip-build]: already built successfully in CI
2024-01-05 21:01:28 +01:00
Stefan Hansson
fe4254f697
temp/logbookd: remove (MR 4685)
The riscv64 builder in Alpine has now caught up and logbookd is
available there for all architectures.
2024-01-05 20:57:19 +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
Alexey Minnekhanov
190860eb5f
xiaomi-lavender: move downstream port to unmaintained (MR 4676)
In preparation of new sdm660-mainline kernel release all
downstream ports will become irrelevant.

If needed, downstream port can still be chosen as
'xiaomi-lavender-downstream' during pmbootstrap init.

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
[ci:skip-build]: already built successfully in CI
2024-01-04 02:39:11 +01:00
M0Rf30
22c3cd1e69
linux-postmarketos-qcom-msm8953: upgrade to 6.6.8-r0 (MR 4671)
[ci:skip-build]: already built successfully in CI
2024-01-03 22:10:47 +01:00
M0Rf30
856aa1af6d
soc-qcom-msm8953: update ucm configurations (MR 4669)
- fix jack control

[ci:skip-build]: already built successfully in CI
2024-01-03 22:08:37 +01:00
Anton Bambura
f774a11e24
temp/xf86-video-opentegra: add a comment about removal (MR 4679)
[ci:skip-vercheck]: Changes don't affect the resulting package
[ci:skip-build]: Changes don't affect the resulting package
2024-01-03 21:23:37 +01:00
Anton Bambura
36c450994a
temp/libvdpau-tegra: add a comment about removal (MR 4679) 2024-01-03 21:23:35 +01:00
Anton Bambura
71b23d8d95
samsung-p4wifi: move libvdpau-tegra to x11 subpackage (MR 4680)
It depends on some x11 libraries, so it pulls x11 when we don't need
it. Also, vdpau is a xorg thing which is not likely to work on wayland.
2024-01-02 23:31:54 +03:00
Anton Bambura
9d01f154ae
samsung-i927: move libvdpau-tegra to x11 subpackage (MR 4680)
It depends on some x11 libraries, so it pulls x11 when we don't need
it. Also, vdpau is a xorg thing which is not likely to work on wayland.
2024-01-02 23:31:51 +03:00
Anton Bambura
c332d82f77
ouya-ouya: move libvdpau-tegra to x11 subpackage (MR 4680)
It depends on some x11 libraries, so it pulls x11 when we don't need
it. Also, vdpau is a xorg thing which is not likely to work on wayland.
2024-01-02 23:31:47 +03:00
Anton Bambura
6c9586a13c
microsoft-surface-rt: move libvdpau-tegra to x11 subpackage (MR 4680)
It depends on some x11 libraries, so it pulls x11 when we don't need
it. Also, vdpau is a xorg thing which is not likely to work on wayland.
2024-01-02 23:31:44 +03:00
Anton Bambura
9b0b8a4585
nvida-tegra-armv7: move libvdpau-tegra to x11 subpackage (MR 4680)
It depends on some x11 libraries, so it pulls x11 when we don't need
it. Also, vdpau is a xorg thing which is not likely to work on wayland.
2024-01-02 23:31:41 +03:00
Clayton Craft
ed3fbbfe23
device-lenovo-21bx: depend on firmware-lenovo-21bx in nonfree fw pkg (MR 4664)
[ci:skip-build] already built successfully in CI
2024-01-01 15:06:32 -08:00
Clayton Craft
7e92a0cb32
firmware-lenovo-21bx: new aport (MR 4664)
non-free firmware not (yet?) submitted to linux-firmware, this is pulled
directly from the latest versions distributed by lenovo, instead of some
probably outdated repo distributed by random folks.

The bt firmware here fixes an issue where the bt range on the 21bx is
extremely poor (like ~1 meter or less)
2024-01-01 15:06:32 -08:00
Henrik Grimler
30ad206d3e
shared-patches: merge linux3.4 #alloc&#execinstr patches (MR 4672)
linux3.4-ARM-8933-1-replace-Sun-Solaris-style-flag-on-section-xz-supplementation.patch
contains an addition that was not part of
linux3.4-ARM-8933-1-replace-Sun-Solaris-style-flag-on-section.patch
simply because error did not occur with the config I tested with.

[ci:skip-build]: already built successfully in CI
2024-01-01 15:44:22 +01:00
Oliver Smith
780a96aec1
cross/busybox-static-aarch64: upgrade to 1.36.1-r18 2024-01-01 15:16:59 +01:00
Oliver Smith
83a5b08c2d
cross/musl-*: upgrade to 1.2.4_git20230717-r5 2024-01-01 14:12:22 +01:00
Oliver Smith
62f75c65ff
cross/busybox-static: upgrade to 1.36.1-r18 2024-01-01 14:11:55 +01: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
Teemu Ikonen
60485f1d08
temp/gtk+3.0: Upgrade to 3.24.37-2pureos4, fix patches (MR 4548)
Upgrade to upstrem version 3.24.37-2pureos4.

Apply an explicit list of patches from the PureOS upstream sources.
These upstream patches were skipped in the previous version and are now
applied:

  pureos/adaptive/Add-the-view-sidebar-symbolic-icon.patch
  pureos/events-Compress-touch-update-events.patch

Remove upstreamed gdk-wayland-Track-last-touch-serial-on-seat.patch.

Add a fixed version of 'Port file chooser to phones' patch:
https://source.puri.sm/Librem5/debs/gtk/-/blob/pureos/byzantium/debian/patches/pureos/adaptive/Port-file-chooser-to-phones.patch
The original did not apply cleanly and was disabled by PureOS upstream:
f7dfd6e7b6

[ci:skip-build] already built successfully in CI
2023-12-31 15:33:24 -08:00
Svyatoslav Ryhel
1c8cb906f4
device-nvidia-tegra-armv7: move to community (MR 4641)
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>

[ci:skip-build]: Already built successfully in CI.
2023-12-31 10:10:30 -05:00
Svyatoslav Ryhel
b36b693965
linux-postmarketos-grate: move to community (MR 4641)
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
2023-12-31 10:09:47 -05:00
Anton Bambura
c4488f3c36
linux-postmarketos-grate: upgrade to 6.6.8 (MR 4668)
Probably fixes https://gitlab.com/postmarketOS/pmaports/-/issues/2486
2023-12-31 17:14:14 +03: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
Augis154
1b4262607d
xiaomi-monet: new device (MR 4612)
[ci:skip-build]: already built successfully in CI
2023-12-31 14:09:36 +01:00
Luca Weiss
f012b3b37c
linux-postmarketos-qcom-msm8974: upgrade to 6.7.0_rc5 (MR 4663)
Manual config changes:
* POWER_RESET_QCOM_PON=y
* QCOM_RPM_MASTER_STATS=y

[ci:skip-build]: Already built successfully in CI
2023-12-31 12:10:14 +01:00
hexaheximal
26cd749376
device-samsung-gta7litewifi: add msm-fb-refresher to the APKBUILD (MR 4666)
[ci:skip-build] already built successfully in CI
2023-12-29 12:04:24 -08:00
Clayton Craft
9911c9f9de
device-tablet-x{64,86}uefi: drop (MR 4554)
Moved/consolidated/refactored into "device-generic-x86_64"
2023-12-29 21:24:53 +02:00
Clayton Craft
93b904420a
device-generic-x86_64: new aport (MR 4554)
This device package is intended to replace the tablet-x*uefi device
packages. It was made by basically merging config from those two
packages.

One important change (besides the name, covered later) is that it
replaces grub-efi with sd-boot for these devices.

The pkgver is starting at '8' to get ahead of the packages this is meant
to replace.

Because package names, especially for device packages(!), is important,
here's a long explanation of why the name is "device-generic-x86_64":

"uefi" was excluded from the device package name, because it should (in
theory at least...) be able to simultaneously support EFI and non-EFI
boot in 1 device package. The device-qemu-amd64 package kiiiinda does
this already and could be a useful example for how to do that, though in
this situation we'd need to support syslinux for legacy boot instead of
what qemu does (bypass installed bootloader and directly boot the
kernel). In other words, the packages this one is meant to replace only
support EFI boot, they currently don't support legacy boot. So IF we
need to support legacy boot in the future and IF there's no way to
support both in one package, THEN we can consider changing the name of
this one or calling the other "-legacy" or something.

"x86_64" instead of "amd64" (like the device-qemu-amd64 device package),
because "x86_64" is what Alpine uses to refer to this arch, and it
doesn't have a hw vendor name baked into it.

"tablet" was dropped from the name, because there are many other x86_64 devices
out there that people might want to install pmOS. For example, it might be
confusing if you want to install pmOS on an x86_64 toaster but best
pmOS image for it is named "device-tablet-..."
2023-12-29 21:24:52 +02: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
Duje Mihanović
189186cc69
linux-samsung-coreprimevelte: upgrade to v6.7-rc7 (MR 4600)
Also add a patch to fix NCM.

[ci:skip-build] already built successfully in CI
2023-12-29 09:40:43 -08:00
Luca Weiss
e5c26d38f8
CI: add CODEOWNERS file sanity check (MR 4662)
* Check for space indentation instead of tabs
* Check that an entry actually exists
* Check that a directory ends in a slash, otherwise GitLab seems to
  ignore it
2023-12-29 15:02:10 +01:00
Luca Weiss
2cb6b5e645
CODEOWNERS: fix typos, remove non-existing entries (MR 4662) 2023-12-29 15:02:10 +01:00
Luca Weiss
c34ddc658b
CODEOWNERS: clean up formatting (MR 4662)
Make sure all directories end with a slash, replace spaces with tabs
2023-12-29 15:02:09 +01:00
Julian Groß
5406944deb
xiaomi-wt88047: Add USB vendor and product IDs (MR 4625)
[ci:skip-build]: Already built successfully in CI.
2023-12-28 15:55:31 -05:00
Caleb Connolly
4a0a5456f1
device-oneplus-fajita: fix accelerometer mount matrix (MR 4661)
It's different to the op6 with one axis inverted

[ci:skip-build]: Already built successfully in CI.
2023-12-28 15:53:02 -05:00
Newbyte
3aba6bf37a
linux-purism-librem5: upgrade to 6.6.6pureos1 (MR 4656)
[ci:skip-build] already built in CI
2023-12-26 14:45:30 +00: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
Sergey Lisov
7cf39b60c3
samsung-a6lte: update Wi-Fi firmware (MR 4652)
This replaces the outdated blobs extracted from Android vendor partitions with more recent firmware provided in the linux-firmware-brcm package.

[ci:skip-build]: Already built successfully in CI.
2023-12-24 21:22:39 -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
Duje Mihanović
c8edef78a9
CODEOWNERS: add myself and @balejk for samsung-coreprimevelte (MR 4650)
[ci:skip-build]: already built successfully in CI
2023-12-23 12:53:28 +02:00
Duje Mihanović
ae71bd1a3c
samsung-coreprimevelte: enable postmarketos-update-kernel (MR 4650) 2023-12-23 12:51:48 +02:00
Duje Mihanović
b25070234a
linux-samsung-coreprimevelte: upgrade to 6.7-rc6 (MR 4650)
Touch keys and eMMC are also enabled as part of this upgrade.
2023-12-23 12:51:48 +02:00
Lux Aliaga
c5ba3d5c2b
device-nokia-n900: Add Portugese/Spanish keymap (MR 4379)
Add the Portugese/Spanish keymap. Similarly to the Finnish/Swedish
keymap, it's compatible with both Portugese and Spanish keyboards.

Also, modify x11-keymap so that the Portugese/Spanish map will use
Alt+Shift to enter an underscore in the F key and a backslash in the C
key, which was done to avoid redundancy with the "Ñ" key.

Signed-off-by: Lux Aliaga <lux@nixgoat.me

[ci:skip-build] already built successfully in CI
2023-12-22 21:25:22 -08:00
Iuri
40b4f1eecf
samsung-logands: fix kernel build & add WIFI firmware (MR 4213)
[ci:skip-build] already built successfully in CI
2023-12-22 21:15:59 -08:00
Anton Bambura
ad31f68615
temp/xf86-video-opentegra: add bash to makedepends (MR 4649)
This fixes building

[ci:skip-build]: Already built successfully in CI.
2023-12-22 13:18:13 +01: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