Compare commits

...
Author SHA1 Message Date
Bart Ribbers d81ea124b3 WIP: systemd-services: add tmpfiles configuration for all packages in a plasma-desktop install
As a first step towards
https://gitlab.postmarketos.org/postmarketOS/pmcr/-/blob/main/0002-hermetic-usr.md,
this packages tmpfiles.d configuration for all packages installed by
default in a Qemu amd64 plasma-desktop installation.

The end goal of this commit is to make it possible to do a `rm -r /etc`
after having copied the entirety of it to /usr/share/factory and have
it be repopulated on the next boot automatically by systemd-tmpfiles.
2025-10-07 19:05:59 +02:00
postmarketOS CI 0055341870 linux-next: upgrade to next-20251007 2025-10-07 15:49:47 +00:00
Robert Eckelmann d251d507d1 CI: correct description of docs build tools
Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7151>
2025-10-07 14:30:44 +00:00
Robert Eckelmann 0b2a826aa1 docs: fix template URI
this should fix the docs CI issue discovered in !7104

Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7151>
2025-10-07 14:30:44 +00:00
Raymond Hackley 4626b4567c samsung-fortuna: rename gpu_accelerated to drm in deviceinfo
Link: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/commit/d7b12d98e67d6eb9b5813cb9e8f15578317e490f
2025-10-07 09:34:32 +00:00
Raymond Hackley 9647ccc81b samsung-fortuna: drop deviceinfo_keyboard
This property is obsolete:
Programs should automatically detect if the device currently has
a keyboard or not (often it can be hotplugged anyway).

Link: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3145
2025-10-07 09:34:31 +00:00
Raymond Hackley e26721e74f samsung-fortuna: fix deviceinfo_dtb_fortuna3g
Closes: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/4011
Fixes: 053a486241 ("linux-postmarketos-qcom-msm8916: upgrade to 6.12.1 (MR 5847)")
Link: https://lore.kernel.org/r/20240129143147.5058-1-raymondhackley@protonmail.com
2025-10-07 09:34:17 +00:00
Jane Rachinger b43fe351da systemd/postmarketos-base-systemd: add shutdown-splash preset
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6926>
2025-10-06 20:30:56 -07:00
Jane RachingerandClayton Craft 085729e888 main/postmarketos-bootsplash: fix start/stop conditions
This should now match behavior with plymouth. Some annoyances were
previously splash that is started multiple times or which isn't killed
when a rescue/emergency target requires.

Co-authored-by: Clayton Craft <clayton@craftyguy.net>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6926>
2025-10-06 20:30:27 -07:00
postmarketOS CI c4edf061a5 linux-next: upgrade to next-20251006 2025-10-06 15:49:50 +00:00
Devon Lutz 9d83dc8f86 qcom-msm89{05,09,16,39}: Remove _pmb_select="soc-qcom-msm8916-rproc" from APKBUILD
Fix "pmbootstrap init" (provider package was removed).
postmarketOS/pmaports!7075 dropped support for selecting the msm8916
rproc option during "pmbootstrap init".

Fixes: 7a29af043c ("soc-qcom-msm8916: drop non-functional rproc selection")
[ci:ignore-count]
[Raymond: drop it everywhere]
Co-developed-by: Raymond Hackley <wonderfulShrineMaidenOfParadise@postmarketos.org>
2025-10-06 11:48:57 +00:00
Clayton Craft 66fcd0230d main/postmarketos-initramfs: handle reboot/poweroff
Needed in both init stages since they both can call fail_halt_boot.

fixes #4003

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7128
2025-10-05 21:22:40 -04:00
Oliver Smith 38245b028f cross/busybox-static-*: remove
The busybox-static packages were used by devices using the obscure
"isorec" boot method (that I originally introduced with the
samsung-i9100, based on what I saw in the downstream kernel repo at the
time IIRC). This method is fairly limited, e.g. we can't append a
cmdline easily according to MR 6917. After the samsung-i9100 has been
switched over to use u-boot in MR 6921, all users of busybox-static are
now in device/archived/. Let's remove the busybox-static packages so
there are less packages we need to sync with Alpine.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7145>
2025-10-05 22:48:50 +00:00
Eisenbahnfan d25acebd38 firmware-samsung-n2awifi: Fix pkgdesc and add myself as maintainer
[ci:skip-vercheck]

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7142>
2025-10-05 17:19:02 +00:00
Achill Gilgenast cb8c5a0c57 systemd/phosh: upgrade to 0.50.0
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7143>
2025-10-05 17:53:18 +02:00
Vasiliy Doylov edbf3776c0 systemd/wireplumber: enable gobject introspectgion
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7141>
2025-10-05 17:27:04 +03:00
dabao1955 11ff09a6be linux-xiaomi-raphael: upgrade to 6.16.9
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7133>
2025-10-05 13:59:57 +00:00
Clayton Craft b4b65df84c main/postmarketos-ui-os-installer: use pmb's shallow clone option
This option was added in pmb 3.6, so the dependency is constrained to
that version and later

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7109>
2025-10-05 02:36:51 +00:00
Leah 74ae0e3867 linux-samsung-hero: Disable camera
Squashed with:
 - linux-samsung-herolte: Fix checksum

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7108>
2025-10-05 02:34:20 +00:00
Leah fd24da6e65 firmware-samsung-hero: Add missing firmware files
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7108>
2025-10-05 02:34:20 +00:00
Jens Reidel d173406ed9 ci: lib: Run jobs for ppc64le
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7140>
2025-10-04 15:53:42 +00:00
Jens Reidel b69cbb5367 pmaports.cfg: Mark ppc64le as supported
Now that the repositories are built and published, we can mark it as
supported.

Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7140>
2025-10-04 15:53:42 +00:00
Casey Connolly de53a5c455 linux-next: enable UCLAMP
Allows us to fix UI stutters with uclampset cli tool

Signed-off-by: Casey Connolly <kcxt@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7139>
2025-10-04 15:27:20 +02:00
Jens Reidel b69e4a50c8 systemd/systemd: enable for ppc64le and s390x
There is no reason to restrict this based on pmbootstrap support for
architectures. Also, both ppc64le and s390x are now supported in
pmbootstrap.

[ci:skip-vercheck]

Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7134>
2025-10-03 20:18:29 +00:00
Oliver Smith 86b5702a7c temp/xkeyboard-config: upgrade to 2.46
Upgrade to the latest upstream version and sync with Alpine's APKBUILD.
Previously this was on a git commit in order to prepare upstreaming the
N900 config, which was not merged yet.

Related: https://gitlab.alpinelinux.org/alpine/aports/-/commit/e41306ff207a0d0a580c88ab8a9e7d6258281392
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7132>
2025-10-03 17:23:07 +00:00
postmarketOS CI 26a6bb521b linux-next: upgrade to next-20251003 2025-10-03 15:50:26 +00:00
Jens Reidel bde0d7ab17 systemd/systemd: use LLVM 21 instead of 15
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7130>
2025-10-03 11:59:31 +02:00
Bart Ribbers bbc4d2c9c7 systemd/postmarketos-base-systemd: enable xdg-user-dirs by default
xdg-user-dirs defines the location of default user folders like
~/Documents, ~/Downloads, ~/Music, etc, and when they don't exist it'll
make sure they're created.
These are folders people will expect to exist on any installation.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7129>
2025-10-02 23:33:35 +02:00
Clayton Craft 7b710e42f8 temp/petitboot: drop aport
This is now packaged in aports:
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/90929

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7127>
2025-10-02 08:48:14 -07:00
Jens Reidel 4fafe35201 main/dint: fix and enable for all architectures
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7114>
2025-10-01 23:33:20 +00:00
Jens Reidel 948a5da202 mt6735-bootshim: Build with cross-native
This package hardcodes a --target for clang, so it can be built just
fine with the native clang and doesn't need to run in QEMU.

Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7124>
2025-10-01 23:13:43 +00:00
Jens Reidel 28d2a166f3 modem/libsamsung-ipc: fix build with GCC 15
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7125>
2025-10-01 23:11:38 +00:00
Jens Reidel c63615b9a6 main/f0rmz: fix build for ppc64le
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7126>
2025-10-01 23:04:04 +00:00
Jens Reidel 85c4e40ea8 main/unixbench: Upgrade to 6.0.0, fix build errors
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7123>
2025-10-01 23:34:17 +02:00
Oliver Smith 904e59fbc2 Reapply "main/bootchart2: upgrade to 0.14.9_git20220807"
This reverts commit e48304b386.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7120>
2025-10-01 19:56:10 +02:00
Oliver Smith fca3e7d7ee cross/crossdirect: fix "unsupported relocation"
Crossdirect redirects archivers (gz, bzip2, ...) to their native
versions when cross compiling. This works e.g. when extracting sources or
packing the .apks at the end of the build. But it currently fails when
such an archiver gets called during package().

For example with bootchart2:

  >>> bootchart2: Entering fakeroot...
  ...
  gzip -c bootchart2.1 > /home/pmos/build/pkg/bootchart2/usr/share/man/man1/bootchart2.1.gz
  Error relocating /native/usr/lib/libfakeroot.so: unsupported relocation type 6
  Error relocating /native/usr/lib/libfakeroot.so: unsupported relocation type 6
  Error relocating /native/usr/lib/libfakeroot.so: unsupported relocation type 1
  Error relocating /native/usr/lib/libfakeroot.so: unsupported relocation type 6

Fix this by running the foreign arch version when it gets called in a
fakeroot.

Fixes: 8a7c9ce7 ("cross/crossdirect: run archivers natively too")
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7120>
2025-10-01 19:56:10 +02:00
Oliver Smith e59bbc4d6e main/make3.81: remove
This package isn't used by anything and fails to build with current GCC
in Alpine. Let's drop it.

Related: https://builds.sr.ht/~postmarketos/job/1579283
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7119>
2025-10-01 17:22:12 +00:00
Oliver Smith 126a700fe6 main/postmarketos-initramfs: add postmarketos-base-nofde to makedepends
Fix bootstrapping a new repository by ensuring postmarketos-base-nofde
gets built by BPO beforehand, which now provides
postmarketos-fde-unlocker (as it should have all along).

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7118>
2025-10-01 16:40:23 +00:00
Oliver Smith e8fcd51ce2 main/postmarketos-base-nofde: provide postmarketos-fde-unlocker
This package was supposed to be a provider for postmarketos-fde-unlocker
(see description "Dummy unlocker package for systems without FDE") and
provider_priority=1 (whereas unl0kr has 1000)).

Fix this, so it is in theory possible to install pmOS without unl0kr
again if you want to save a little space and don't need FDE. More
importantly this also fixes bootstrapping a new reposiotry, as we can
now let postmarketos-initramfs makedepend on this package to ensure that
there is one provider for postmarketos-fde-unlocker.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7118>
2025-10-01 16:40:23 +00:00
Jens Reidel 58b529eb34 main/gcc{4,6}: disable on ppc64le and loongarch64
Neither ppc64le nor loongarch64 use vendor kernels, so the old GCCs
packages are not required.

They currently don't build either because of a couple of problems when
building with GCC 15. If we really want to, ppc64le can be re-enabled
once those problems are resolved, since it is supported since GCC 4.9.
loongarch64 needs a much newer GCC.

[ci:skip-vercheck]

Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7117
[ci:skip-build]: just disabling some arches
2025-10-01 18:36:45 +02:00
Casey Connolly baa1376e80 linux-next: enable USB_SERIAL_SIMPLE
Signed-off-by: Casey Connolly <kcxt@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7105>
2025-10-01 14:48:49 +00:00
Casey Connolly d09c0bd7e8 kconfigcheck: enable USB simple serial console
Support for simple USB serial devices like those exposed by the Suzy-Q
cable.

Signed-off-by: Casey Connolly <kcxt@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7105>
2025-10-01 14:48:48 +00:00
Clayton Craft 6180adfdf2 temp/iio-sensor-proxy: upgrade to 3.8
I dropped 2 patches that seem to have been merged upstream.
I also updated the pkgver format to follow what we do for other forked
pkgs, so hopefully the upstream compat monitoring thing will detect when
this pkg is out of date again

This adds a new patch to fix #3787

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7099>
2025-10-01 14:46:19 +00:00
Clayton Craft c5ca2e756a kconfigcheck: add 'immutable' category
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6949>
2025-10-01 14:14:05 +02:00
Clayton Craft bde9dca58c ci: apkbuild lint: allow all valid kconfigcheck categories
This only allowed categories that were aliases (and only categories
under those), but stuff like `pmb:kconfigcheck-uefi` was flagged as an
invalid option by the linting.

This change parses aliases AND all categories in the kconfigcheck and
allows those as options.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7101>
2025-10-01 12:11:05 +00:00
Stefan Hansson 6e75e62302 CI: dint: don't mark job as failed if only warnings were raised
In the case of there being warnings but no errors, dint will set its
exit code to 2. We don't want the pipeline to fail in this case, so have
2 be an allowed failure exit code.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7083>
2025-10-01 12:03:26 +00:00
Clayton Craft fef14737eb kconfigcheck: use tristate values for options
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7080>
2025-09-30 14:00:12 -07:00
Luca Weiss 6890536ff6 main/mtk-mkimage: update url
The URL is dead, so link to an archive.org version of that page instead.

Fixes #3981

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7111>
2025-09-30 20:51:22 +00:00
Clayton Craft 3c93972ece apple-mac-aarch64: new device
I chose this device pkg name because it's descriptive, this pkg doesn't
support the 'idevice' things or x86_64 or PPC Macs. I didn't include
"generic" because, while it supports Macbooks, (in theory) Mac Minis
and something called Mac Studio, it's not really *that* generic for Mac
computers AND by having the manufacturer be "Apple" it'll show up in pmb
init under "apple." This will make it more intuitive to find, I think.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7048>
2025-09-30 20:32:09 +00:00
Clayton Craft eddbe346c9 linux-postmarketos-asahi: new aport
Alpine's linux-asahi kernel is missing some config for booting on the
macbook M2, and is missing config for supporting other pmOS features /
kconfig checks. It's easier to maintain this kernel downstream for now
so changes can be made easily to support this hardware and functionality
we need.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7048>
2025-09-30 20:32:09 +00:00
adamthiede bf0d85120d linux-postmarketos-mediatek-mt8173: upgrade to 6.17
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7096>
2025-09-30 05:37:31 +02:00
Igor Belwon e6c9934e90 linux-postmarketos-mediatek-mt6878: upgrade to v6.17
Upgrade the kernel to version 6.17. While we're at it, regenerate the
config, and adapt the build process to booting via U-Boot.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7097>
2025-09-29 13:52:02 -07:00
Igor Belwon 5c5ba015dc device-nothing-tetris: adapt to U-Boot
As a first-stage U-Boot port is now available for this device, adapt the
device package to use it.

NOTE: Currently, EFI boot is unsupported, because of this device having
to send a specific SMC command on kernel launch, if this is not done,
then the device will crash after ~30s with weird errors, and access to
peripherals shared with the Secure World (for example UFS) will be
unavailable. This is only a temporary workaround for the time being.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7097>
2025-09-29 13:52:02 -07:00
WeirdTreeThing aed75c5ae1 device-google-oriole: clean up cmdline
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7092>
2025-09-29 12:53:03 -07:00
WeirdTreeThing 0c22c84cfd device-google-raven: clean up cmdline
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7092>
2025-09-29 12:53:03 -07:00
WeirdTreeThing 6974c2df9d device-google-bluejay: clean up cmdline
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7092>
2025-09-29 12:53:03 -07:00
Clayton Craft 95a1a60e4b ci: wiki: support only running for changed devices
The device wiki check currently runs for *all* devices in any given
MR, and can sometimes fail (e.g. if someone edits the wiki for some
unrelated device.) It's not fair to block MRs for devices when the
check fails on unrelated devices. This changes the default behavior to
only run on devices that are changed in the branch. This also adds an
`--all` flag that restores the previous behavior, this could be run on
the pmaports master branch to test general compliance for all devices
without blocking MRs where the check fails for unrelated devices.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7098>
2025-09-29 12:46:33 -07:00
Nickolay Goppen fd7dd519c2 firmware-xiaomi-clover: Add Goodix touchscreen configuration file
This adds the config file for the Goodix GT9110 for clover-plus and includes it into initfs.
Also this follows up my rename.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7093>
2025-09-29 19:02:08 +03:00
postmarketOS CI 2b54a11df0 linux-next: upgrade to next-20250929 2025-09-29 15:49:55 +00:00
Arnav Singh eeaf2b2f8a linux-postmarketos-allwinner: upgrade to 6.17.0_git20250929
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7094>
2025-09-29 15:10:29 +00:00
Stefan Hansson d3aa885f81 main/postmarketos-mkinitfs: link to project repo
Makes it easy to find relevant information about the program.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7095>
2025-09-29 10:18:18 +02:00
Jens Reidel 7639446782 systemd/systemd-services: don't start hexagonrpcd-adsp-rootpd on devices with SDSP
Apparently hexagonrpcd cannot serve the ADSP rootpd on SDM845 devices at
this time, so let's prevent the service from starting on devices with an
SDSP. It can always be re-enabled at a later time.

Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7090>
2025-09-27 23:08:51 +02:00
Jan Jasper de Kroon 580eb45f97 linux-pine64-pinephonepro: upgrade to 6.16.8
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7071>
2025-09-27 18:13:32 +00:00
Ingo Reitz 59174b9404 google-raven: new device
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6728>
2025-09-27 16:21:55 +00:00
Ingo Reitz f8fc37a645 google-oriole: new device
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6728>
2025-09-27 16:21:55 +00:00
Ingo ReitzandWeirdTreeThing aa74588036 google-bluejay: new device
Co-authored-by: WeirdTreeThing <bradyn127@protonmail.com>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6728>
2025-09-27 16:21:55 +00:00
Ingo ReitzandWeirdTreeThing d5765b86d9 soc-google-gs101: new aport
Co-authored-by: WeirdTreeThing <bradyn127@protonmail.com>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6728>
2025-09-27 16:21:55 +00:00
Ingo ReitzandWeirdTreeThing 0ad292a810 linux-postmarketos-gs101: new aport
Co-authored-by: WeirdTreeThing <bradyn127@protonmail.com>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6728>
2025-09-27 16:21:55 +00:00
Jens Reidel a51ad1e3e3 ci: fix path type in test_aports_ui
pmb.parse.apkbuild expects a Path object as the input type, but we
currently pass it a str. Since we already construct a Path, we can
simplify this and fix a type error encountered upon parsing the
APKBUILD.

Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7089>
2025-09-26 21:03:23 +02:00
Clayton Craft 2be943f936 main/f0rmz: new aport
This will be used for first boot setup in the initramfs

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7082>
2025-09-26 16:08:24 +00:00
Jens Reidel 70dc44a865 linux-postmarketos-qcom-sm7150: Fix Tianma panel for xiaomi-surya
Cherry-pick a patch that fixes a typo in the compatible string that
would result in the panel driver not being probed.

Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7088>
2025-09-26 17:55:39 +02:00
postmarketOS CI 8ed134588e linux-next: upgrade to next-20250926 2025-09-26 15:50:16 +00:00
Clayton Craft c4e1b0d448 systemd/systemd-services: add generator to set user for plasma-mobile service
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7057>
2025-09-26 07:35:29 -07:00
Clayton Craft d5fc83b7af systemd/systemd-services: add rtkit sysusers config
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7057>
2025-09-26 07:35:13 -07:00
dux55 2997ff5a18 jackpotlte: Fix for error that generated boot/kernel image is too large for boot partition.
Fixed failed pipeline

Fixed failed pipeline 2

Fixed failed pipeline 3

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7068>
2025-09-26 12:48:53 +00:00
Stefan Hansson 66f4974f7b main/dint: upgrade to 0.0.1_git20250925
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7084>
2025-09-26 12:41:39 +00:00
Clayton Craft 4d97758b44 main/postmarketos-mkinitfs: upgrade to 2.7.0
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7087>
2025-09-26 12:39:46 +00:00
Clayton Craft a7aa4f979b main/postmarketos-install-recommends: upgrade to 0.2
Features:

- Make prompting optional / disabled by default
- Implement shallow initial clone for pmaports
- Support running as root user

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7086>
2025-09-26 07:31:42 +00:00
postmarketOS CI 7edabc6655 linux-next: upgrade to next-20250925 2025-09-26 04:52:48 +00:00
Ingo Reitz 833bbb3a93 kconfigcheck: drop HID_PICOLCD_FB
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7043>
2025-09-26 02:25:56 +00:00
Clayton Craft 2fe8c34193 ci: lib: check_changed_aports_versions: re-add upstream branch
This was effectively dropped in bc3fb78958, but broke later use of the
'upstream' branch.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6703>
2025-09-25 15:22:07 -07:00
Jens Reidel d228485150 alsa-ucm-conf-qcom-sm7150: fix davinci audio channels
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6703>
2025-09-25 23:39:39 +02:00
Jens Reidel cbf9ace0e6 device-qcom-sm7150: overhaul and use packaged firmware
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6703>
2025-09-25 23:39:39 +02:00
Jens Reidel 71fd1ac99d firmware-qcom-sm7150: new aport
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6703>
2025-09-25 23:39:39 +02:00
Jens Reidel 8eb025b946 firmware-google-sunfish: new aport
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6703>
2025-09-25 23:11:22 +02:00
Jens Reidel 8cc3e57516 firmware-xiaomi-sweet: new aport
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6703>
2025-09-25 23:11:18 +02:00
Jens Reidel 3b2cd134e4 firmware-xiaomi-surya: new aport
pkgver starts at 3 because this package already existed in the past with
pkgver of 2.

Signed-off-by: Jens Reidel <adrian@travitia.xyz>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6703>
2025-09-25 23:11:15 +02:00
Jens Reidel 42ecd4e4cc firmware-xiaomi-davinci: new aport
pkgver starts at 3 because this package already existed in the past with
pkgver of 2.

Signed-off-by: Jens Reidel <adrian@travitia.xyz>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6703>
2025-09-25 23:10:31 +02:00
Jens Reidel 7401858932 linux-postmarketos-qcom-sm7150: Upgrade to 6.17.0_rc7
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6703>
2025-09-25 23:10:03 +02:00
Pablo Correa Gómez bc3fb78958 ci: lib: integrate add_upstream_git_remote into get_base_commit
add_upstream_git_remote was just being run at beginning of every
method using get_changed_packages or get_changed_files, to have
upstream available to use get_base_commit. So then, just move it to
get_base_commit. As a positive side-effect, since the previous commit
get_base_commit will just use the gitlab variable if available. So in
CI we will just completely avoid running these two commands!

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7078>
2025-09-25 20:02:53 +00:00
Pablo Correa Gómez 7bf7616490 ci: common: don't run git if we can just get the base sha from gitlab
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7078>
2025-09-25 20:02:53 +00:00
Pablo Correa Gómez 1d6eea7261 ci: common: remove unused import
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7078>
2025-09-25 20:02:49 +00:00
Pablo Correa Gómez 028f417255 ci: pytest.sh: remove unnecessary workaround
The issue has been closed, and the test runs successfully

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7078>
2025-09-25 20:02:46 +00:00
Pablo Correa Gómez b1e18658c2 ci: test_ui: only run for changed ui packages
Previously, this test would 12 to 16 seconds to run locally, and
having it run unconditionally slows CI (it's always the last test in
the pipelines). This commit changes it to only run on changed UI
packages, speeding up the pytest CI by more than 75% in most situations.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7078>
2025-09-25 20:02:46 +00:00
Pablo Correa Gómez 3c19b268c2 docs/merging-rules: update backporting information
We haven't released service packs in years, so there's no point to
document them as a process.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7077>
2025-09-25 19:55:33 +00:00
Pablo Correa Gómez c42e5e9a32 ci: make the pipeline trigger on the default branch
So that we can deploy docs. In the process, replace "master" with
CI_DEFAULT_BRANCH, so it does not break when we rename.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7077>
2025-09-25 19:55:33 +00:00
Pablo Correa Gómez f332f1b306 docs: add review and merging guidelines specific to pmaports
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7077>
2025-09-25 19:55:33 +00:00
Pablo Correa Gómez 8a9814ddc3 docs/device-categorization: avoid nesting and repetions
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7077>
2025-09-25 19:55:30 +00:00
Pablo Correa Gómez 22e782faae githooks: add docs prefix
In the process, update the README to point to how to add the githooks
folder. I had to go to aports to find the command.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7077>
2025-09-25 19:55:27 +00:00
Pablo Correa Gómez 6adc515825 docs/device-categorization: remove subjective image-building requirement
This is not something we can measure or reason about, since "obscure"
is very subjective. An alternative of using "multiple users" has also
been discarded, since we don't have a way to measure that either for
now.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7077>
2025-09-25 19:55:23 +00:00
Clayton Craft d752a57ce2 systemd: udev: explicitly depend on kmod-lib
This fixes an issue where the mkosi-generated initrd fails to load udev
because libkmod is not installed when systemd-udevd is installed.

For pmOS installs/initramfs stuff, this change should be a no-op,
libkmod is already pulled in by other things and our initramfs config
includes the library manually.

[ci:skip-build]: already built successfully in CI

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7079>
2025-09-25 16:15:49 +00:00
André Apitzsch 7a29af043c soc-qcom-msm8916: drop non-functional rproc selection
lk2nd does no longer support mode selection based on
/boot/lk2nd_rproc_mode.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7075>
2025-09-25 16:13:21 +00:00
faveoled bc7ba3073e starway-andromeda-s8: new device
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7074>
2025-09-25 16:10:54 +00:00
Jens Reidel e720d6509c linux-postmarketos-qcom-sdm845: Add patch to fix compatible strings for beryllium
The patch fixes the compatibles to allow hexagonrpcd to guess the
HexagonFS path without any configuration.

Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6966>
2025-09-25 01:40:11 +02:00
Jens Reidel 8ee1b55853 firmware-xiaomi-elish: fix HexagonFS directory location
Fix the location of the HexagonFS files to match the vendor name of the
model string. This lets hexagonrpcd guess the location without any
configuration.

Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6966>
2025-09-25 01:27:59 +02:00
Jens Reidel 7fcc44e45f firmware-oneplus-sdm845: fix HexagonFS directory location
Create two symlinks to allow hexagonrpcd to guess the location of the
HexagonFS from the devicetree compatible.

Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6966>
2025-09-25 01:26:29 +02:00
Jens Reidel ed8a7fe409 firmware-fairphone-fp5: fix HexagonFS directory location
This lets hexagonrpcd guess the location from the compatible string in
the devicetree successfully.

Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6966>
2025-09-25 01:07:33 +02:00
Jens Reidel d7c47e1d55 firmware-fairphone-fp4: fix HexagonFS directory location
This lets hexagonrpcd guess the location from the compatible string in
the devicetree successfully.

Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6966>
2025-09-25 01:06:48 +02:00
Jens Reidel 7d315a8a95 firmware-ayn-odin: fix HexagonFS directory location
Change it from /usr/share/qcom/sdm845/AYN/Odin to
/usr/share/qcom/sdm845/AYN/odin to make hexagonrpcd able to guess the
directory.

Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6966>
2025-09-25 01:06:43 +02:00
Richard Acayan 8e1053a477 firmware-google-sargo: add hexagonrpc symlinks for bonito and dtbo
The vendor DTBO (which may remain on some devices for convenience) uses
a "google,b4s4-sdm670" compatible. The Pixel 3a XL uses "google,bonito".
Add symlinks for these device trees.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6966>
2025-09-25 01:06:40 +02:00
Jens Reidel acae9b289f systemd/systemd-services: let hexagonrpcd guess the firmware directory
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6966>
2025-09-25 01:06:35 +02:00
postmarketOS CI 2340c05b60 linux-next: upgrade to next-20250924 2025-09-24 15:52:18 +00:00
Pablo Correa Gómez ce47303e35 ci: add job to build docs and trigger handbook pipeline for deployment
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7065

[ci:skip-build]: already built successfully in CI
2025-09-24 12:37:31 +02:00
Pablo Correa Gómez ca97b715c7 ci: ignore docs while checking for files in packages
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7065
2025-09-24 12:37:31 +02:00
Pablo Correa Gómez b4283dcbc9 docs: initial documentation for pmaports
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7065
2025-09-24 12:37:31 +02:00
postmarketOS CI 6031c93852 linux-next: upgrade to next-20250923 2025-09-24 04:50:43 +00:00
Duje Mihanović fd0fb50ca8 device: Move MSM GPU compile fix to shared patches
The downstream KGSL patch is shared by a ton of devices, make it shared.

xiaomi-aries is exempt as it has a different path for the KGSL driver.

[ci:skip-build] # No functional changes
[ci:skip-vercheck] # See above

Signed-off-by: Duje Mihanović <duje@dujemihanovic.xyz>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7073>
2025-09-23 20:16:11 +00:00
Duje Mihanović 7347015c0c device: Move ftrace static inline patch to shared patches
This patch is shared by a few devices, make it shared.

[ci:skip-build] # No functional changes
[ci:skip-vercheck] # See above

Signed-off-by: Duje Mihanović <duje@dujemihanovic.xyz>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7073>
2025-09-23 20:16:11 +00:00
Jan Jasper de Kroon 77b82749b8 device-pine64-pinephonepro: build rockchip-isp1 into initramfs
Add rockchip-isp1 to modules-initfs as a workaround for display initialization
issues on kernel 6.11.11. Without the ISP driver built into initramfs, the
unl0kr screen fails to display during early boot when disk encryption is
enabled, though the input still works. Building rockchip-isp1 into initramfs
ensures proper display initialization.

This is a temporary workaround until the underlying power domain or clock
synchronization issue between the display and camera subsystems which I suspect
can be properly investigated and fixed.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/5955>
2025-09-23 12:44:29 +02:00
Clayton Craft 4e6ec748a4 main/postmarketos-ui-cosmic: add cosmic-initial-setup to pmb_recommends
This app/config wizard runs when COSMIC starts for the first time, and
it helpful for guiding folks through configuring the DE.

[ci:skip-vercheck] only changing pmb_recommends

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7067>
2025-09-23 09:56:14 +00:00
Joel Selvaraj 8a55beb25a linux-postmarketos-qcom-sdm845: upgrade to 6.16.7 stable release
Also contains fix for compilation issue reported in https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3952

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7062>
2025-09-23 08:13:09 +00:00
Clayton Craft 6485ca2e01 main/postmarketos-ui-os-installer: add support for COSMIC UI
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7054>
2025-09-22 16:04:05 +00:00
postmarketOS CI ab9c37daa6 linux-next: upgrade to next-20250922 2025-09-22 16:00:13 +00:00
Duje Mihanović 6f27d8084c lg-vee3e: Fix port
Use gcc6 and add a few shared patches to make the kernel (and
menuconfig) build again. Since it now works, move the aport back to
downstream.

The "new" initramfs does not work without an extra initfs, so enable
that. Delete a few redundant deviceinfo properties while at it.

Finally, change the red tint fix to a Kconfig option instead of a patch.

[ci:skip-vercheck] # Package moved, complains despite pkgrel bump

Signed-off-by: Duje Mihanović <duje@dujemihanovic.xyz>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7064>
2025-09-21 16:09:21 +02:00
Stefan Hansson 2745f5dbcb main/dint: upgrade to 0.0.1_git20250920
Improves comment linting.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7066>
2025-09-20 18:58:29 +02:00
Stefan Hansson aa74915a68 CI: Add deviceinfo linting via dint
Needs https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2679
to run locally.

Tested and works locally with 'pmbootstrap ci' as well as in GitLab CI.

Closes https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/2583

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7006>
2025-09-20 09:30:46 +00:00
postmarketOS CI 17fcf091b2 linux-next: upgrade to next-20250919 2025-09-19 15:50:26 +00:00
AutumnSpark1226 142d967a54 device-samsung-kyleprods: add proprietary wifi firmware
use firmware package shared with kylepro

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7056>
2025-09-19 08:49:45 +00:00
AutumnSpark1226 1ee1c994e5 firmware-samsung-kyleproxx: rename from firmware-samsung-kylepro; device-samsung-kylepro: use renamed firmware package as direct dependency and remove firmware subpackage
Since kylepro and kyleprods are very similar devices (they also share the same kernel), the firmware package can be used for both.
The nonfree firmware subpackage is redundant, so device-samsung-kylepro directly depends on firmware-samsung-kyleproxx.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7056>
2025-09-19 08:49:45 +00:00
Markus Göllnitz 3253af8cdb {temp,systemd}/gnome-shell-mobile: backport GIRepository 2.0 patches for GJS >= 1.85.90 support
GJS 1.86 was released with a port from
libgirepository-1.0 to libgirepository-2.0. That port
requires changes in gnome-shell. However, for now, there
is no gnome-shell-mobile based on 49, so as a hot fix,
this is a backport of those patches only.

Without these, the GNOME Shell will not even get beyond
main.js and as such is unusable even for gdm.

Signed-off-by: Markus Göllnitz <camelcasenick@bewares.it>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7061>
2025-09-18 20:46:16 +00:00
Oliver Smith 219e9e5e8a cross/systemd-boot-x86: upgrade to 258
Related: https://gitlab.alpinelinux.org/alpine/aports/-/commit/be9e1474db71102756a209a31e39085a67b16305
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7060>
2025-09-18 19:47:25 +02:00
Jack Knightly ecd11e3acc firmware-samsung-midas: remove unnecessary blobs
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7045>
2025-09-17 18:28:14 +00:00
Jack Knightly 3e3100bb01 samsung-kona: fix firmware package info
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7045>
2025-09-17 18:28:14 +00:00
Jack Knightly ea3005e2dc samsung-kona: remove unhelpful partition flag
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7045>
2025-09-17 18:28:14 +00:00
postmarketOS CI aa4aa93513 linux-next: upgrade to next-20250917 2025-09-17 15:50:06 +00:00
Achill Gilgenast 043389df82 systemd/gnome-shell: disable riscv64 temporarily
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7051>
2025-09-17 07:18:17 +00:00
Achill Gilgenast aff18515ad systemd/mutter: upgrade to 49.0
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7051>
2025-09-17 07:18:17 +00:00
Achill Gilgenast 970d0af5c1 temp/gnome-shell-mobile: rebuild with gjs 1.85
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7051>
2025-09-17 07:18:17 +00:00
Achill Gilgenast 1dc84bc727 systemd/gnome-shell-mobile: rebuild with gjs 1.85
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7051>
2025-09-17 07:18:17 +00:00
Achill Gilgenast 26609fb910 systemd/gnome-shell: upgrade to 49.0
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7051>
2025-09-17 07:18:17 +00:00
Clayton Craft efa6cb6376 main/postmarketos-ui-os-installer: update UI screenshots
This updates the UI pictures/screenshots to use the latest from
https://wiki.postmarketos.org/wiki/Category:Interface

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7055>
2025-09-16 21:31:01 +00:00
Clayton Craft 4f29f7a07e systemd/postmarketos-base-systemd: add missing preset config
The trigger runs `systemctl preset cups.service`, but then if it runs
preset on the other two *afterwards* it will disable them (because no
explicit preset and we default to disable). This helps ensure they're
kept enabled.

The same seems to also happen for NetworkManager-wait-online and the
other things here, leading to them being accidentally disabled.

This also removes cups.service, it should be socket-activatable now that
cups.socket is enabled.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7029>
2025-09-16 13:37:11 -07:00
Achill Gilgenast 44204bed8d systemd/networkmanager: upgrade to 1.54.1
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7052>
2025-09-16 19:41:12 +00:00
Devin Lin 319c674ec9 systemd/drkonqi: Add gdb as dependency as well as needed python deps
GDB is needed, otherwise we can't send crash reports because it's unable to use any
debugger. elfutils is needed for eu-elflint used in the preamble.

Move the Python dependencies from checkdepends to depends because they
are also necessary for drkonqi during use.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7049>
2025-09-16 19:08:15 +00:00
Devin Lin 88c9deda2e postmarketos-base-ui-plasma: Enable sentry support for drkonqi
Always enable Sentry support for drkonqi, so that crash reports are sent
to KDE's bug dashboard.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7050>
2025-09-16 11:15:11 -04:00
Bart Ribbers c5501fc501 systemd/plasma*: upgrade to 6.4.5
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7041>
2025-09-15 11:56:01 +00:00
Clayton Craft 17abfd5b93 main/boot-deploy: upgrade to 0.20.2
- Fix crash from passing empty --header_version arg to mkbootimg

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7046>
2025-09-14 15:35:33 -07:00
Nikita Travkin 5533125d39 main/dtbloader: upgrade to 1.5.1
While at it, revert the "ar" workaround as the tool is installed
properly once again.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7042>
2025-09-14 15:54:13 +05:00
Devin Lin 9f2902ed95 postmarketos-base-systemd: Enable drkonqi
Enable necessary services for drkonqi on Plasma, see: https://invent.kde.org/plasma/drkonqi/-/blob/master/README.md?ref_type=heads

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7039>
2025-09-14 00:00:15 +00:00
Devin Lin 048afc96d5 postmarketos-base-ui-plasma: Add drkonqi with systemd
Add drkonqi for system process crash notifications, and allowing the
user to easily submit crash reports to KDE.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7031>
2025-09-13 07:04:52 -04:00
Clayton Craft df8113b676 systemd/pipewire: upgade to 1.4.8
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7036>
2025-09-12 16:32:51 +00:00
Clayton Craft ec97533995 systemd/cups: upgrade to 2.4.13
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7036>
2025-09-12 16:32:51 +00:00
Achill Gilgenast 55e34126a2 systemd/gnome-logs: upgrade to 49.0
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7035>
2025-09-12 16:30:27 +00:00
postmarketOS CI baf39aa5df linux-next: upgrade to next-20250912 2025-09-12 15:50:12 +00:00
Clayton Craft a8f9ec7f58 systemd/systemd-services: add generator for tinydm
Fixes #3897

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6903>
2025-09-12 13:51:17 +02:00
Pablo Correa Gómez dbd88de572 device-samsung-a40: stop depending on removed samsung-a40-headers
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7034>
2025-09-12 13:13:38 +02:00
Pablo Correa Gómez 5c1bb690bf linux-samsung-a40: do not provide linux-headers
Providing linux-headers is an unresolved issue (see
https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/152)
and this is currently breaking the build with
"pmbootstrap config build_pkgs_on_install True".
So remove them.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7034>
2025-09-12 13:06:26 +02:00
Danct12 a3d9cb4505 linux-pine64-pinetab2: Upgrade to kernel 6.15.10-danctnix1
The latest kernel supposedly improve WLAN driver stability and
fixed a major bug with VOP2 DRM driver where the display would not
come on after waking up from sleep.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6947>
2025-09-12 01:44:13 +00:00
Peter Mack 6050175407 main/mobile-config-firefox: upgrade to 4.6.1
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7032>
2025-09-11 22:41:18 +00:00
Aster Boese a6e89ad0b2 samsung-manta: /lib/{modprobe, modules-load}.d -> /usr/lib/{modprobe, modules-load}.d
The previous commit moving these to only `/lib/` was an error on my part for
misreading the manpages of kmod. Alpine *does* correctly handle modules under
`/usr/lib/`, so this is fine.

Signed-off-by: Aster Boese <asterboese@mailbox.org>

[ci:ignore-count]

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7033>
2025-09-12 00:32:07 +02:00
Aster Boese ef79caff27 samsung-goyawifi: /lib/{modprobe, modules-load}.d -> /usr/lib/{modprobe, modules-load}.d
The previous commit moving these to only `/lib/` was an error on my part for
misreading the manpages of kmod. Alpine *does* correctly handle modules under
`/usr/lib/`, so this is fine.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7033>
2025-09-12 00:31:37 +02:00
Aster Boese c24b54f075 google-nyan-big: /etc/modprobe.d -> /usr/lib/modprobe.d
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7033>
2025-09-12 00:30:42 +02:00
Aster Boese 50b81f3153 asus-me176c: /etc/modprobe.d -> /usr/lib/modprobe.d
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7033>
2025-09-12 00:30:42 +02:00
Aster Boese 7767d5b707 google-nyan-blaze: /etc/modprobe.d -> /usr/lib/modprobe.d
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7033>
2025-09-12 00:30:42 +02:00
Aster Boese 80d2717550 lg-hammerhead: /etc/modprobe.d -> /usr/lib/modprobe.d
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7033>
2025-09-12 00:30:42 +02:00
Aster Boese 1c5f9f545c pine64-pinenote: /etc/modprobe.d -> /usr/lib/modprobe.d
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7033>
2025-09-12 00:30:42 +02:00
Aster Boese a3f184cd27 samsung-hlte: /etc/modprobe.d -> /usr/lib/modprobe.d
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7033>
2025-09-12 00:30:07 +02:00
Aster Boese 53f37dc4b2 samsung-klte: /etc/modprobe.d -> /usr/lib/modprobe.d
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7033>
2025-09-12 00:19:32 +02:00
Aster Boese 9a2dce5125 samsung-degaswifi: /etc/modprobe.d -> /usr/lib/modprobe.d
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7033>
2025-09-12 00:12:12 +02:00
Dan 40d43a3731 samsung-a40: new device
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6916

[ci:skip-build]: already built successfully in CI
2025-09-11 22:44:00 +02:00
postmarketOS CI a62beeff2a linux-next: upgrade to next-20250911 2025-09-11 15:51:14 +00:00
BetaRays a0e8b199be samsung-j5(x): depend on Samsung modem workaround
This was required to get a working modem on J5 2015 and 2016, see:
 - Closes https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3860
 - https://wiki.postmarketos.org/wiki/Samsung_Galaxy_J5_2015_(samsung-j5)#Modem
 - https://wiki.postmarketos.org/wiki/Samsung_Galaxy_J5_2016_(samsung-j5x)#Modem

[Raymond: add j5]
Co-developed-by: Raymond Hackley <wonderfulShrineMaidenOfParadise@postmarketos.org>
2025-09-11 08:27:03 +00:00
Clayton Craft ce67c46bd4 main/devicepkg-utils: initialize SOURCE_DEVICEINFO_ROOT
Otherwise things that `set -u` (like boot-deploy) fail

[ci:skip-build]: already built successfully in CI

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7028>
2025-09-10 09:18:57 -07:00
postmarketOS CI 1d6272d3e5 linux-next: upgrade to next-20250910 2025-09-10 15:51:53 +00:00
Luca Weiss c11b4a74f2 device-fairphone-fp3: modem, audio & qbootctl
While the modem has worked for quite a while on mainline, for some
reason some dependencies were never added to the device package.

And add the firmware for the audio amplifier on Fairphone 3 since it's
also supposed to work now.

And install qbootctl (and enable it by default) to mark the current slot
as successful to not get stuck in the bootloader after a couple of
reboots.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7010>
2025-09-10 15:20:51 +00:00
Luca Weiss 2cb88d5c6d firmware-fairphone-fp3: remove compat symlinks, add audio amp firmware
The symlinks are not needed anymore with the newest kernel, so clean
them up.

And package up the aw8898_cfg.bin firmware/config file for Fairphone 3.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7010>
2025-09-10 15:20:51 +00:00
Matus Mastena 92105c6dd5 samsung-a53x: new device
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6987

[ci:skip-build]: already built successfully in CI
2025-09-10 17:12:48 +02:00
Stefan Hansson d9c3fa80a8 main/devicepkg-utils: allow overriding root directory in source_deviceinfo
This can be used to source the deviceinfo of an arbitrary rootfs, not
just the current one. In particular, this will be used in the
boot-deploy CI.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7026>
2025-09-10 14:43:34 +00:00
Luca Weiss c3f0506216 modem/rmtfs: upgrade to 1.1.1
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7009>
2025-09-10 11:42:12 +00:00
Luca Weiss 57a6a580f4 modem/pd-mapper: upgrade to 1.0
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7009>
2025-09-10 11:42:12 +00:00
dabao1955 daba0ccf59 linux-xiaomi-raphael: Fix adreno gpu firmware path, add led support and add camera kernel driver support
But dts not defined about camera port.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7024>
2025-09-10 11:38:35 +00:00
Stefan Hansson 0ecf51c505 main/boot-deploy: update link
Link to the new repo location instead of the old one that isn't updated
any more.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7022>
2025-09-10 08:23:47 +00:00
dabao1955 b49c136699 device-xiaomi-raphael: Fix missing firmware dep
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7020>
2025-09-10 08:21:22 +00:00
Igor Belwon 1aea255014 device-nothing-tetris: Enable flashing, sdcard and drm
Flashing is enabled because of lplk and no longer requiring an uniLoader
dependency.

SD Card was incorrectly set as unavailable before, this device has an SD
card slot, fix the property.

This device now supports display via simpledrmfb, so enable
deviceinfo_drm. Device can start Phosh, albeit with some graphical
glitches, and obviously no GPU (yet...).

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7018>
2025-09-10 08:18:24 +00:00
Igor Belwon 9b2e0d4e5e linux-postmarketos-mediatek-mt6878: upgrade to 6.17-rc5
This kernel upgrade BREAKS booting with uniLoader and now requires lplk
to boot. The change is documented on the Wiki.

While we're at it, enable simpledrm.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7018>
2025-09-10 08:18:24 +00:00
dabao1955 0ec0b702e8 firmware-xiaomi-raphael: upgrade to 20250908
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7015>
2025-09-10 10:14:48 +02:00
Henrik Grimler d2d455f8a4 extra-repos/systemd: add transmission-daemon service
Based on service script in transmission's repo [1], but with Type
changed to simple as alpine's transmission is built without sd_notify.

[1] https://github.com/transmission/transmission/blob/main/daemon/transmission-daemon.service.in

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7016>
2025-09-10 10:06:39 +02:00
Clayton Craft 2a4d4f8b61 systemd/postmarketos-base-systemd: fix handling of added and removed units in trigger
Apparently the eval trick doesn't work for passing vars if the var to
set is the same as the var for the value, in this case the caller of
this function was using `added_paths` and `removed_paths`. Shell scripts
suck.

This was missed in the tests because the unit tests call
trigger_unit_presets directly.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7025>
2025-09-09 17:19:47 +00:00
Markus Göllnitz 5c01db2b90 systemd/systemd-services: add vnstat service
Monitoring the network usage due to mobile connections
being metred is probably interesting to more users.

vnstat is also the basis for Usage's optional network
view.

Signed-off-by: Markus Göllnitz <camelcasenick@bewares.it>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7001>
2025-09-09 18:29:17 +02:00
postmarketOS CI 0b582b4d1e linux-next: upgrade to next-20250909 2025-09-09 15:49:45 +00:00
Clayton Craft aed388ea63 systemd/cups: disable examples / ipptool on all archs
Apparently this fails on other archs when cross compiling, not just
riscv64. I hit it locally when building x86_64 on aarch64. bpo is
hitting it when trying to build aarch64 on x86_64. This is kinda of a
big hammer, but I think we'll be able to drop this cups fork when abuild
systemd split func support is upstreamed, and bpo is currently blocked
trying to build changes to support our effort to upstream that abuild
patch.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7023>
2025-09-09 14:46:02 +00:00
Luca Weiss 8cd50f8c87 soc-qcom-msm8953: update ucm config
Update to the latest master branch in msm8953's alsa-ucm-conf.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7017>
2025-09-09 12:36:05 +00:00
Clayton Craft 21a5b834e6 main/boot-deploy: upgrade to 0.20.1
Fixes a breaking regression in 0.20.0

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7021
[ci:skip-build]: bpo hasn't built an abuild update for all archs, and will take a while to be done
2025-09-08 12:15:47 -07:00
Jens Reidel a42bce2407 cross/busybox-static-*: upgrade to 1.37.0-r23
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7019

[ci:skip-build]: already built successfully in CI
2025-09-08 20:41:46 +02:00
postmarketOS CI a012a36ccc linux-next: upgrade to next-20250908 2025-09-08 15:50:32 +00:00
Clayton Craft 2c9a5d2d1c main/boot-deploy: upgade to 0.20.0
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7014

[ci:skip-build]: already built successfully in CI
2025-09-08 08:09:02 -07:00
Clayton Craft ef97fd8c60 systemd/cups: disable examples on riscv64
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6892

[ci:skip-build]: already built successfully in CI
2025-09-08 07:33:54 -07:00
Clayton Craft 39922de34e ci/shellcheck: run on pmos-base-systemd's apk trigger
This trigger has a lot going on, so let's make sure it always passes
shellcheck. It's not picked up by the normal search for triggers in this
script because the actual logic for the trigger is broken out from the
.trigger file.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6892
2025-09-08 07:33:54 -07:00
Clayton Craft 469aae3436 postmarketos-base-systemd: rework unit preset, reload/restart, and cleanup handling
This reworks the preset, reload/restart, and cleanup handling and moves
it from a (proposed [1]) abuild patch that would generate install
scripts for every -systemd package to a series of commit hooks and
a trigger that would exist in this package. This was made
possible by using `treescan`, which quickly[2] recursively scans
/usr/lib/systemd and allows the commit hook and trigger to diff units
before and after an install or uninstall transaction.

I chose to put the trigger and commit hook in pmos-base-systemd instead
of the systemd package because:

1) It's annoying to have to rebuild systemd just to update the logic in
   this script. Rebuilding this package is MUCH faster (nothing to
   compile)

2) IF the systemd package moves elsewhere (i.e. out of pmaports), it's
   unclear if this preset stuff would follow it, and it's safer for us to
   keep it separate so know it's always being included in pmOS+systemd
   installs. It can always be moved later if we decide to.

More info on how the three situations are handled by this patch:

Presets: Pre-commit hook captures current unit file list (using
treescan) before changes, then the trigger on /usr/lib/systemd/system
captures (using treescan) the state after changes and diffs them. It
picks out only unit files that were added, and runs systemctl preset to
apply any preset config that might exist for them.

Reload/restart: This relies on manual post-upgrade scripts in packages
that need it. post-upgrade scripts should mark units with systemctl
set-property ... Markers=+needs-reload/restart. Actual reload/restart
handled by the existing systemd.trigger that queries these markers...
This is going to be a bit annoying for package maintainers[3], but I
don't think many packages will *need* this. As of today, there are 0
packages explicitly requesting reload/restart on upgrade. This also
means there will be no automatic detection of whether a unit should be
reloaded/restarted. AFAIK Fedora doesn't support this, packages have to
explicitly request a reload or restart.

Cleanup: The pre-commit hook uses treescan to capture systemd unit
directory state before transactions and the trigger identifies removed
units (using treescan + diff). It then finds broken symlinks in
/etc/systemd/ that point to any newly removed unit files from the
transaction, and removes only them.

Benefits:

- Simple abuild patch for -systemd split func

- Uses existing APK mechanisms (commit hooks, triggers). Hooks can see
  before/after transaction state for cleanup.

- Logic updates don't require rebuilding all packages.

Tradeoffs:

- Requires additional per-package complexity to support
  reload/restart functionality.

- Moves unit discovery/parsing for preset and cleanup from build-time to
  runtime (every device does this work vs. once at build)

- Package behavior varies based on installed trigger/hook
  versions rather than being deterministic per package version.

- There's a (tiny) risk of some operations being race-y, e.g. if the
  user is actively enabling/disabling/adding unit files between apk
  running the pre-commit hook and the trigger firing... It seems
  unlikely this will cause issues, but 🤷‍♂️

1. https://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/394

2. I used hyperfine to measure performance of treescan on my laptop,
with lots of units installed, and it was ~20ms without disk caching

3. A post-upgrade that would mark a unit for reload might look like
this:

```
if [ -d "/run/systemd/system" ]; then
	echo "Marking sshd.service for reload..."
	systemctl set-property sshd.service Markers=+needs-reload
fi
```

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6892
2025-09-08 07:33:54 -07:00
Clayton Craft 75d8dc9bd2 ci/testlib: add asserts for string contains/doesn't contain substring
For testing if a given string contains a given subtring, for example
`assert_contains "foo bar bazz" "bar"` would pass,
but `assert_contains "foobar bazz" "bar"` would fail.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6892
2025-09-08 07:33:54 -07:00
Clayton Craft 7d84c11c52 ci/testlib: add asserts for file exists/not exists
For testing whether a given file exists or not exists

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6892
2025-09-08 07:33:54 -07:00
Clayton Craft 0fab76b942 ci/testlib: add test root dir support
Allows creating (and cleaning up) a new root dir for tests, for tests
that deal with files on disk

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6892
2025-09-08 07:33:54 -07:00
Clayton Craft 00a242b4e8 systemd/systemd: don't use old systemd_install_script logic
This also removes an old macro file that was left over from one of the
many previous attempts to integrate preset support...

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6892
2025-09-08 07:33:53 -07:00
Clayton Craft e63c70b6e8 Rebuild -systemd subpkgs
These packages were previously built by a WIP abuild patch that added
install scripts to each -systemd subpkg for handling preset application
on install and symlink cleanup on uninstall. This functionality has been
replaced by a trigger/commit hook, so we need to rebuild these packages
to drop the install scripts that were previously generated.

[ci:ignore-count]

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6892
2025-09-08 07:33:53 -07:00
Clayton Craft 0318e81fde temp/abuild: build with simple systemd split func patch
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6892
2025-09-08 07:33:53 -07:00
Achill Gilgenast e9287975cb systemd/wireplumber: upgrade to 0.5.11
https://gitlab.alpinelinux.org/alpine/aports/-/commit/71031e8a344b98717fa73d02c6b9aa0026120fe7

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7013>
2025-09-08 01:54:28 +00:00
Achill Gilgenast 98c29cb62c systemd/upower: upgrade to 1.90.10
https://gitlab.alpinelinux.org/alpine/aports/-/commit/b8086774af77dd3e1ab509ff0485676a124c17a7

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7013>
2025-09-08 01:54:28 +00:00
Achill Gilgenast 6d7abb22e1 systemd/sddm: fix license
https://gitlab.alpinelinux.org/alpine/aports/-/commit/1cfd94a70fea7a2edf6fbe23a073a99305add7a0

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7013>
2025-09-08 01:54:28 +00:00
Achill Gilgenast 3a50ffa5d4 systemd/gnome-desktop: upgrade to 44.4
https://gitlab.alpinelinux.org/alpine/aports/-/commit/8bb7b7b7bb981ee0e0a3b52d1291ecb245915602

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7013>
2025-09-08 01:54:28 +00:00
Achill Gilgenast d8be95c138 cross/systemd-boot-x86: upgrade to 257.9
https://gitlab.alpinelinux.org/alpine/aports/-/commit/baef68076879beea57f864db4d69a61e6ee0c476

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7013>
2025-09-08 01:54:28 +00:00
Dylan Van Assche 15dbb835b0 systemd/systemd-services: add RuntimeDirectory and StateDirectory for nginx
RuntimeDirectory and StateDirectory are required for NGINX to operate out-of-the-box.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7008>
2025-09-07 18:02:26 +00:00
dabao1955 5564f33c6b linux-xiaomi-raphael: Fix wrong firmware path in dts for xiaomi-raphael
ref: https://github.com/NekoSekaiMoe/linux/commit/2447484c8665f0b6fc4fbc8b3208dfa0250bf35f

Signed-off-by: dabao1955 <dabao1955@163.com>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7012>
2025-09-08 01:33:09 +08:00
Luca Weiss 8caae63c7f main/postmarketos-ui-lomiri: fix wallpaper and launcher icon
Fix the paths at least, for some reason the launcher icon still doesn't
show up in the latest versions.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6726>
2025-09-07 17:10:56 +00:00
Luca Weiss 60d40dcda0 main/postmarketos-ui-lomiri: clean up polkit config
Apk is unhappy about depending on both polkit and polkit-elogind. Align
with other UI packages by only depending on polkit-elogind directly, and
remove the rc-update call since also no other UI is doing this.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6726>
2025-09-07 17:10:56 +00:00
Willow Barraco bca4cfc74f linux-postmarketos-allwinner: Enable leds_group_multicolor
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6924>
2025-09-07 17:08:26 +00:00
dabao1955 59ab663fb4 linux-xiaomi-raphael: upgrade to 6.12.0
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7004>
2025-09-07 17:00:49 +00:00
dabao1955 3365752926 firmware-xiaomi-raphael: Fix wrong firmware path
This commit fixes some firmware not found by kernel requests.

before:
```
[    0.552689] goodix firmware update module init start
[    0.801269] goodix_i2c 2-005d: Direct firmware load for qcom/sm8150/Xiaomi/raphael/good failed with error -2
```

after:
```
[    0.152816] goodix firmware update module init start
[    0.597937] input: goodix_ts as /devices/platform/goodix_ts.0/input/input2
```

Signed-off-by: dabao1955 <dabao1955@163.com>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7011>
2025-09-07 16:59:47 +00:00
Stefan Hansson 8321019c7f CI: Stop using 'pmbootstrap lint' for lint job
Needs https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2679

Closes https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3665

Closes https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/issues/2566

Closes https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3274

Closes https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/issues/2591

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6979>
2025-09-07 16:14:57 +00:00
leap123 35ee13f094 device-rockchip-rk322x: fix checksum
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7003>
2025-09-07 01:28:05 +00:00
leap123 5675c834a1 rockchip-rk322x: update kernel to 6.16.5
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7003>
2025-09-07 01:28:05 +00:00
Sicelo A. Mhlongo aa0879310e */: sicelo: drop and transfer maintainership
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6993>
2025-09-06 23:44:49 +02:00
Dylan Van Assche a8229a6ad7 main/postmarketos-ui-os-installer: add Console UI
Installing pmOS on servers has never been more easy with the OS Installer when the Console UI is supported. Tested on my own homeserver.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7000>
2025-09-06 18:33:14 +02:00
Daniel Kulesz d614b2c4b0 linux-purism-librem5: upgrade to 6.6.92pureos1
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6970>
2025-09-06 12:56:57 +02:00
Casey Connolly cfc28d4fb9 linux-next: enable XBOX controller support
Enable joystick devices as per kconfigcheck

Signed-off-by: Casey Connolly <kcxt@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7005>
2025-09-06 08:02:48 +00:00
postmarketOS CI b0b2d89485 linux-next: upgrade to next-20250905 2025-09-06 04:50:29 +00:00
Hugo Osvaldo Barrera ec17f2118c qemu-*: enable PSI
PSI is necessary (but not sufficient) to run Waydroid on this device
target:

- linux-virt is built without binder and unusable for Waydroid.
- linux-stable is build with CONFIG_PSI_DEFAULT_DISABLED.
- linux-lts is build with CONFIG_PSI_DEFAULT_DISABLED.

The performance difference is negligible for this device; less that 1%.

Fixes: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/1884
See: https://gitlab.alpinelinux.org/alpine/aports/-/issues/17465
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6995>
2025-09-05 21:54:00 +02:00
Jami Kettunen b8c64a14f7 device/*: drop my "maintainership" of msm8998/mt6763/mt6768 stuff
I've not touched anything in pmaports (or mainline aarch64 stuff in
general besides my Snapdragon X Elite laptop which I thankfully didn't
have to bringup myself) for about 3 years at this point so I think that
ship has sailed by now.

[ci:skip-build]: orphaning the packages
[ci:skip-vercheck]

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6971
2025-09-05 18:03:42 +02:00
Dinolek 9c8c46f803 device-xiaomi-begonia: new aport
Based on the linux-postmarketos-mediatek-mt6785 kernel.

Signed-off-by: Dinolek <git@dinolek.me>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6975>
2025-09-05 15:43:23 +00:00
Dinolek da0d53f27a firmware-xiaomi-begonia: new aport
Signed-off-by: Dinolek <git@dinolek.me>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6975>
2025-09-05 15:43:23 +00:00
Dinolek 99b95928e6 linux-postmarketos-mediatek-mt6785: new aport
Mainline port for the MediaTek MT6785 Helio G90/G90T/G95.

Signed-off-by: Dinolek <git@dinolek.me>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6975>
2025-09-05 15:43:23 +00:00
Dinolek d869b99210 xiaomi-begonia: add -downstream suffix and archive downstream port
Signed-off-by: Dinolek <git@dinolek.me>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6975>
2025-09-05 15:43:23 +00:00
Dinolek 22a9c72680 linux-xiaomi-begonia: fix build
Signed-off-by: Dinolek <git@dinolek.me>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6975>
2025-09-05 15:43:23 +00:00
adamthiede 8cf57dfdfb linux-postmarketos-mediatek-mt8173: upgrade to 6.16.5
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6997>
2025-09-05 08:08:33 +00:00
BotchedRPR d130e6990d device-nothing-tetris: new package
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6985>
2025-09-04 20:30:07 +00:00
BotchedRPR 6f63a440ab linux-postmarketos-mediatek-mt6878: new package
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6985>
2025-09-04 20:30:07 +00:00
Stefan Hansson 6c98a4d742 main/dint: new aport
This could later be used to add deviceinfo linting CI to pmaports. I'm
putting this in pmaports rather than aports as I would think there is
little purpose to having a deviceinfo linter in Alpine when this format
isn't used there.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6999>
2025-09-04 20:21:34 +00:00
postmarketOS CI 9d7a05983f linux-next: upgrade to next-20250904 2025-09-04 15:50:57 +00:00
postmarketOS CI 021044ac78 linux-next: upgrade to next-20250903 2025-09-03 15:49:39 +00:00
Henrik Grimler 436d44c8e6 systemd/systemd-services: add apache service
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6996>
2025-09-03 13:53:00 +00:00
Henrik Grimler 4a2a2acaf6 device-samsung-i9100: set generate_extlinux_config=true
Was missed when device was migrated over to use u-boot.

Fixes: e74d7fdd69 ("device-samsung-i9100: use u-boot as intermediate bootloader")
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6998>
2025-09-03 13:52:03 +00:00
Pablo Correa Gómez 7273e83141 README: improve wording for commit style
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6992>
2025-09-03 13:51:05 +00:00
Pablo Correa Gómez 6d6fcd0340 README: add review and merging guidelines
As agreed in
https://wiki.postmarketos.org/wiki/Team_Meetings#2025-09-01

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6992>
2025-09-03 13:51:05 +00:00
Aster Boese 3f405ace7d apple-idevice: change rootfs_image_sector_size to 4096
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6944>
2025-09-03 09:55:42 +00:00
Barnabás Czémán 033bbe60bf device-qcom-msm8956: Add support for longcheer l9360
Signed-off-by: Barnabás Czémán <barnabas.czeman@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6981>
2025-09-03 09:54:37 +00:00
Barnabás Czémán b006585c45 device-qcom-msm8956: Fix cmdline property in deviceinfo
Change deviceinfo_cmdline to deviceinfo_kernel_cmdline.

Signed-off-by: Barnabás Czémán <barnabas.czeman@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6981>
2025-09-03 09:54:37 +00:00
Barnabás Czémán 29288ce037 linux-postmarketos-qcom-msm8956: Upgrade to v6.16.3-r0
Signed-off-by: Barnabás Czémán <barnabas.czeman@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6981>
2025-09-03 09:54:34 +00:00
Hugo Osvaldo Barrera 7cb5f1d3e4 main/postmarketos-config-nftables: rely on upstream nftrules
Upstream is now shipping rules as individual subpackages for packages
which require them. Rely on these by linking to them instead of
duplicating them here.

Note that the upstream packages only ship rules, but do not enable them
by default. This patch retains this package's current behaviour and
still automatically enables rules.

See: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/67137
See: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3934
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6991>
2025-09-02 16:30:50 +00:00
Eisenbahnfan cb4a9bfd40 device-samsung-n2awifi: Enable boot via U-Boot
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6989>
2025-09-02 16:20:18 +00:00
Eisenbahnfan 8c067228f2 device-samsung-v1awifi: Enable boot via U-Boot
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6988>
2025-09-02 16:19:16 +00:00
postmarketOS CI 91dedeb3d1 linux-next: upgrade to next-20250902 2025-09-02 15:53:38 +00:00
BetaRays 0dbd50bd80 soc-qcom-msm8916: force S16LE format for PipeWire
This applies this fix by default, so that PipeWire sound can work out of the box:
https://wiki.postmarketos.org/wiki/Qualcomm_Snapdragon_410/412_(MSM8916)#PipeWire

This was tested on samsung-j5x with all remote processors.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6978>
2025-09-02 15:29:49 +00:00
Biswapriyo Nath 895506a5c0 systemd/dsme: upgrade to 0.84.7
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6957>
2025-09-01 18:54:19 +00:00
postmarketOS CI 95ba5dfada linux-next: upgrade to next-20250901 2025-09-01 15:53:59 +00:00
leap123 6a9168cd47 rockchip-rk322x: new device
Adds a generic device target for the Rockchip RK3228 and RK3229 SoCs
with mainline U-Boot and kernel. I tested this on my MXQ Pro 4K STB,
which originally had Android 7.1 installed. I've been testing it on a
32 GB SD card, as I currently have [ilmich's
LibreELEC port](https://github.com/rk-unofficial-cfw/LibreELEC.tv/tree/le12-rk322x-wip]
installed to the eMMC, though it should boot from eMMC just fine. The
bulk of the patches comes from the aforementioned LibreELEC port and
Armbian.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6982>
2025-09-01 13:38:03 +02:00
Jack Knightly a68e7fb105 device-samsung-n5110: rename to kona
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6968
2025-08-30 10:15:01 +02:00
Jack Knightly 1914540bb4 linux-samsung-n5110: remove
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6968
2025-08-30 10:15:01 +02:00
Jack Knightly 9c80f0c3c4 linux-postmarketos-exynos4: add panel for n5110
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6968
2025-08-30 10:15:01 +02:00
Jack Knightly 4966b3b5e6 device-samsung-n5110: unarchive and switch to using upstream kernel
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6968
2025-08-30 10:15:01 +02:00
Richard Acayan 54cadd8fe9 alsa-ucm-conf-qcom-sdm670: upgrade to 1.2.9_git20250707
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6986>
2025-08-29 19:19:19 -04:00
Jane Rachinger ae2143c971 systemd/systemd{,-stage0}: upgrade to 257.8
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6920>
2025-08-29 16:30:50 +00:00
Pablo Correa Gómez 4ecc7ec4e0 main/postmarketos-base: add compatibility subpackage with alpine-baselayout-core
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6984>
2025-08-29 16:28:27 +00:00
Pablo Correa Gómez f9011849a3 temp/alpine-baselayout: remove
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6984>
2025-08-29 16:28:27 +00:00
postmarketOS CI 9a87ab496c linux-next: upgrade to next-20250829 2025-08-29 15:49:44 +00:00
Achill Gilgenast 3bca58c384 main/postmarketos-base: move /etc/apk/config to /usr/lib/apk/config
apk supports loading the config file from /lib/apk/config since
<https://gitlab.alpinelinux.org/alpine/apk-tools/-/commit/0186a6aa9d5cc5dd9f4f218bc8bc59b74b21395f>.

Since all systems are now /usr-merged, we can now even have the file in
/usr/lib/!

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6983>
2025-08-29 07:36:22 +00:00
Robert Bloy 6c2f173b20 downstream/linux-amazon-ford: kernel config framebuffer console enabled
CONFIG_FRAMEBUFFER_CONSOLE=y without this the ui fbkeyboard dont start

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6977>
2025-08-28 20:16:32 +00:00
Pablo Correa Gómez 244d2ab398 ci: do not run downstream pipeline if the bot is the commiter
The reviewers are responsible to check that the pipeline actually
built and run successfully. The bot has the option to skip the
pipeline completely, but that means we also skip the checks about
bumping pkgver and pkgrel, which means some rebases could cause
issues. Since there is no straight-foward way to make the bot add
"[ci:skip-build]" to the commit message, then we can actually do this
check instead.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6963>
2025-08-28 20:02:26 +00:00
Pablo Correa Gómez 88b1b45879 ci: move check for package counts to where it is used
common is otherwise over-used with things with very little
consumers. So reduce the list by moving the
get_changed_packages_sanity_check to check_changed_aports_versions,
which is the only user. In the process, also rename it to make it more
clear what it's used for: check_package_count

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6963>
2025-08-28 20:02:26 +00:00
Pablo Correa Gómez c83457fed4 ci: don't re-do packages check in build_changed_aports
Since 218d0b1745 the pipeline is created
dynamically. This check already exists in the "commits" lint job. So
let's avoid duplicating it.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6963>
2025-08-28 20:02:23 +00:00
postmarketOS CI 806d340317 linux-next: upgrade to next-20250828 2025-08-28 15:56:56 +00:00
Pablo Correa Gómez 5de1ce365f main/postmarketos-base: force migration of installs to /usr merge
This carries some risks, but we are willing to put up with them. We
need everybody to have a /usr-merge to continue moving on our
priorities. Fortunately, the merge-usr script has received quite a lot
of testing so far.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6389>
2025-08-27 15:27:42 +02:00
Pablo Correa Gómez 866f80708a main/postmarketos-ui-moonlight: disable on armhf
Follow-up from
https://gitlab.alpinelinux.org/alpine/aports/-/commit/4b76290cf6da103663a0c48e84783fd763a1f9d9

[ci:skip-vercheck]

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6980>
2025-08-27 13:26:33 +00:00
Tomasz Duda f1460e5324 linux-postmarketos-qcom-msm8953: enable CONFIG_BT_RFCOMM
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6972>
2025-08-27 13:21:03 +00:00
Barnabás Czémán 709b677e9f linux-postmarketos-qcom-msm89x7: Upgrade to v6.16.3-r0
Signed-off-by: Barnabás Czémán <barnabas.czeman@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6976>
2025-08-27 13:19:23 +00:00
Richard Acayan b030d960d7 linux-postmarketos-qcom-sdm670: upgrade to v6.16.3
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6965>
2025-08-27 09:41:16 +00:00
Robert Mader a63aca69b1 temp/libcamera: Backport software ISP fix for 'purple tint'
Backport the series from https://patchwork.libcamera.org/cover/24169/,
fixing 'purple tint' issues on the Pixel 3a and OnePlus6 with Snapshot.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6961>
2025-08-27 09:39:41 +00:00
postmarketOS CI a0a1ff83b0 linux-next: upgrade to next-20250827 2025-08-27 04:51:25 +00:00
postmarketOS CI 7548beca77 linux-next: upgrade to next-20250826 2025-08-26 15:47:07 +00:00
Antoine Martin f712ad7a21 linux-pine64-pinenote: use lid switch to trigger suspend
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6959>
2025-08-25 19:36:26 +00:00
Antoine Martin 52fda58c39 linux-pine64-pinenote: upgrade to 6.15.11
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6959>
2025-08-25 19:36:26 +00:00
postmarketOS CI 3086ac0168 linux-next: upgrade to next-20250825 2025-08-25 15:55:06 +00:00
Tomasz Duda 8edefeb796 community/soc-qcom-msm8953: fix modem script
1. /dev/disk/by-partlabel/persist is mounted twice with diffrent dirs.
umount $PERSIST_DEV unmout the other one
2. /lib/firmware/postmarketos does not exist on xiaomi-daisy, use mkdir -p

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6967>
2025-08-25 14:02:02 +00:00
Luca Weiss f465847f28 modem/rmtfs: patch to serve modem_study partition for Fairphone (Gen. 6)
And replace the modem_tng patch with the version that was accepted
upstream.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6962>
2025-08-25 12:12:42 +00:00
Luca Weiss 25f9af2fdf device-fairphone-fp6: update dtb naming, enable internal storage options
The dtb was renamed to follow the new upstream naming guidelines.

Add configuration and dependencies that now make sense given that
internal storage is working.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6962>
2025-08-25 12:12:42 +00:00
Luca Weiss 2f20590e9e firmware-fairphone-fp6: update firmware path
The firmware has moved to a different path, along with updated naming
guidelines upstream.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6962>
2025-08-25 12:12:42 +00:00
Luca Weiss 487c0eb8f4 linux-postmarketos-qcom-sm7635: upgrade to 6.16
From the first revision, the compatibles and names were changed from
sm7635 to milos, to follow the new upstream naming guidelines.

Significant Milos-specific changes:
* UFS (internal storage) now works
* CCI I2C enablement including the EEPROMs on the camera sensors
* Partial IPA (mobile data) enablement, at least allows ModemManager to
  detect the modem, but mobile data is still broken.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6962>
2025-08-25 12:12:42 +00:00
Barnabás Czémán 96c5c964a0 linux-postmarketos-qcom-msm8953: Upgrade to 6.16.3-r0
Signed-off-by: Barnabás Czémán <barnabas.czeman@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6969>
2025-08-24 22:49:53 +02:00
Andrei Zisu 8e45b27c2c device-mnt-reform2-bpi-cm4: load rtw88 firmware
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6820
2025-08-23 19:35:37 +00:00
Andrei Zisu 20e4ba67c2 mnt-reform2-bpi-cm4: new device
Copied from the cm4io package

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6820
2025-08-23 19:34:45 +00:00
Andrei Zisu a2160a27b4 linux-postmarketos-amlogic: add upstream MNT patches
The patches are altered to remove the noisy kernel messages.

By default they use KERN_ALERT, which is very intrusive.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6820
2025-08-23 19:34:45 +00:00
Andrei Zisu e1dd67402d linux-postmarketos-amlogic: enable MNT Reform 2 devices
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6820
2025-08-23 19:34:45 +00:00
Andrei Zisu 36f90f02ec device-bananapi-bpi-cm4-cm4io: fix u-boot path
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6820
2025-08-23 19:34:45 +00:00
Robert Eckelmann 9a8de0becf linux-postmarketos-grate: enable kconfig:immutable settings
Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6951>
2025-08-23 12:18:03 +00:00
Aster Boese a58328e628 main/postmarketos-ui-moonlight: move tinydm config to /usr/share/tinydm/
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6933>
2025-08-23 12:16:58 +00:00
Aster Boese 5319277d3b main/postmarketos-base-ui: move tinydm config to /usr/share/tinydm/
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6933>
2025-08-23 12:16:58 +00:00
Aster Boese 0933453ea7 google-nyan-blaze: move tinydm config to /usr/share/tinydm/
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6933>
2025-08-23 12:16:58 +00:00
Aster Boese 5ae43966c7 google-nyan-big: move tinydm config to /usr/share/tinydm/
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6933>
2025-08-23 12:16:58 +00:00
Aster Boese 777ff25a35 purism-librem5: move tinydm config to /usr/share/tinydm/
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6933>
2025-08-23 12:16:58 +00:00
adamthiede 1d0e6ef25d linux-postmarketos-mediatek-mt8173: upgrade to 6.16.1
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6946>
2025-08-23 12:06:46 +00:00
Sicelo A. Mhlongo 610b62c87c wl1251-cal: drop wl1251 module blacklist
Since /lib/firmware is always mounted as soon as / is mounted, wl1251-cal can
still be effective without the module blacklist, as long as care is taken to
ensure the service runs as soon as possible, and strictly before udev starts.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6943>
2025-08-23 12:05:43 +00:00
-akku- 41f2a398f1 main/mkbootimg-osm0sis: explicitly refer to pmbootstrap#441 2025-08-22 12:00:53 -04:00
Affe Null 5ba22e3169 device-jolla-c2: depend on soc-unisoc-ums9230
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6941>
2025-08-22 15:51:43 +00:00
Affe Null 9a49bd4960 modem/unisoc-timesync-daemon: new aport
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6941>
2025-08-22 15:51:43 +00:00
Affe Null 075565220c modem/unisoc-nvitem-daemon: upgrade to 0_git20250618
Also fix the systemd service installation.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6941>
2025-08-22 15:51:43 +00:00
Affe Null f2ac26d603 soc-unisoc-ums9230: new aport
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6941>
2025-08-22 15:51:43 +00:00
Affe Null f5700ea58f linux-postmarketos-unisoc-ums9230: upgrade to 6.17.0_rc1_git20250814
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6941>
2025-08-22 15:51:43 +00:00
Affe Null 0d3efa8c62 alsa-ucm-conf-unisoc-ums9230: upgrade to 1.2.9_git20250614
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6941>
2025-08-22 15:51:43 +00:00
Henrik Grimler 903baf437c linux-postmarketos-exynos4: update to 6.16.1
Some notable changes since 6.10.1 are:

- Add support for konawifi (@jack_kekzoz)
- Drop initramfs that we carried in kernel (only exynos4210 devices
  needed it, and those can now use u-boot)
- Update config to make kernel a bit smaller (disable some options,
  make others modules), and enable options to make pmbootstrap kconfig
  happy
- Add ctx->panel.prepare_prev_first to ea8061 panel driver, to fix
  issue where panel is all black

Co-developed-by: @knuxify <knuxify@gmail.com>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6921>
2025-08-22 11:46:46 -04:00
Henrik Grimler e74d7fdd69 device-samsung-i9100: use u-boot as intermediate bootloader
The close-to-mainline u-boot fork can then load linux from boot
partition.

One downside is that it will no longer be possible to flash through
pmbootstrap, since there is no support for flashing arbritrary targets
to arbritrary partitions with pmbootstrap, yet.

Therefore, users will need to manually flash
/usr/share/u-boot/trats/u-boot.bin to the KERNEL partition for i9100
to work after these changes.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6921>
2025-08-22 11:46:46 -04:00
Henrik Grimler 06f5839fe0 testing/u-boot-samsung-i9100: add package
Close-to-mainline fork (also kept at
https://gitlab.com/exynos4-mainline/u-boot/) where i9100 can use
trats_defconfig, since exynos4210-trats is very similar to i9100.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6921>
2025-08-22 11:46:46 -04:00
Henrik Grimler f9ba174a1c archived/u-boot-samsung-i9100: drop package
It is very old, and a mainline based variant will be added shortly.

Drop the package so that the name does not conflict with the new one.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6921>
2025-08-22 11:46:46 -04:00
postmarketOS CI 5df8afeeb8 linux-next: upgrade to next-20250822 2025-08-22 15:45:10 +00:00
Luca Weiss 5fa166d6f8 linux-postmarketos-qcom-sc7280: upgrade to 6.16.1
Enable options for SHIFTphone 8, and enable vibration motor driver for
Fairphone 5.

Manual kconfig changes:
* TOUCHSCREEN_FOCALTECH_FT3658U=m
* INPUT_AW86927=m
* DRM_PANEL_SHIFT_SH8804B=m
* LEDS_QCOM_LPG=m

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6934>
2025-08-22 13:07:26 +00:00
Jens Reidel 91a20b30b6 systemd/systemd-services: make iio-sensor-proxy depend on all hexagonrpcd services
This is harmless if the services don't exist (because of Wants instead
of Requires) and applies the correct ordering for devices with
hexagonrpcd and no sdsp.

Signed-off-by: Jens Reidel <adrian@travitia.xyz>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6960>
2025-08-22 11:31:21 +00:00
Antoine Martin 174b5f611f linux-radxa: rebuild kernel
Fixes #3926 by rebuilding the kernel, thus rebuilding the failing binary
`scripts/basic/fixdep`.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6958>
2025-08-21 18:19:30 -04:00
Biswapriyo Nath 0326bcea42 systemd/kjournald: Add missing qt6 build dependency
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6954>
2025-08-21 16:10:37 +00:00
Alexey Minnekhanov 29025ea0f8 systemd/systemd-services: fix rmtfs service dependencies
Fixes service shutdown order on device shutdown/reboot.
Basically you can't shutdown rmtfs before Wi-Fi is shut down, due to
how remote processors are involved in this on qcom platforms.
If modem is powered off, all attepts to communicate with Wi-Fi
firmware are nonsense and this hangs device on shutdown/reboot
or send it to crashdump mode.

Openrc sercice already has the correct dependency.

Fixes: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3936

For more details, see upstream PR: https://github.com/linux-msm/rmtfs/pull/24

We can safely replace the `Before=msm-modem-uim-selection.service` line
because msm-modem-uim-selection already has its own deps specified in its
own service file.

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6956>
2025-08-21 15:46:29 +00:00
postmarketOS CI 453cb8895b linux-next: upgrade to next-20250821 2025-08-21 15:46:08 +00:00
Oliver Smith d2b4965e3a cross/musl-*: upgrade to 1.2.5-r20
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6955>
2025-08-20 18:58:19 +02:00
Robert Bloy 0431133641 fbkeyboard: new switch for correct interpret x/y touc event
On some devices, the x/y coordinates are interpreted incorrectly, e.g., Amazon Ford. The -i switch applies a transformation of y = max - y.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6942>
2025-08-19 14:35:55 -07:00
Robert Bloy 721f3e6b8d downstream/linux-amazon-ford: Change Downstream Kernel to 3.10.108 and add Patch for Touchpanel
With Amazon Ford Tab 7 where was a scaling in Touchpanel Driver for ssd60xx, this lead to misfunctional touch events in fbkeyboard. This patch remove the scaling and swapping x/y-coordinates

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6942>
2025-08-19 14:35:55 -07:00
Clayton Craft 668933bec1 linux-postmarketos-qcom-laptop: enable dm-verity, erofs
See:
https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6949

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6948>
2025-08-19 21:32:32 +00:00
Clayton Craft a31e5d40b0 systemd/qemu-binfmt: new aport
This could be folded into aports/qemu.. but I'm not sure if
they'd accept it since the path these install to seems(?) to be
systemd-specific? Once there's -systemd split pkg support in abuild,
then maybe it'll make sense to move this to aports.

fixes #3394

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6950
[ci:skip-build]: already built successfully in CI
2025-08-19 10:34:57 -07:00
Henrik Grimler 19589d554d device-odroid-u2: fix so that extlinux config is generated again
I accidentally dropped it in a rebase.

Fixes: e76edf7044 ("device-odroid-u2: depend on firmware-odroid-u2
and clean up cmdline")

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6940>
2025-08-19 09:13:03 +00:00
Barnabás Czémán dbd82b84c9 main/lk2nd: Upgrade to 21.0
Upgrade to 21.0 and ignore devices with QCDTB on MSM8953 for
fix xiaomi-markw and maybe other devices.

Signed-off-by: Barnabás Czémán <barnabas.czeman@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6938>
2025-08-18 21:22:27 +00:00
Oliver Smith ff77857739 systemd/drkonqi: upgrade to 6.4.4
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6945>
2025-08-17 20:23:53 +02:00
Tomasz Duda 97d391b2e7 systemd/systemd-services: add system-watchdog-kick.service
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6883
2025-08-17 12:47:56 -04:00
Oliver Smith 8c823bc6ce systemd/plasma-workspace: upgrade to 6.4.4
[ci:skip-build]: CI has passed for all arches, but armv7 and riscv64. It
has already been doing these for 3 hours and would probably take another
3h to complete... seems unlikely that it will fail here from past
experience, so I'll just skip these here as this will fix a lot of
errors.

Related: https://gitlab.alpinelinux.org/alpine/aports/-/commit/715fc4ee47defccc2187b542dc77481c90a02c0a
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6931>
2025-08-17 16:14:54 +00:00
Oliver Smith c3e234a128 systemd/kwin: upgrade to 6.4.4
Related: https://gitlab.alpinelinux.org/alpine/aports/-/commit/715fc4ee47defccc2187b542dc77481c90a02c0a
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6931>
2025-08-17 16:14:54 +00:00
Oliver Smith 0d07c43771 systemd/kscreenlocker: upgrade to 6.4.4
Related: https://gitlab.alpinelinux.org/alpine/aports/-/commit/715fc4ee47defccc2187b542dc77481c90a02c0a
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6931>
2025-08-17 16:14:54 +00:00
Oliver Smith 5053fa4853 cross/.gitlab-ci.yml: add tags: [qemu]
The runners from OSUOSL sometimes still fail to run jobs that emulate
other arches via QEMU. We run into this when building gcc-x86_64 for
aarch64 on x86_64 through QEMU. Use the usual workaround of running the
job on our own builder.

Related: postmarketos issue 83
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6909>
2025-08-17 16:13:35 +00:00
Oliver Smith ed7213823e cross/.gitlab-ci.yml: store log on error
Make the log available, currently it gets cut off:

> Job's log exceeded limit of 4194304 bytes.
> Job execution will continue but no more output will be collected.

Remove --details-to-stdout, as it causes the log to only get written to
stdout, not to the log file.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6909>
2025-08-17 16:13:35 +00:00
Oliver Smith 6d9ab71015 cross/.gitlab-ci.yml: fix building 3 pkgs
The hello-world, iskey, pbsplash packages didn't actually get built in
this test as --force was missing and the versions don't change when
upgrading gcc. The last and most important one for building gcc-x86_64
with gcc-aarch64 did work though.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6909>
2025-08-17 16:13:32 +00:00
Oliver Smith 689d67be2e cross/gcc-*: upgrade to 15.2.0-r0
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6909>
2025-08-17 16:13:29 +00:00
Oliver Smith 9b53a9c973 device/archived/firmware-*: add Archived comments
Fix that CI is currently failing with errors like:

> FAILED .ci/testcases/test_device.py::test_aports_archived -
> AssertionError:
> /builds/postmarketOS/pmaports/device/archived/firmware-samsung-nevisp/APKBUILD
> should have an Archived: comment that describes why the package is
> archived

Push this directly to master as this is a trivial but important fix to
make CI pass again for open MRs.
2025-08-17 18:11:59 +02:00
Jens Reidel 4182d118f9 main/qemu-ppc64le: new device (MR 5774)
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
[ci:skip-vercheck]: forked paackages

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/5774>
2025-08-17 12:43:26 +00:00
Jens Reidel 1d9acd0cb1 main/postmarketos-qemu-common: support ppc64le (MR 5774)
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/5774>
2025-08-17 12:43:26 +00:00
Jens Reidel ed1039bc18 cross/{gcc-ppc64le,musl-ppc64le}: Generate with aportgen (MR 5774)
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/5774>
2025-08-17 12:43:26 +00:00
Luca Weiss 5ce8ad66ce device/downstream/*: move broken kernels plus devices to archived
All these kernels do not compile anymore, move them and the associated
device and firmware packages to archived.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6700>
2025-08-17 12:29:01 +00:00
Luca Weiss 6333082d49 linux-asus-tf101: drop
No package depends on this one, so drop it. It doesn't build either.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6700>
2025-08-17 12:29:01 +00:00
Achill Gilgenast 1554af78c0 main/postmarketos-base: allow to use doas for different users than root
The user is already able to log in as root and allowing to directly log
into other users allows stuff like running as postgres user.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6936>
2025-08-17 06:44:50 +00:00
Henrik Grimler 306e615062 firmware-odroid-u2: add dependency on linux-firmware-s5p-mfc
Just like for the other exynos4412 and exynos542x devices odroid-u2
wants to load s5p-mfc.fw.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6848
2025-08-16 22:05:02 -04:00
Henrik Grimler e76edf7044 device-odroid-u2: depend on firmware-odroid-u2 and clean up cmdline
firmware-odroid-u2 provides the bootloaders that are necessary to boot
the system.

There is no reason to always boot with loglevel=9, or with rw, and
most often not with PMOS_FORCE_PARTITION_RESIZE.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6848
2025-08-16 22:04:28 -04:00
Henrik Grimler d1ef71b2c7 firmware-odroid-xu4: put s5p-mfc and rtl_nic deps in _pmb_recommends
These firmware packages are not strictly necessary for a booting
system, so move them to _pmb_recommends.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6848
2025-08-16 22:04:28 -04:00
Henrik Grimler 2315bf0f65 device-odroid-xu4: depend on firmware-odroid-xu4
firmware-odroid-xu4 provides the bootloaders needed to successfully
boot odroid-xu4. Also remove the linux-firmware-rtl_nic
dependency (will be moved to firmware-odroid-xu4 instead).

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6848
2025-08-16 22:04:28 -04:00
Jens Reidel 090f511837 systemd/systemd-services: only start q6voiced if config exists
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
[ci:skip-build]: already built successfully in CI

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6927>
2025-08-17 01:31:46 +02:00
1378 changed files with 76011 additions and 17219 deletions

No files matched your search

+3 -5
View File
@@ -1,14 +1,12 @@
#!/bin/sh -e
# Description: run apkbuild-lint on modified APKBUILDs
# Options: native
# Use 'native' because it requires git commit history.
# Options: with-dot-git
# https://postmarketos.org/pmb-ci
if [ "$(id -u)" = 0 ]; then
set -x
wget "https://gitlab.postmarketos.org/postmarketOS/ci-common/-/raw/master/install_pmbootstrap.sh"
sh ./install_pmbootstrap.sh
exec su "${TESTUSER:-pmos}" -c "sh -e $0"
apk add atools git python3
exec su "${TESTUSER:-build}" -c "sh -e $0"
fi
.ci/lib/apkbuild_linting.py
+22
View File
@@ -0,0 +1,22 @@
#!/bin/sh -e
# Copyright 2025 Pablo Correa Gomez
# SPDX-License-Identifier: GPL-3.0-or-later
# Description: create documentation with antora
# Options: with-dot-git
# Artifacts: build/site
# https://postmarketos.org/pmb-ci
# Install dependencies
if [ "$(id -u)" = 0 ]; then
set -x
apk -q add git nodejs npm
exec su "${TESTUSER:-build}" -c "sh -e $0"
fi
npm install antora
npx antora -v
# FIXME: https://gitlab.com/antora/antora/-/issues/1183
git clone --depth 1 https://gitlab.postmarketos.org/postmarketOS/handbook
npx antora --clean antora-test.yml
+1
View File
@@ -0,0 +1 @@
lib/build_changed_aports.sh
Executable
+13
View File
@@ -0,0 +1,13 @@
#!/bin/sh -e
# Description: Validate and lint deviceinfo files
# Options: with-dot-git
# https://postmarketos.org/pmb-ci
if [ "$(id -u)" = 0 ]; then
set -x
apk add git python3
apk add dint --allow-untrusted --repository=https://mirror.postmarketos.org/postmarketos/master
exec su "${TESTUSER:-build}" -c "sh -e $0"
fi
.ci/lib/deviceinfo_linting.py
+44 -7
View File
@@ -2,25 +2,62 @@
# SPDX-License-Identifier: GPL-3.0-or-later
import common
import os.path
import os
import sys
import subprocess
import tomllib
custom_valid_options = [
"!pmb:crossdirect",
"!pmb:kconfigcheck",
"pmb:cross-native",
"pmb:cross-native2",
"pmb:drm",
"pmb:gpu-accel", # deprecated
"pmb:strict",
"pmb:systemd",
"pmb:systemd-never",
]
def get_kconfigcheck_categories() -> list [str]:
with open("kconfigcheck.toml", "rb") as kconfigcheck_config:
kconfigcheck_data = tomllib.load(kconfigcheck_config)
kconfigcheck_categories = []
for category_name in kconfigcheck_data:
if category_name == "aliases":
for alias_name in kconfigcheck_data["aliases"]:
kconfigcheck_categories.append(f"pmb:kconfigcheck-{alias_name}")
else:
kconfigcheck_categories.append(category_name)
return [item.replace("category:", "pmb:kconfigcheck-") for item in kconfigcheck_categories]
if __name__ == "__main__":
common.add_upstream_git_remote()
kconfigcheck_categories = get_kconfigcheck_categories()
custom_valid_options += kconfigcheck_categories
os.environ["CUSTOM_VALID_OPTIONS"] = " ".join(custom_valid_options)
apkbuilds = {file for file in common.get_changed_files(removed=False)
if os.path.basename(file) == "APKBUILD"}
if len(apkbuilds) < 1:
print("No APKBUILDs to lint")
sys.exit(0)
packages = []
apkbuilds_filtered = []
for apkbuild in apkbuilds:
if apkbuild.startswith("temp/") or apkbuild.startswith("cross/"):
print(f"NOTE: Skipping linting of {apkbuild}")
continue
packages.append(os.path.basename(os.path.dirname(apkbuild)))
if len(packages) < 1:
apkbuilds_filtered.append(apkbuild)
if len(apkbuilds_filtered) < 1:
print("No APKBUILDs to lint")
sys.exit(0)
common.run_pmbootstrap(["-q", "lint"] + packages)
try:
subprocess.run(["apkbuild-lint", *apkbuilds_filtered], text=True, check=True)
except subprocess.CalledProcessError as exception:
sys.exit(exception.returncode)
-4
View File
@@ -32,12 +32,8 @@ if __name__ == "__main__":
arch = sys.argv[1]
# Get and print modified packages
common.add_upstream_git_remote()
packages = common.get_changed_packages()
# Package count sanity check
common.get_changed_packages_sanity_check(len(packages))
# Load context
sys.argv = ["pmbootstrap.py", "chroot"]
args = pmb.parse.arguments()
+40 -6
View File
@@ -46,7 +46,7 @@ def get_package_contents(package, revision, check=True):
def get_package_version(package, revision, check=True):
""" returns version in the format "{pkgver}-r{pkgrel}", or None if no
""" returns version in the format "{pkgver}-r{pkgrel}", or None if no
matching package is found """
parsed = get_package_contents(package, revision, check)
if parsed is None:
@@ -104,6 +104,9 @@ def check_versions(packages):
# desired here, since we already know what packages changed, and really
# want to check if the version was increased towards *current* upstream
# branch HEAD.
common.run_git(["remote", "add", "upstream",
"https://gitlab.postmarketos.org/postmarketOS/pmaports.git"], False)
common.run_git(["fetch", "-q", "upstream"])
commit = f"upstream/{common.get_upstream_branch()}"
if common.run_git(["rev-parse", "HEAD"]) == common.run_git(["rev-parse",
commit]):
@@ -180,19 +183,50 @@ def check_versions(packages):
if error:
exit_with_error_message()
def check_package_count(count):
for mark in ["[ci:ignore-count]", "[ci:skip-build]"]:
if common.commit_message_has_string(mark):
print("NOTE: package count sanity check skipped (" + mark + ").")
return
if count <= 10:
return
branch = common.get_upstream_branch()
print(f"""
ERROR: Too many packages have changed!
This is a sanity check, so we don't end up building packages that
have not been modified. CI won't run for more than three hours
anyway.
Your options:
a) If you *did not* modify everything listed above, then rebase
your branch on the official postmarketOS/pmaports.git {branch}
branch. Feel free to ask in the chat for help if you need any.
b) If you *did* modify all these packages, and you assume that
they will build within one hour: skip this sanity check by
adding '[ci:ignore-count]' to the commit message of the last
commit in the merge request (then force push).
c) If you *did* modify all these packages, and you are sure that
they won't build in time, please add '[ci:skip-build]' to the
commit message (then force push). Make sure that all packages
build with 'pmbootstrap build --strict'!
Thank you and sorry for the inconvenience.
""")
exit(1)
if __name__ == "__main__":
# Get and print modified packages
common.add_upstream_git_remote()
packages = common.get_changed_packages()
print(f"Changed packages: {packages}")
# Verify modified package count
common.get_changed_packages_sanity_check(len(packages))
if len(packages) == 0:
print("no aports changed in this branch")
exit(0)
print(f"Changed packages: {packages}")
check_package_count(len(packages))
# Potentially skip this check
if common.commit_message_has_string("[ci:skip-vercheck]"):
print("WARNING: not checking for changed package versions"
-2
View File
@@ -75,8 +75,6 @@ def show_error_all():
if __name__ == "__main__":
common.add_upstream_git_remote()
if "kconfigcheck.toml" in common.get_changed_files():
print("kconfigcheck.toml changed -> checking all kernels")
if not check_kconfig_all():
+14 -2
View File
@@ -7,6 +7,8 @@ import argparse
import sys
import urllib.request
# Same dir
import common
def get_devices() -> list[str]:
""":returns: list of all devices"""
@@ -94,13 +96,23 @@ def main() -> int:
parser.add_argument("--path", help="instead of downloading the devices"
" page from the wiki, use a local HTML file",
type=Path, default=None)
parser.add_argument("--all", help="check all devices (default: check only"
" devices changed from branch point)",
action="store_true")
args = parser.parse_args()
# Check all devices
html = get_wiki_devices_html(args.path)
html["renamed"] = get_wiki_renamed_devices_html()
error = False
for device in get_devices():
devices = []
if args.all:
devices = get_devices()
else:
devices = common.get_changed_devices()
# remove 'device-' prefix
devices = [d[7:] for d in devices]
devices = [d.removesuffix("-downstream") for d in devices]
for device in devices:
if not check_device(device, html, args.booting):
error = True
+23 -43
View File
@@ -7,7 +7,6 @@
import configparser
import os
import subprocess
import sys
cache = {}
@@ -33,19 +32,19 @@ def run_git(parameters, check=True, stderr=None):
return None
def add_upstream_git_remote():
""" Add a remote pointing to postmarketOS/pmaports. """
run_git(["remote", "add", "upstream",
"https://gitlab.postmarketos.org/postmarketOS/pmaports.git"], False)
run_git(["fetch", "-q", "upstream"])
def commit_message_has_string(needle):
base_commit = get_base_commit()
return needle in run_git(["log", "--pretty=format:%B", f"{base_commit}..HEAD"])
def all_committed_by_merge_bot():
base_commit = get_base_commit()
commit_emails = run_git(["log", "--pretty=format:%ce", f"{base_commit}..HEAD"]).splitlines()
bot_email = os.getenv("PMOS_MERGE_BOT_EMAIL", "merge-bot@postmarketos.org")
return all(bot_email == ce for ce in commit_emails)
def run_pmbootstrap(parameters):
""" Run pmbootstrap with the pmaports dir as --aports """
cmd = ["pmbootstrap", "--aports", get_pmaports_dir()] + parameters
@@ -92,6 +91,15 @@ def get_base_commit() -> str:
"""Get the base commit that can be compared with HEAD to get all commits in the
given branch/merge request."""
commit = os.getenv("CI_MERGE_REQUEST_DIFF_BASE_SHA")
if commit is not None:
return commit
# Add a remote pointing to postmarketOS/pmaports
run_git(["remote", "add", "upstream",
"https://gitlab.postmarketos.org/postmarketOS/pmaports.git"], False)
run_git(["fetch", "-q", "upstream"])
branch_upstream = f"upstream/{get_upstream_branch()}"
commit_head = run_git(["rev-parse", "HEAD"])[:-1]
commit_upstream = run_git(["rev-parse", branch_upstream])[:-1]
@@ -133,41 +141,6 @@ def get_changed_files(removed=True):
return ret
def get_changed_packages_sanity_check(count):
for mark in ["[ci:ignore-count]", "[ci:skip-build]"]:
if commit_message_has_string(mark):
print("NOTE: package count sanity check skipped (" + mark + ").")
return
if count <= 10:
return
branch = get_upstream_branch()
print(f"""
ERROR: Too many packages have changed!
This is a sanity check, so we don't end up building packages that
have not been modified. CI won't run for more than three hours
anyway.
Your options:
a) If you *did not* modify everything listed above, then rebase
your branch on the official postmarketOS/pmaports.git {branch}
branch. Feel free to ask in the chat for help if you need any.
b) If you *did* modify all these packages, and you assume that
they will build within one hour: skip this sanity check by
adding '[ci:ignore-count]' to the commit message of the last
commit in the merge request (then force push).
c) If you *did* modify all these packages, and you are sure that
they won't build in time, please add '[ci:skip-build]' to the
commit message (then force push). Make sure that all packages
build with 'pmbootstrap build --strict'!
Thank you and sorry for the inconvenience.
""")
sys.exit(1)
def get_changed_packages():
ret = set()
for file in get_changed_files():
@@ -211,3 +184,10 @@ def get_changed_kernels():
if pkgname.startswith("linux-"):
ret += [pkgname]
return ret
def get_changed_devices():
ret = []
for pkgname in get_changed_packages():
if pkgname.startswith("device-"):
ret += [pkgname]
return ret
+17
View File
@@ -0,0 +1,17 @@
#!/usr/bin/env python3
# Copyright 2025 Stefan Hansson
# SPDX-License-Identifier: GPL-3.0-or-later
import common
import os.path
import subprocess
import sys
if __name__ == "__main__":
deviceinfo_files = {file for file in common.get_changed_files(removed=False)
if os.path.basename(file) == "deviceinfo"}
try:
subprocess.run(["dint", "check", *deviceinfo_files], text=True, check=True)
except subprocess.CalledProcessError as exception:
sys.exit(exception.returncode)
+9 -2
View File
@@ -149,6 +149,7 @@ class ArchTagSet(set):
Arch.armv7,
Arch.armhf,
Arch.riscv64,
Arch.ppc64le,
]
def update(self, iterable):
@@ -184,7 +185,6 @@ if __name__ == "__main__":
devices_under_test = set()
packages_modified = set()
# Get and print modified packages
common.add_upstream_git_remote()
for file in common.get_changed_files():
path = Path(file)
@@ -206,8 +206,14 @@ if __name__ == "__main__":
if apkbuild['pkgname'] in device.dependencies:
devices_under_test.add(device)
skip = False
if common.commit_message_has_string("[ci:skip-build]"):
print("User requested skipping build, not creating child pipeline file")
print("User requested skipping build, skipping build")
skip = True
if common.all_committed_by_merge_bot():
print("All commits in branch committed by merge bot, skipping build")
skip = True
if skip:
archs = ArchTagSet()
devices_under_test = set()
@@ -226,6 +232,7 @@ if __name__ == "__main__":
Arch.armv7: "qemu",
Arch.armhf: "qemu",
Arch.riscv64: "qemu",
Arch.ppc64le: "ppc64le",
},
)
with open(child_pipeline, "w") as fw:
+84
View File
@@ -23,6 +23,8 @@ _test_passedn=0
_test_failedn=0
_test_current_test=""
_test_statefile="$(mktemp)"
_test_original_pwd=""
_test_temp_root=""
# Set by each test
results_dir="${results_dir:-}"
@@ -42,6 +44,23 @@ test_debug() {
echo -e "${YELLOW}$*${RESET}" >&2
}
create_test_root() {
_test_original_pwd="$(pwd)"
_test_temp_root="$(mktemp -d)"
cd "$_test_temp_root"
}
cleanup_test_root() {
if [ -n "$_test_original_pwd" ]; then
cd "$_test_original_pwd"
fi
if [ -n "$_test_temp_root" ] && [ -d "$_test_temp_root" ]; then
rm -rf "$_test_temp_root"
fi
_test_original_pwd=""
_test_temp_root=""
}
assert_strequal() {
# $1: first string
# $2: second string
@@ -87,6 +106,71 @@ assert_unset() {
test_log " ✅ \$$1 is unset"
}
assert_exists() {
# $1: filename to test
if [ -z "$1" ]; then
test_log "ERROR: assert_exists: not enough arguments given"
exit 1
fi
if ! [ -e "$1" ]; then
_test_assert_failed="\$$1 should exist but does not"
test_log " ❌ $_test_assert_failed"
return
fi
test_log " ✅ \$$1 exists"
}
assert_not_exists() {
if [ -z "$1" ]; then
test_log "ERROR: assert_not_exists: not enough arguments given"
exit 1
fi
if [ -e "$1" ]; then
_test_assert_failed="\$$1 should NOT exist but does"
test_log " ❌ $_test_assert_failed"
return
fi
test_log " ✅ \$$1 does not exist"
}
assert_contains() {
# $1: string to search in
# $2: substring to find
if [ -z "$1" ] || [ -z "$2" ]; then
test_log "ERROR: assert_contains: not enough arguments given"
exit 1
fi
case "$1" in
*"$2"*)
test_log " ✅ '$2' found in '$1'"
;;
*)
_test_assert_failed="'$2' not found in '$1'"
test_log " ❌ $_test_assert_failed"
return
;;
esac
}
assert_not_contains() {
# $1: string to search in
# $2: substring that should not be found
if [ -z "$1" ] || [ -z "$2" ]; then
test_log "ERROR: assert_not_contains: not enough arguments given"
exit 1
fi
case "$1" in
*"$2"*)
_test_assert_failed="'$2' found in '$1' but should not be"
test_log " ❌ $_test_assert_failed"
return
;;
*)
test_log " ✅ '$2' not found in '$1'"
;;
esac
}
# Log some expression and evaluate it
logeval() {
eval "$*"
-1
View File
@@ -26,7 +26,6 @@ def verify_checksums(packages):
if __name__ == "__main__":
# Get and print modified packages
common.add_upstream_git_remote()
packages = common.get_changed_packages()
# Load context
+2 -12
View File
@@ -26,17 +26,7 @@ pmbootstrap work_migrate
pmbootstrap config aports "$pmaports"
pmbootstrap -q shutdown
# Make sure we have a valid device (pmbootstrap#1128)
device="$(pmbootstrap config device)"
deviceinfo="$pmaports/device/*/device-$device/deviceinfo"
# shellcheck disable=SC2086
if ! [ -e $deviceinfo ]; then
echo "ERROR: Could not find deviceinfo file for selected device '$device'."
echo "Expected path: $deviceinfo"
echo "Maybe you have switched to a branch where your device does not exist?"
echo "Use 'pmbootstrap config device qemu-amd64' to switch to a valid device."
exit 1
fi
# Needed to import "common"
export PYTHONPATH=".ci/lib"
# Run testcases
pytest -vv -x --tb=native "$pmaports/.ci/testcases" "$@"
+1
View File
@@ -24,6 +24,7 @@ sh_files="
./main/ttyescape/*.post-install
./main/unl0kr/unlock.sh
./device/community/soc-qcom/call_audio_idle_suspend_workaround.sh
./extra-repos/systemd/postmarketos-base-systemd/rootfs-usr-libexec-systemd-apk-trigger
$(find . -path './main/postmarketos-ui-*/*.sh')
$(find . -path './main/postmarketos-ui-*/*.pre-install')
+6 -6
View File
@@ -46,20 +46,20 @@ def test_executable_files():
"m0755` or a variation thereof.")
# Make sure files are either:
# - in root directory (README.md)
# - hidden (.ci/, device/.shared-patches/)
# - or belong to a package (below a directory with APKBUILD)
# Make sure files belong to a package (below a directory with APKBUILD)
def test_files_belong_to_package():
# Walk directories and set package_dir when we find an APKBUILD
# This allows matching files in subdirectories to the package directory.
package_dir = None
for dirpath, dirs, files in os.walk("."):
# Skip "hidden" directories
# Skip "hidden" directories (.ci/, device/.shared-patches/)
dirs[:] = [d for d in dirs if not d.startswith(".")]
# Ignore files in root directory
# Ignore files in root directory (README.md)
if dirpath == '.':
continue
# Ignore files under docs/
if dirpath.startswith('./docs'):
continue
# Switched to another directory?
if package_dir and not dirpath.startswith(package_dir + os.sep):
+10 -8
View File
@@ -2,14 +2,10 @@
# Copyright 2021 Oliver Smith
# SPDX-License-Identifier: GPL-3.0-or-later
import glob
import pytest
import sys
import os
from pathlib import Path
import add_pmbootstrap_to_import_path
import common
import pmb.parse
from pmb.core.pkgrepo import pkgrepo_iglob
def test_aports_ui():
@@ -17,9 +13,15 @@ def test_aports_ui():
Raise an error if package in _pmb_recommends is not found
"""
pmaports_cfg = pmb.config.pmaports.read_config()
for arch in pmaports_cfg["supported_arches"].split(","):
for path in pkgrepo_iglob("main/postmarketos-ui-*/APKBUILD"):
for path in common.get_changed_files():
path = Path(path)
if path.name != "APKBUILD":
continue
if not path.parent.name.startswith("postmarketos-ui"):
continue
apkbuild = pmb.parse.apkbuild(path)
# Skip if arch isn't enabled
if not pmb.helpers.package.check_arch(apkbuild["pkgname"], arch, False):
+3 -1
View File
@@ -7,9 +7,11 @@
if [ "$(id -u)" = 0 ]; then
set -x
apk -q add \
git \
python3
exec su "${TESTUSER:-build}" -c "sh -e $0"
fi
set -x
.ci/lib/check_devices_in_wiki.py --booting
# shellcheck disable=SC2068
.ci/lib/check_devices_in_wiki.py --booting $@
+6
View File
@@ -49,6 +49,12 @@ case "$lcp" in
device/*/*)
prefix="$(echo "$lcp" | cut -d/ -f3)"
;;
docs/*.adoc)
prefix="docs/$(basename $lcp .adoc)"
;;
docs/*)
prefix="docs"
;;
device/*)
# Multiple packages touched for same device category. More
# logic could be added to detect if they all belong to same
+2 -1
View File
@@ -65,8 +65,9 @@ instance/
# Scrapy stuff:
.scrapy
# Sphinx documentation
# Documentation
docs/_build/
build/site
# PyBuilder
target/
+40
View File
@@ -10,6 +10,7 @@ stages:
- build
- autoupdate
- test
- deploy
variables:
# Default of 20 is pretty small, sometimes MRs have >20 commits in them. 100
# seems like a reasonable balance. If this is too low, git merge-base (from ci/
@@ -21,6 +22,8 @@ workflow:
rules:
# Run for merge requests
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
# Some things have to run in the default branch
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
# Run scheduled pipeline for autoupdate or manually triggered pipeline
- if: $CI_PIPELINE_SOURCE == "schedule" || $CI_PIPELINE_SOURCE == "web"
@@ -101,6 +104,22 @@ aport-lint:
- .ci/apkbuild-lint.sh
allow_failure: true
# deviceinfo linting
dint:
stage: lint
rules:
- if: *mr_rule
changes:
- .ci/**/*
- .gitlab-ci.yml
- device/*/device-*/deviceinfo
script:
- .ci/lib/gitlab_prepare_ci.sh
- .ci/dint.sh
allow_failure:
exit_codes:
- 2 # returned by dint on non-fatal warning
# kernel kconfig check
kernel-kconfig:
stage: lint
@@ -180,6 +199,27 @@ build-jobs:
rules:
- if: *mr_rule
build-docs:
stage: build
before_script:
- adduser -D build
script:
- .ci/build-docs.sh
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
changes:
- docs/**/*
deploy-docs:
stage: deploy
trigger:
project: postmarketOS/handbook
strategy: depend
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PROJECT_NAMESPACE == "postmarketOS"
changes:
- docs/**/*
auto-update:
stage: autoupdate
rules:
+11 -1
View File
@@ -7,7 +7,17 @@ There are many more packages defined in the [Alpine Linux aports](https://gitlab
Helpful resources:
* [How to create a package](https://wiki.postmarketos.org/wiki/Create_a_package)
* [APKBUILD reference](https://wiki.alpinelinux.org/wiki/APKBUILD_Reference)
* [pmaports commit style](./COMMITSTYLE.md)
* [Review and merging guidelines](./docs/modules/ROOT/pages/merging-rules.adoc)
* [Alpine Linux aports](https://gitlab.alpinelinux.org/alpine/aports/)
* [Alpine Linux package search](https://pkgs.alpinelinux.org/packages)
* [postmarketOS package search](https://pkgs.postmarketos.org/packages)
* [postmarketOS commit style](./COMMITSTYLE.md)
## Git Hooks
You can find some useful git hooks in the `.githooks` directory.
To use them, run the following command after cloning this repository:
```sh
git config --local core.hooksPath .githooks
```
+16
View File
@@ -0,0 +1,16 @@
site:
title: Device ports
start_page: pmaports::index.adoc
content:
sources:
- url: .
start_path: docs
branches: HEAD
- url: https://gitlab.postmarketos.org/postmarketOS/handbook
branches: HEAD
ui:
bundle:
url: https://gitlab.postmarketos.org/postmarketOS/antora-ui-default/-/jobs/artifacts/HEAD/raw/build/ui-bundle.zip?job=bundle-stable
snapshot: true
+11 -5
View File
@@ -1,15 +1,21 @@
cross-gcc-tests:
extends: .package-test
tags: [qemu]
before_script:
- wget "https://gitlab.postmarketos.org/postmarketOS/ci-common/-/raw/master/install_pmbootstrap.sh"
- sh ./install_pmbootstrap.sh
script:
- su pmos -c "pmbootstrap --details-to-stdout build gcc-aarch64"
- su pmos -c "pmbootstrap --details-to-stdout build --arch=aarch64 hello-world"
- su pmos -c "pmbootstrap --details-to-stdout build --arch=aarch64 iskey"
- su pmos -c "pmbootstrap --details-to-stdout build --arch=aarch64 pbsplash"
- su pmos -c "pmbootstrap --details-to-stdout build --arch=aarch64 gcc-x86_64"
- su pmos -c "pmbootstrap build gcc-aarch64"
- su pmos -c "pmbootstrap build --arch=aarch64 hello-world --force"
- su pmos -c "pmbootstrap build --arch=aarch64 iskey --force"
- su pmos -c "pmbootstrap build --arch=aarch64 pbsplash --force"
- su pmos -c "pmbootstrap build --arch=aarch64 gcc-x86_64"
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
changes:
- cross/gcc-x86_64/APKBUILD
artifacts:
when: always
paths:
- log.txt
expire_in: 1 week
-36
View File
@@ -1,36 +0,0 @@
# Automatically generated aport, do not edit!
# Generator: pmbootstrap aportgen busybox-static-aarch64
# Stub for apkbuild-lint
if [ -z "$(type -t arch_to_hostspec)" ]; then
arch_to_hostspec() { :; }
fi
pkgname=busybox-static-aarch64
pkgver=1.37.0
pkgrel=22
_arch="aarch64"
_mirror="http://dl-4.alpinelinux.org/alpine/"
url="http://busybox.net"
license="GPL2"
arch="x86_64"
options="!check !strip"
pkgdesc="Statically linked Busybox for $_arch"
_target="$(arch_to_hostspec $_arch)"
source="
busybox-static-$pkgver-r$pkgrel-$_arch-edge.apk::$_mirror/edge/main/$_arch/busybox-static-$pkgver-r$pkgrel.apk
"
package() {
mkdir -p "$pkgdir/usr/$_target"
cd "$pkgdir/usr/$_target"
tar -xf $srcdir/busybox-static-$pkgver-r$pkgrel-$_arch-edge.apk
rm .PKGINFO .SIGN.*
}
sha512sums="
9ab4cc4a70e7fb124c09860cc783ecfdda13af0b1acc726704dbfd0af5c5302b3cfdbee55cacaa4deb5a367afab3e67d9dea54fcb1fd1c5de77a12cc7cf862da busybox-static-1.37.0-r22-aarch64-edge.apk
"
-36
View File
@@ -1,36 +0,0 @@
# Automatically generated aport, do not edit!
# Generator: pmbootstrap aportgen busybox-static-armhf
# Stub for apkbuild-lint
if [ -z "$(type -t arch_to_hostspec)" ]; then
arch_to_hostspec() { :; }
fi
pkgname=busybox-static-armhf
pkgver=1.37.0
pkgrel=22
_arch="armhf"
_mirror="http://dl-4.alpinelinux.org/alpine/"
url="http://busybox.net"
license="GPL2"
arch="x86_64"
options="!check !strip"
pkgdesc="Statically linked Busybox for $_arch"
_target="$(arch_to_hostspec $_arch)"
source="
busybox-static-$pkgver-r$pkgrel-$_arch-edge.apk::$_mirror/edge/main/$_arch/busybox-static-$pkgver-r$pkgrel.apk
"
package() {
mkdir -p "$pkgdir/usr/$_target"
cd "$pkgdir/usr/$_target"
tar -xf $srcdir/busybox-static-$pkgver-r$pkgrel-$_arch-edge.apk
rm .PKGINFO .SIGN.*
}
sha512sums="
a625d518a850c69079ae16438deffba87c06ab9ac40f1e63b8f02f04b156f5ddb899aa7687b16affac42744f80acdd07e160abeb5b4a5ecd2327f20c1f4933fc busybox-static-1.37.0-r22-armhf-edge.apk
"
-36
View File
@@ -1,36 +0,0 @@
# Automatically generated aport, do not edit!
# Generator: pmbootstrap aportgen busybox-static-armv7
# Stub for apkbuild-lint
if [ -z "$(type -t arch_to_hostspec)" ]; then
arch_to_hostspec() { :; }
fi
pkgname=busybox-static-armv7
pkgver=1.37.0
pkgrel=22
_arch="armv7"
_mirror="http://dl-4.alpinelinux.org/alpine/"
url="http://busybox.net"
license="GPL2"
arch="x86_64"
options="!check !strip"
pkgdesc="Statically linked Busybox for $_arch"
_target="$(arch_to_hostspec $_arch)"
source="
busybox-static-$pkgver-r$pkgrel-$_arch-edge.apk::$_mirror/edge/main/$_arch/busybox-static-$pkgver-r$pkgrel.apk
"
package() {
mkdir -p "$pkgdir/usr/$_target"
cd "$pkgdir/usr/$_target"
tar -xf $srcdir/busybox-static-$pkgver-r$pkgrel-$_arch-edge.apk
rm .PKGINFO .SIGN.*
}
sha512sums="
875b7267c85f551338d0bf6123421cfa374ad6cfbdda596a580e426d1e99bc45a127d92191dcd84b0fc2e851e6e73949f5281307a2f4948345d22ef7a5a856e4 busybox-static-1.37.0-r22-armv7-edge.apk
"
+3 -3
View File
@@ -20,8 +20,8 @@
# as simple shell wrappers.
pkgname=crossdirect
pkgver=5.3.0
pkgrel=1
pkgver=5.3.1
pkgrel=0
pkgdesc="Wrappers to launch native programs (e.g. cross compilers) in foreign chroots"
url="https://postmarketOS.org"
arch="all"
@@ -128,7 +128,7 @@ package() {
sha512sums="
0f4b48f250425dc57f63955fc8b38477d23db793bee367c3fbe03c3d2a559ba576434d07518310db4cae9d90d501af4051b80038b10fae94b980e537fc9374ad cargo.sh
b2e602b7fc95ed403d29f0d754879d5f773c39ee33e726bb10cff17b3c088406dac84f2ca6d8ad563c64370007d98af805d6ee9cd4a06fe3d4c61c0cb90c5c0c crossdirect.c
a87d91b6e3286ce29fb1f487954e7154f282194691a1bf19b4cd80cca07a9c36aa96306883b1a6671ffbc2b503575a8c9484dccde8c55431845056c6f377bec5 exec_native.sh
73e2b5d2d8ef7c6002b3a787d14945586991493b8d81f59e5c0beda0d3b290543e1fdc6f288da726c5dd121c0861d2a894410b7b749a537df0df5b409e102330 exec_native.sh
ea9bf8db3810d03d0a7395057f3d6e57f7127d87c55deaedc171c255288f5f3cc6fbcc680a5a1b92786cf573875d5dc22521173799fe2639acc97d0715ff905b rust-qemu-linker.sh
de2aa6929bbff5db9132673e667f4525b333d062cb1f7a0597dd924de9e5c7215a9f8e2e6263b6fb5ace06f2c4b64f4ebfd0ede9b78add07c2cd08ec8613e98f rustc.sh
"
+10 -2
View File
@@ -1,12 +1,20 @@
#!/bin/sh -e
# Execute the binary from the native chroot if it is installed there. This is
# done for archiver tools such as unxz, so they don't need to go through QEMU.
BASENAME="$(basename "$0")"
if [ -n "$LD_PRELOAD" ]; then
# The archiver tool gets called during package(), which abuild runs
# with libfakeroot.so. Some packages do this, like bootchart2, which
# compresses man pages in its "make install". We can't run the native
# binary here due to the LD_PRELOAD, so run the foreign arch one.
export PATH="/usr/bin:/usr/sbin:/sbin:/bin"
exec "$BASENAME" "$@"
fi
# Try /native first, then the foreign arch paths. Never try
# /native/usr/lib/crossdirect as this would result in a loop.
UNWRAPPED_PATH="/native/usr/bin:/native/usr/sbin:/native/sbin:/native/bin:/usr/bin:/usr/sbin:/sbin:/bin"
BASENAME="$(basename "$0")"
UNWRAPPED_BIN="$(PATH="$UNWRAPPED_PATH" command -v "$BASENAME")"
case "$UNWRAPPED_BIN" in
@@ -1,4 +1,4 @@
From a59da582e83071de0566274d912ca6f05f4b75d0 Mon Sep 17 00:00:00 2001
From 95d8fac6247b2cba1142261cc95c21063539112a Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:46:56 +0000
Subject: [PATCH] On linux targets pass --as-needed by default to the linker,
@@ -12,6 +12,7 @@ Subject: [PATCH] On linux targets pass --as-needed by default to the linker,
gcc/config/i386/gnu-user.h | 2 +-
gcc/config/i386/gnu-user64.h | 1 +
gcc/config/ia64/linux.h | 2 +-
gcc/config/loongarch/gnu-user.h | 2 +-
gcc/config/mips/gnu-user.h | 1 +
gcc/config/riscv/linux.h | 1 +
gcc/config/rs6000/linux64.h | 4 ++--
@@ -19,7 +20,7 @@ Subject: [PATCH] On linux targets pass --as-needed by default to the linker,
gcc/config/s390/linux.h | 2 +-
gcc/config/sparc/linux.h | 2 +-
gcc/gcc.cc | 28 ++++++++++++++++++++--------
14 files changed, 36 insertions(+), 19 deletions(-)
15 files changed, 37 insertions(+), 20 deletions(-)
diff --git a/gcc/config/aarch64/aarch64-linux.h b/gcc/config/aarch64/aarch64-linux.h
index 116bb4e69f3..daf99f8dce9 100644
@@ -124,6 +125,19 @@ index a2494c214c4..e1a5d530cdf 100644
%{shared:-shared} \
%{!shared: \
%{!static: \
diff --git a/gcc/config/loongarch/gnu-user.h b/gcc/config/loongarch/gnu-user.h
index fbc75a90ad5..adbc4b7733f 100644
--- a/gcc/config/loongarch/gnu-user.h
+++ b/gcc/config/loongarch/gnu-user.h
@@ -44,7 +44,7 @@ along with GCC; see the file COPYING3. If not see
#undef GNU_USER_TARGET_LINK_SPEC
#define GNU_USER_TARGET_LINK_SPEC \
- "%{G*} %{shared} -m " GNU_USER_LINK_EMULATION \
+ "%{G*} %{shared} --as-needed -m " GNU_USER_LINK_EMULATION \
"%{!shared: %{static} " \
"%{!static: %{!static-pie: %{rdynamic:-export-dynamic} " \
"-dynamic-linker " GNU_USER_DYNAMIC_LINKER "}} " \
diff --git a/gcc/config/mips/gnu-user.h b/gcc/config/mips/gnu-user.h
index 5a82508c113..6eee7cdc603 100644
--- a/gcc/config/mips/gnu-user.h
@@ -1,4 +1,4 @@
From 35c02ea8267e193b92f30495c94ee1e8e5c2be8e Mon Sep 17 00:00:00 2001
From 58a94690d4dd7b34543d9d154abc96d2d90d3b32 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:47:43 +0000
Subject: [PATCH] Enable -Wformat and -Wformat-security by default.
@@ -1,4 +1,4 @@
From 0b82663fd2f054e07e116c4dcc5019f7e969cd3e Mon Sep 17 00:00:00 2001
From b2a755b671d88c34402290d7d769232e01aed350 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@ariadne.space>
Date: Fri, 25 Jul 2025 01:44:20 -0700
Subject: [PATCH] Enable -Wtrampolines by default.
@@ -1,4 +1,4 @@
From 3acf32fc94fd447874b2f1447a19a65f0905bff5 Mon Sep 17 00:00:00 2001
From c355364231395090e7223ec00d8a16065903c2c5 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@ariadne.space>
Date: Fri, 25 Jul 2025 01:49:03 -0700
Subject: [PATCH] gcc: disable SSP on -ffreestanding, -nostdlib and
@@ -1,4 +1,4 @@
From bb98973bdb5fe8bd040e238afe92845203929b59 Mon Sep 17 00:00:00 2001
From 5f09842c19d6db976724cd117190a8a6951acf9b Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@ariadne.space>
Date: Fri, 25 Jul 2025 01:50:42 -0700
Subject: [PATCH] gcc: params: set default ssp-buffer-size to 4
@@ -1,4 +1,4 @@
From f89d8e95b809d02eceee416b463200c9abb2b33e Mon Sep 17 00:00:00 2001
From ee0615536ae0d255f59070b904aa35d6de8fce49 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:50:33 +0000
Subject: [PATCH] Ensure that msgfmt doesn't encounter problems during gcc
@@ -1,4 +1,4 @@
From b45303198567828a5240baf932a8c13255f35d20 Mon Sep 17 00:00:00 2001
From 62966418472466142a9962892177f4b1f9f56944 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:52:07 +0000
Subject: [PATCH] Don't declare asprintf if defined as a macro.
@@ -1,4 +1,4 @@
From 68e2c9356221ba30b27840b9449f742505584cf1 Mon Sep 17 00:00:00 2001
From 0351f4f3dd00bdece780ce5e24d972e97ca1b7ed Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:53:00 +0000
Subject: [PATCH] libiberty: copy PIC objects during build process
+1 -1
View File
@@ -1,4 +1,4 @@
From ca482f8c9cac9617855f908dd30d3d6144e850a0 Mon Sep 17 00:00:00 2001
From bd7e32d5405b6b4f3994a212a77ff2cd33134c74 Mon Sep 17 00:00:00 2001
From: Szabolcs Nagy <nsz@port70.net>
Date: Sat, 24 Oct 2015 20:09:53 +0000
Subject: [PATCH] libgcc_s
+1 -1
View File
@@ -1,4 +1,4 @@
From 6dfb241ae9f879f4945941273dd73eb13f127b06 Mon Sep 17 00:00:00 2001
From c191dc86f4f7340542066f4156aa57be9cfbf876 Mon Sep 17 00:00:00 2001
From: Szabolcs Nagy <nsz@port70.net>
Date: Sat, 7 Nov 2015 02:08:05 +0000
Subject: [PATCH] nopie
@@ -1,4 +1,4 @@
From 8ac6aeca5d6192ee16b959bd8c1903a52d408a55 Mon Sep 17 00:00:00 2001
From f1d6c0950e0f12fb8cf2429da570f478a1369286 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:59:16 +0000
Subject: [PATCH] ada: fix shared linking
@@ -1,4 +1,4 @@
From 7323d68ae46fc8e33c0746799d820a4e4c8c8b72 Mon Sep 17 00:00:00 2001
From 8773e0cf880da9fe80de7f8a662359664bb0b234 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:59:43 +0000
Subject: [PATCH] build: fix CXXFLAGS_FOR_BUILD passing
@@ -1,4 +1,4 @@
From eaf89c8c91806905c6e1ec9519cbfb56296204b0 Mon Sep 17 00:00:00 2001
From 625b8095796f24389fdda5bb5bc6ff9fbb365813 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 07:01:06 +0000
Subject: [PATCH] add fortify-headers paths
@@ -1,4 +1,4 @@
From bdedcd9db7b8291637c5147dd82e8a9e3f5f9c87 Mon Sep 17 00:00:00 2001
From c557286adc46536fe033df400c50a880b672cfd6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timo=20Ter=C3=A4s?= <timo.teras@iki.fi>
Date: Fri, 21 Aug 2020 07:03:00 +0000
Subject: [PATCH] Alpine musl package provides libssp_nonshared.a. We link to
@@ -1,4 +1,4 @@
From 586ce3614d4fc3fbeccf01659114a4643c1879c8 Mon Sep 17 00:00:00 2001
From d698fead9d201ef032e2e978898864335a9ab513 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 07:03:42 +0000
Subject: [PATCH] DP: Use --push-state/--pop-state for gold as well when
@@ -1,4 +1,4 @@
From 0ca7f92018d0bc04a72655f3b130c9aaeea1b771 Mon Sep 17 00:00:00 2001
From 9cf1916bd52d61ea0fd7a8b6acebb1dc4a1f2488 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Thu, 6 Jan 2022 03:12:55 +0000
Subject: [PATCH] aarch64: disable multilib support
@@ -1,4 +1,4 @@
From b48898c8fbd7828b81f407c74c25cf8e07fb73a4 Mon Sep 17 00:00:00 2001
From dc07fb7df8d4f997877d8f98ea9ef8292f738ed3 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Thu, 6 Jan 2022 03:13:59 +0000
Subject: [PATCH] s390x: disable multilib support
@@ -1,4 +1,4 @@
From 158d93ce86f3d311ce489d0740326027068ca721 Mon Sep 17 00:00:00 2001
From 496067ded4a3698468412e240b899755d92b314c Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Thu, 6 Jan 2022 03:14:33 +0000
Subject: [PATCH] ppc64[le]: disable multilib support
@@ -1,4 +1,4 @@
From 6957fc21caca80f5e01db15df6dc8de46c85167b Mon Sep 17 00:00:00 2001
From 3d0f96f3f53a7ff81532f077e9db69d7318db796 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Thu, 6 Jan 2022 03:14:54 +0000
Subject: [PATCH] x86_64: disable multilib support
@@ -1,4 +1,4 @@
From fdcbe7ee4ce81cdf247966385c8d521ac3f5a38c Mon Sep 17 00:00:00 2001
From b1ab523d6fa44aae8f3ec5f787a8f86f8686bf64 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
Date: Mon, 3 Jan 2022 07:14:48 +0100
Subject: [PATCH] riscv: disable multilib support
@@ -1,4 +1,4 @@
From 6f63901256443978a2c3746e72bd5762166a7790 Mon Sep 17 00:00:00 2001
From ee64e5ead8938d5be6cedd674158a25d93711fe3 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 07:05:41 +0000
Subject: [PATCH] always build libgcc_eh.a
@@ -1,4 +1,4 @@
From a365def37f5de93ad85588d8e2c02c0df28e88d6 Mon Sep 17 00:00:00 2001
From 5adfe740c027fb8dc9931053f55f7eae222e6bb4 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@ariadne.space>
Date: Fri, 25 Jul 2025 02:09:02 -0700
Subject: [PATCH] ada: libgnarl: remove use of glibc-specific
@@ -1,4 +1,4 @@
From e1572457f94a26da9a588a36afa3eb0e74122c34 Mon Sep 17 00:00:00 2001
From c8edb618208a854d121ff73c0d82d7cc467a3611 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@ariadne.space>
Date: Fri, 25 Jul 2025 02:13:19 -0700
Subject: [PATCH] ada: libgnarl: use posix_openpt instead of glibc-specific
@@ -1,4 +1,4 @@
From 4f26d4bfedb7f942b69ca4743f053c3a690a0b4a Mon Sep 17 00:00:00 2001
From d3c515c40b9ec0133787388ae7df037e88a95f73 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@ariadne.space>
Date: Fri, 25 Jul 2025 02:18:49 -0700
Subject: [PATCH] ada: libgnarl: adaint: fix sched.h inclusion for musl
@@ -1,4 +1,4 @@
From 6592e702844d31bcef17c340bfc13e0e1be9f132 Mon Sep 17 00:00:00 2001
From 3d13edda0134af3fbb802cdec6406c91003bbc33 Mon Sep 17 00:00:00 2001
From: Drew DeVault <sir@cmpwn.com>
Date: Wed, 9 Dec 2020 07:42:06 +0000
Subject: [PATCH] configure: Add --enable-autolink-libatomic, use in
@@ -1,4 +1,4 @@
From 952070c1616f231a810af2da50264713d7587b48 Mon Sep 17 00:00:00 2001
From ddc31942d7363acc938007d70f29e3e324064f76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
Date: Sun, 29 Aug 2021 12:23:34 +0200
Subject: [PATCH] configure: fix detection of atomic builtins in libatomic
@@ -1,4 +1,4 @@
From 896b002a2afacb4d75d573aca4ae53b499df19cd Mon Sep 17 00:00:00 2001
From e9f4662af949bc56eef27d531605dd90181bc300 Mon Sep 17 00:00:00 2001
From: Samuel Holland <samuel@sholland.org>
Date: Thu, 30 Jun 2022 16:44:51 +0000
Subject: [PATCH] libstdc++: do not throw exceptions for non-C locales on musl
@@ -1,4 +1,4 @@
From 22d69ae3e2768d301ef5a1f1b362c25cf8bf27b9 Mon Sep 17 00:00:00 2001
From b4c412a5d538f7478596880e89d0e6d5046ef16b Mon Sep 17 00:00:00 2001
From: Mathias LANG <pro.mathias.lang@gmail.com>
Date: Mon, 17 Jan 2022 03:49:21 +0000
Subject: [PATCH] gdc: unconditionally link libgphobos against libucontext
@@ -1,4 +1,4 @@
From dc66835022cf68085400f2eed30614c5afdc28a6 Mon Sep 17 00:00:00 2001
From 0c10e5ee09685a5ecc39650e8ec8a1b4f5e096e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
Date: Sat, 16 Jul 2022 09:21:11 +0200
Subject: [PATCH] druntime: link against libucontext on all platforms
@@ -1,4 +1,4 @@
From ab88348da140c68e5e1142041dbe1c7b7d9c9a07 Mon Sep 17 00:00:00 2001
From e5190522319c315efaf9a921737c05fae6a49e85 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
Date: Tue, 19 Jul 2022 14:54:07 +0200
Subject: [PATCH] libgnat: time_t is always 64-bit on musl libc
@@ -1,4 +1,4 @@
From f865fb0a27252bd3a01fc4596f101d389929311c Mon Sep 17 00:00:00 2001
From 3fe1ff6c349a065daba97794c55961cafe6c4a10 Mon Sep 17 00:00:00 2001
From: psykose <alice@ayaya.dev>
Date: Mon, 29 May 2023 15:33:11 +0000
Subject: [PATCH] libphobos: do not use LFS64 symbols
@@ -1,4 +1,4 @@
From cf6ba089ba26cd970962e874a3e35f020c3e921c Mon Sep 17 00:00:00 2001
From ff21b1649c1c5009a33722d21e28af9026c72cd7 Mon Sep 17 00:00:00 2001
From: psykose <alice@ayaya.dev>
Date: Mon, 10 Jul 2023 23:23:29 +0000
Subject: [PATCH] libgo: fix lfs64 use
@@ -1,4 +1,4 @@
From a809e7b909e16fcf3379571417d33574e9c1dbff Mon Sep 17 00:00:00 2001
From 0e09546330c7500b0d6d4e6d4bbf4fe751d57c34 Mon Sep 17 00:00:00 2001
From: Jingyun Hua <huajingyun@loongson.cn>
Date: Mon, 7 Aug 2023 15:25:58 +0800
Subject: [PATCH] loongarch disable multilib support
@@ -1,4 +1,4 @@
From 72606254a2456763cb252b4d729a9505e77e449d Mon Sep 17 00:00:00 2001
From 05b462e0a6de90c0d69a48ed9c58a6f76158344e Mon Sep 17 00:00:00 2001
From: Rich Felker <dalias@aerifal.cx>
Date: Fri, 25 Jul 2025 02:41:46 -0700
Subject: [PATCH] static PIE: ensure -static reaches the linker
@@ -1,4 +1,4 @@
From d984c5c9ed973bb7072b48399e5d9bb1f35c3123 Mon Sep 17 00:00:00 2001
From 4c8cc9a8621b91f8aa83d8ca81f22b00a98d9fa9 Mon Sep 17 00:00:00 2001
From: Andrew Pinski <quic_apinski@quicinc.com>
Date: Fri, 28 Mar 2025 17:25:56 -0700
Subject: [PATCH] except: Don't use the cached value of the gcc_except_table
@@ -1,4 +1,4 @@
From 57eb290b3c8fc36da99213f5050b46cd93575234 Mon Sep 17 00:00:00 2001
From a6c08fc7fe3a144ebd767cd52fe22043947655e9 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@ariadne.space>
Date: Sat, 26 Jul 2025 02:59:45 -0700
Subject: [PATCH] ada: libgnat: use stub symbolic module name functions
@@ -1,4 +1,4 @@
From 3e246a3de14e843b7a9b322bacb4be497e1c504b Mon Sep 17 00:00:00 2001
From 4b5dfaaa043999f353ade7fc09e7f1bb4a6fe6db Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@ariadne.space>
Date: Sat, 26 Jul 2025 03:02:38 -0700
Subject: [PATCH] ada: libgnat: recognize linux-musleabi and linux-muslgnueabi
+44 -43
View File
@@ -24,7 +24,7 @@ CBUILDROOT="/"
_cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET"
pkgname=gcc-aarch64
pkgver=15.1.1_git20250726
pkgver=15.2.0
# i.e. 13.2.1, must match gcc/BASE-VER
_pkgbase="${pkgver%%_git*}"
# date component from snapshots
@@ -235,8 +235,9 @@ fi
#
# PLEASE submit all patches to gcc to https://gitlab.alpinelinux.org/kaniini/alpine-gcc-patches,
# so that they can be properly tracked and easily rebased if needed.
#source="https://dev.alpinelinux.org/archive/gcc/${_pkgbase%%.*}-$_pkgsnap/gcc-${_pkgbase%%.*}-$_pkgsnap.tar.xz
source="https://gcc.gnu.org/pub/gcc/snapshots/${_pkgbase%%.*}-$_pkgsnap/gcc-${_pkgbase%%.*}-$_pkgsnap.tar.xz
#source="https://dev.alpinelinux.org/archive/gcc/${_pkgbase%%.*}-$_pkgsnap/gcc-${_pkgbase%%.*}-$_pkgsnap.tar.xz"
#source="https://gcc.gnu.org/pub/gcc/snapshots/${_pkgbase%%.*}-$_pkgsnap/gcc-${_pkgbase%%.*}-$_pkgsnap.tar.xz"
source="https://gcc.gnu.org/pub/gcc/releases/gcc-$_pkgbase/gcc-$_pkgbase.tar.xz
0001-posix_memalign.patch
0002-gcc-poison-system-directories.patch
0003-specs-turn-on-Wl-z-now-by-default.patch
@@ -285,8 +286,8 @@ source="https://gcc.gnu.org/pub/gcc/snapshots/${_pkgbase%%.*}-$_pkgsnap/gcc-${_p
# - CVE-2023-4039
# we build out-of-tree
builddir="$srcdir"/gcc-${_pkgbase%%.*}-$_pkgsnap
#builddir="$srcdir"/gcc-$_pkgbase
#builddir="$srcdir"/gcc-${_pkgbase%%.*}-$_pkgsnap
builddir="$srcdir"/gcc-$_pkgbase
_gcclibdir="usr/lib/gcc/$CTARGET/$_pkgbase"
_gcclibexec="usr/libexec/gcc/$CTARGET/$_pkgbase"
@@ -750,46 +751,46 @@ gdb() {
}
sha512sums="
21ce5eecd75db4c038389f8c77f985bc58e71d1b2def86fc7b117aa9bbf76885f16fb40d4774aacdf03a6e67a91c26f6ae276256f33a100aedcda18f21e54a0e gcc-15-20250726.tar.xz
89047a2e07bd9da265b507b516ed3635adb17491c7f4f67cf090f0bd5b3fc7f2ee6e4cc4008beef7ca884b6b71dffe2bb652b21f01a702e17b468cca2d10b2de gcc-15.2.0.tar.xz
fd5cebc5deb1d588583424acbc1b5a6d8d6f5b1bfa9f4bdbc082cfd406723f423d87011ee30e04ed18128a7ed8021cbfc9262becff5419125dc1afb6f407defa 0001-posix_memalign.patch
6634004cb9feea9ee0d063d6b6984d7db3b10c692b6139bb99169a4f2d74f0e10b5ca0ab31ce346ffef34b8eb9c3f536aa4d94bce1b27f8e0b8a9fc5cc4b7057 0002-gcc-poison-system-directories.patch
37e089791dbcbad73af866b662cda611dc0970d93e28251c7a9aa898db3b96446654e8b778d7866eb8550ba7f4a57cf22e8514d562bfed0c66613e65550d9c85 0003-specs-turn-on-Wl-z-now-by-default.patch
d4d5bfeb20a9fac968f37497d86d7eff4a9ac863e015dadbffae24c08236f5efde69b615d95191e2546672ce2d4b30d3627528c64a83fc64b715e8fa6fd4c372 0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch
b77cd1ee887fc52afee2fafd2d338f70a62c115017aa4fcb0ab9cf82b8a003794f75b7913cc153c767c351d2be8e1e7c113f893edee818217f20cad3cb6a2e66 0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch
af634de360e8b7aef285702815affb16da667719b786848ccdb9e4cca2a27826793f64c903a32a5d8ba1953965a5cc8999c58e2b6ce9ef36f74807e495cc9e42 0006-Enable-Wformat-and-Wformat-security-by-default.patch
21ad1cd4b7ef652ddaf6b9fb8071a87ec2fc694e8c420a79baf456347b8e1db5930a914c92a375943dda63d096c4823a2b8028d02a5b49c9bcdab5c170558004 0007-Enable-Wtrampolines-by-default.patch
dcd07ecf0daad8743a378abbcb921d4b17e528651a596454956563a3417fe9ea3b88dce7b15b9270f55ae2ea2a72efe8a7215236d0a21e2942c7c5ba0e8e2c39 0008-gcc-disable-SSP-on-ffreestanding-nostdlib-and-nodefa.patch
488bd530e209e3213f83d695fb2ac529c408e3dba9024457594cfb0d266acb079447bca184fbf136bacd1f1ec5ca3607dc4998b66630af9781ea7ee41c16236b 0009-gcc-params-set-default-ssp-buffer-size-to-4.patch
7229a3fe655e8460148e0cd4c39d7362e713d1a6215530547f346371a5e3647245123637e8b075c58c5e7e35c823d96a0b3cdbedb6c07b5095507b4499bc053a 0010-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch
f7c1870bda4d418380f471b520b7cf20fde743f57415323c1a8898a815f8c7023adc3882e1d0453c5b6fcb65a27a9534fdeb297bf451453a95d90c0395e42c3b 0011-Don-t-declare-asprintf-if-defined-as-a-macro.patch
140c8165726404da0fc0ea01add2a7fa307377817968177334c520bdaabc23e8ec5d76f80337b89ff03edfd52dead7119433a03d2165e24780dc944633a9c2a3 0012-libiberty-copy-PIC-objects-during-build-process.patch
af848ef58b63a7592ad0f549be65fbe8dcd3c1e5ea9f30cfa65be02519ca9826d7612131c3b0042615b7537683d74eeb6849aba61810b0d8ed1c79f968188260 0013-libgcc_s.patch
c97b473c08b46090b48764af55b244ec70a13d26f2d881c57761abbc4a1c481da9766f33e59daee7188bc06c4631e53becbaf8801d0b35ca0b5fe84cb6a840f7 0014-nopie.patch
9c37cc38bb7238058751d3ff60712acd4134aa4c28d946c453b8b230bd6ba34c45c47a4b4d7e74aa7e3ed8dfc74cbb1d5a328bda706dd3037320e02a15421b86 0015-ada-fix-shared-linking.patch
b4afb30431ecdfd86acfd66ba857c275628b55e91cc9b21c18ca0e795b2fadfe895da801978a8e818ff9c93144075e72cf0521f3bce5c6c1d44e47e1b77b8ba4 0016-build-fix-CXXFLAGS_FOR_BUILD-passing.patch
6260341ed13926ce449cf351ada85d8e28fc7da63a4ae73b69c24fb2e8d0e3003ffacb1bb0f957185b8d5d7e013f777f7f696c9a1c94b2204a9b3e8274ec2f43 0017-add-fortify-headers-paths.patch
8fe954daf7e9b1d221f0536f54186bc1715e23cf3c74dfd0956c0fa22ce3b5b5e30b5e17ea584db1cc193ac7fdc72daff68c9163dbc46a837e01d25a7a4a90e0 0018-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch
fc5ce12cd70382b15317931ff0f57ae1ed10e8c09dbf2fee627bc55a268f55ebbf9ae32b89b4ef6f51e9a9b7ca32eed201245d481cde88f6eb572d40134f5f4c 0019-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch
e0d4fd0e0bf4ecfb517b60b55d73f326deda0faa75bfd07d1fcae116f91088a96caaa2dd20e2e38a93cc8ffed0aef422c0c861879c8de406364faef0cbcd50ff 0020-aarch64-disable-multilib-support.patch
7af318ea6fe14dce98b8db1f8f46a2dc9f75c2f27e63a52c62c7b47d6d62cb64748d5c2690eba772d931ff96ac089e3f03bf46b49122ffb5a03a1c186f01ae11 0021-s390x-disable-multilib-support.patch
b96dbbd0e1aa98ebc2e7eaa2a44912681e4c8bc9a129fafa53a943d67b62451b6d4fad53f92429cd4346a753527359c8c09d58836cf0968a56f5fe933496a412 0022-ppc64-le-disable-multilib-support.patch
60106cb08f27c89509ba46dc2ff0edecc1f4c7973874c85047dfdd67eabe50e3a852d7540002a09bcb6185c786a5daeba7915958c441fc92d7f16a0cce5bcdea 0023-x86_64-disable-multilib-support.patch
d55d65242af9341eef7f1e3d03fec2e2de75632a23ed83df4fe6304619f62127b42eba9d9286f7f3647e3b9bd95aaeb79023263e71ff9d58c47f3051b73d8bc2 0024-riscv-disable-multilib-support.patch
b6dda179cafbd9e7f3ef7e137b303a76491a0157d68f1504dee6611cecdca16d27ca32cbd2298da2f6301e7167b8730d70a775ee5ba88ae3773adef8421efa98 0025-always-build-libgcc_eh.a.patch
95245b6548ddca5065bac06131294028767a32740c80f707a4d1cf8653a0398305ec68e7c44a3f2912741b792d41048f03729657b0a1c1a2a7bff097c6b2fdc7 0026-ada-libgnarl-remove-use-of-glibc-specific-pthread_rw.patch
ff6b8b9e1ab9b45d1853e74befb5c904cf7cd83dadb5a4b6f8c94a75e6249d1cdaa72aef73d6b1045beabc2d9012ea869d886015ec3aae561eb4ba8b9d00c2d7 0027-ada-libgnarl-use-posix_openpt-instead-of-glibc-speci.patch
0582f00e8801df06e51fca45a8dc3ee62e9b6ce9245af98937f435c90c709edc7eb9071569c0e59c9a143d964fe5731b9e11b011174443b97043abddc9db1cce 0028-ada-libgnarl-adaint-fix-sched.h-inclusion-for-musl.patch
8683314212c0a6f49ed45ea8c74908f59d863822fa8c99e94c7e39ba3a642ca6a3167543e1ae4b58d8acd1ff97824d6e60cc432b19e6580cad2027e3a5c37603 0029-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch
60bb67f6cf4b92243dec861fba702aa5847925bf413c2c83705a0ee4ebe4c523cc295cce29666c69c9b2dec70d63def83cd9074e613b4f46e014248f53c87db4 0030-configure-fix-detection-of-atomic-builtins-in-libato.patch
b49f72cce409f74407761fe64b028e97d58e4f236af7d9099189a8553f2ece3f30559760fab768f3d1fc4c7f89ae3ee6d687018251f3df52c9a43817c9c7c93e 0031-libstdc-do-not-throw-exceptions-for-non-C-locales-on.patch
0bd3aa81590d5f47205e193d2998bb5986cbb82adb75e3d39dcf820625bb358d380d1695ebbb18437fdd935ce350b0f5b7364a5fa7c8e07ebe8f972c8cd46cd1 0032-gdc-unconditionally-link-libgphobos-against-libucont.patch
e8d5c4159f41fcb09e76758768d127ff366c93095137b694a405e9dbba88f2036ba64b69ac6c5c75e488be3281a1227cccbadcea2bef6f60ba0be7fc3d7db754 0033-druntime-link-against-libucontext-on-all-platforms.patch
6f530cdb1935296925ec29be7a30e4d69cebc155695db6ea30ee95ce65de7e8917e2a6148d3668974715120e7f13f734e5c36bfd35f707f4725a7556cbc1caa5 0034-libgnat-time_t-is-always-64-bit-on-musl-libc.patch
1dabb0c8d581ec86d8758dfa3d2f1713d915f6d927639f56b3590ed9b0885dfdf452e30ca87edac49721d2dc43d4fbdb4d178f8448e8ba5cc595457f216bf210 0035-libphobos-do-not-use-LFS64-symbols.patch
b915a0eaf7cc3e48f41f31ebbd9142760891b9ede304ff3f1dc7166f85a9e3f82017a17bb7e65824d3da07445b2c8bcd156a992eed92633362c08329b04b6cb4 0036-libgo-fix-lfs64-use.patch
0164467e66719187b6041c8d2d717a9bcd5b8c801dab6391b0e503c41e26518cc78389c97bdd2b2bc64f660f95410439aaa8a20799ec01eab17e7ba415ac1dd9 0037-loongarch-disable-multilib-support.patch
2cae2cb470b2cf469973c0ff3a7a020960cf4325502ff6c84c6b1b3514c8cacfae8452b5c79b55e657b0877fc9d81cc68db6f650156ca6d1376c1bd1a2290d8b 0038-static-PIE-ensure-static-reaches-the-linker.patch
7d73041566678fc86885877d8315481bf358858cbe54227356d5ab48623e435426ac7ff6e54d21b9fee4cc73e3f4bc7ef646d3e4ab1970e524c890cd1f735905 0039-except-Don-t-use-the-cached-value-of-the-gcc_except_.patch
4556ead97907ec76aaa7dde450e4b6068f87268c49168eeb2af0c3df1dfa312b0a4a947b65b11fd413dae9af0beb3ef002d077c0d7f43b0bc466d3cd4348e657 0040-ada-libgnat-use-stub-symbolic-module-name-functions.patch
389eacbeba976a461af3d087d732d1c4f2a38bc5db91b935149e60ad4b210286ba76688b8a947d00f324566b6789152bf3b93a188fa2fb7ee8042786df483fed 0041-ada-libgnat-recognize-linux-musleabi-and-linux-muslg.patch
4806687c806154dd3d5423ea9ef1203db344dfb8fd21f3eb3543d9f05f4dc01aacc4f012f45db8e890eeddc7b1c75ec06a6b29e29a1ef7b9ec6f853d1854cfd0 0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch
6b225df0dd76339b06d5efbe07edd6648391a7b9415a219041189c35c084ceffe8fb96b2660d60d62099e7afdfeb8e053622a2b6660d2e8a13adb924f4bc8c8a 0006-Enable-Wformat-and-Wformat-security-by-default.patch
e419b7f20a74384bfb1ac792e3625f9bfe69f8031c2c0beb23f4015df9d48a6c6f107d89bea3c20fa56309b022637863c13e90c1565d027eb47c08154389b7a0 0007-Enable-Wtrampolines-by-default.patch
e6307eec09196900bcd2c0154a62d6694576b4da48a1cf901750b97b4603cd694c4daee2476c33bce09f10bee92a72749face835eb18fbf2c2a50aa1dd251572 0008-gcc-disable-SSP-on-ffreestanding-nostdlib-and-nodefa.patch
969797f99602c119e1632f0c5be02a566be5fb4c7e59affefb5eb6084a06b97120d99d5ee63fef0dab6c0278c7cecf1d8caa53521cc5b6622de2aaa7deabf86e 0009-gcc-params-set-default-ssp-buffer-size-to-4.patch
c15f062790367c9e786a4933deec33931438680176ec752b172c2a0504463a23d588ead4350d32e474603750ceb130ba0ccadfcde601bcf8e2eabca5af8322d0 0010-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch
03a1012f1022cd68cf08440428e7d6cbf65ea2184e4a088a55976f34af627d80f42f15f713841ec9cbfc4afa39117d4fc384c3f27a4f9ad0ff3947bd45b71c4a 0011-Don-t-declare-asprintf-if-defined-as-a-macro.patch
8f098de9fcf4bbece0923dc4a2acfc67cf751c1d5c007535c5d88b8637a4482c1a42d5721a2760127498e327f6983bbc865a592a8e0db9ef7efc0e36b6d4102f 0012-libiberty-copy-PIC-objects-during-build-process.patch
bbe2b561b5288ca724af37353e17b413df8bf247bce724391e75373aee5cdcdb85e6489d51622c11f4041ed8f317278cf687aee14dfc8756398f03f1a796feb9 0013-libgcc_s.patch
ae34ca2bc5a53ed1c832651e3f6425ca29b5873f1e112b45613277fb9611693be41986d5879593f09149777e3e57d04ba17b142c43eaa990375d31e4e0b4adde 0014-nopie.patch
2c91a1eadf7236efff42eb53037862a342807596e37c6cc3c270d25c2d89078bf8db68bb2e93e57a8ad39b3af825e33db72e2f48a6311951fff53776933bc48c 0015-ada-fix-shared-linking.patch
1366d696a952ed35e5e56ab5bd1eba67e58a8ce752c0ef7e7fe4ad3eef44f25ce6016342d11add9548f9e719dc9ee0772064dda68784257a1a3234ae5957f3fb 0016-build-fix-CXXFLAGS_FOR_BUILD-passing.patch
af739373285e89a4ab0000042b537ff7197b0b366019b56991008c43f3d2b76709d472841cda40e9fb61e6f0dacc0fe8c6b888abb31f393ec1a87acc1c0585b3 0017-add-fortify-headers-paths.patch
c18f3eef4d7d6fcbfa64570edb71157a62dad1f3d7276f10fe3424e49caa33f57a0a5952f03189199472802a2dd966e4832789685a94911fe9a86bb1fd6c1d50 0018-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch
341d39a40ffd896db152863c717798c6885bdde44c9ac645c5d099c2364cbd8f6f526f97cc98302c420682cb5d6d88bbe28d838c7141456f2ba5581f3edfd64f 0019-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch
e603652f341909820789a2cec173b8e547ee607b040863f1745b998b8a69d51cb412a4ac55d2c9e3c5192cc298f6288f9dd48fa06fe53ba8f6b1cabbe61c997a 0020-aarch64-disable-multilib-support.patch
26819f3c3a5844c96cee89fc9766a4f8153e7bb22f6296c6c9fd6a13d45648e3f6c7059397ad7e5be66f55addc21054614b38f480b52a7c9a967cf389735644a 0021-s390x-disable-multilib-support.patch
8e6e6ed84c8cb39ecc35ad0986a91168fedbae2426c8ec1c83dec85a293777e0ec29eac13130193b1bdc2d98b6ffa180abf574dad70740d4720b4bfdab992ab8 0022-ppc64-le-disable-multilib-support.patch
264eaa54a76ec5a12294d91ad2f995eddac9210a569ba85aef27176cb015354aa427840bb22f1e3ba2f7761f6f85cc98ddb3b00584b295c6a10a9770c59a2607 0023-x86_64-disable-multilib-support.patch
47a1a407298b6c259d7faff774f26e4843c9d3764362d74230e7d3f77c46ea8bb51211e09a66bb51c04a9f276ea5b07570fb52312fdb1d354c72a0343bc40c57 0024-riscv-disable-multilib-support.patch
b86fcf40e75861bdffb00069d3a0c9cec3fe8042d49d6ce2beae48ffeadccc576b8ab36e5a85421db5cffeb080a75f3a66dbcbb825d7f4462d40ec621964efe3 0025-always-build-libgcc_eh.a.patch
1425543ce064bfd8e33d7e6e07f45cc16d94f156adcfe190c842722652d5ea0c9ba60f6a3e1b444bb0e5bc906ec4f9ca54720b306f274b441600b79bff47dc57 0026-ada-libgnarl-remove-use-of-glibc-specific-pthread_rw.patch
b8851d0e7fc66201e323007f7c1d702ea8a0d0405aa5945621128ebfb93afd967ec8b3ab6fd4ea779ec10dca2a32e1797f7a2622124ccf8ace2a7596f66ff0bf 0027-ada-libgnarl-use-posix_openpt-instead-of-glibc-speci.patch
12b09a171d61406a2bfa10bb25398cee8c92676b12506afe7aace7028e94cbf8d7df25f62ff7af07e8ed471c6edd3ab7811fa51dfaf3a221a6b367858b1f032c 0028-ada-libgnarl-adaint-fix-sched.h-inclusion-for-musl.patch
15bed06ee74a36e9f21f4b29d7bce9c4188769abb6391560e13ea6b165da51f5ae908e141de7510d3d7eec6b998d0fc53de1042fdb7bd056efa703d230a683b4 0029-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch
4c5501256669fd33527a5394eaa4b84451ee341a943dd24a179b661d3c53ef70e87ed5d5f3e76c6c3f9cb79cb5d120ea40101278a7b9d04a55d9405e4cbf9796 0030-configure-fix-detection-of-atomic-builtins-in-libato.patch
eecc77e2a9cf956fd752693ad7f8ff8253a7bb557e00564bb488bbc1deac895e63104cc1182a0bdd700e440763f4a72e29876f560e13e4f5e6de2a1d9438c2f6 0031-libstdc-do-not-throw-exceptions-for-non-C-locales-on.patch
2b09f90d9cb417170060c8ce198bd4aa2e4ef163286c8f24f6e6c5a673ae80f5a883b078b1a5dd5fa71bc1502e08c886687072694da039eb82baa1ea1948ac2c 0032-gdc-unconditionally-link-libgphobos-against-libucont.patch
99c74242b6d79e6a814f1199b9fb0b56c6a43eb93e5d1a79b674cea750bb025363cdd1505d05cd2195a43c918831fa586c427556ee5bc826aa79cd82e7ee1c24 0033-druntime-link-against-libucontext-on-all-platforms.patch
4f8f7876bf8647cda47cbd2b145ff31efe2a7ac21c012c4134174f93482aad1fbab2592c66aacc3b05fccd1a694ff97511b794139db4aac719e243c114373240 0034-libgnat-time_t-is-always-64-bit-on-musl-libc.patch
0069da1d8cb9adb9bab081a34fec680a9ebb1236e606a2497e4565e99bef434518a0f06474a9a1fdfa70811ed3da5d35ca95d267268328f2764bf41c50e924de 0035-libphobos-do-not-use-LFS64-symbols.patch
1cbe85b63ef13bdf2804bfd3173998a6e86752d8ffc09d4cc75a9ba80b98aec5a04efa732bce97a2f50a90c84b92c442ca8f6639841fe7d6618f928ea65916a6 0036-libgo-fix-lfs64-use.patch
98fcd5b893a1646edab961a5d00246151c47b449f8eca99c51f4026ffdb53f60b5b9f6426437c0a6411342da10db8983e20337a29cd46ed22b70e0478573ea30 0037-loongarch-disable-multilib-support.patch
1ad48e39dab351b7bb3e17d9b4b8b78e7de7c736e212638c9d6874b1dde0360dcfc85586c39f515fbd2a6d9910fedc4f0c6ad7ff652b10a5c288c47173671ec7 0038-static-PIE-ensure-static-reaches-the-linker.patch
9f4c3fa0d17cfcd72626bdbaf51992ff3018f878d673ab19b9056047ee2630b581e5a5a4d4857444f08ba9bcdb0fc94f90dcda6180816e39690d1652843f0d8a 0039-except-Don-t-use-the-cached-value-of-the-gcc_except_.patch
d166475e340c91bbb24cf257240aab37129b04f2609e5ce323b530ab83853a4c34c525e0072c15732717f1681db07e6b3b0a4d268720c31f460435ccf4c99b7f 0040-ada-libgnat-use-stub-symbolic-module-name-functions.patch
c717764ef52c0226a23cbf434654cdefa6cbf38ec625648575d9143c5513b16d8914c25015db743033b8a46ac5b2c33ab75e1b67076128d67bb1319e5a83dd85 0041-ada-libgnat-recognize-linux-musleabi-and-linux-muslg.patch
"
@@ -1,4 +1,4 @@
From a59da582e83071de0566274d912ca6f05f4b75d0 Mon Sep 17 00:00:00 2001
From 95d8fac6247b2cba1142261cc95c21063539112a Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:46:56 +0000
Subject: [PATCH] On linux targets pass --as-needed by default to the linker,
@@ -12,6 +12,7 @@ Subject: [PATCH] On linux targets pass --as-needed by default to the linker,
gcc/config/i386/gnu-user.h | 2 +-
gcc/config/i386/gnu-user64.h | 1 +
gcc/config/ia64/linux.h | 2 +-
gcc/config/loongarch/gnu-user.h | 2 +-
gcc/config/mips/gnu-user.h | 1 +
gcc/config/riscv/linux.h | 1 +
gcc/config/rs6000/linux64.h | 4 ++--
@@ -19,7 +20,7 @@ Subject: [PATCH] On linux targets pass --as-needed by default to the linker,
gcc/config/s390/linux.h | 2 +-
gcc/config/sparc/linux.h | 2 +-
gcc/gcc.cc | 28 ++++++++++++++++++++--------
14 files changed, 36 insertions(+), 19 deletions(-)
15 files changed, 37 insertions(+), 20 deletions(-)
diff --git a/gcc/config/aarch64/aarch64-linux.h b/gcc/config/aarch64/aarch64-linux.h
index 116bb4e69f3..daf99f8dce9 100644
@@ -124,6 +125,19 @@ index a2494c214c4..e1a5d530cdf 100644
%{shared:-shared} \
%{!shared: \
%{!static: \
diff --git a/gcc/config/loongarch/gnu-user.h b/gcc/config/loongarch/gnu-user.h
index fbc75a90ad5..adbc4b7733f 100644
--- a/gcc/config/loongarch/gnu-user.h
+++ b/gcc/config/loongarch/gnu-user.h
@@ -44,7 +44,7 @@ along with GCC; see the file COPYING3. If not see
#undef GNU_USER_TARGET_LINK_SPEC
#define GNU_USER_TARGET_LINK_SPEC \
- "%{G*} %{shared} -m " GNU_USER_LINK_EMULATION \
+ "%{G*} %{shared} --as-needed -m " GNU_USER_LINK_EMULATION \
"%{!shared: %{static} " \
"%{!static: %{!static-pie: %{rdynamic:-export-dynamic} " \
"-dynamic-linker " GNU_USER_DYNAMIC_LINKER "}} " \
diff --git a/gcc/config/mips/gnu-user.h b/gcc/config/mips/gnu-user.h
index 5a82508c113..6eee7cdc603 100644
--- a/gcc/config/mips/gnu-user.h
@@ -1,4 +1,4 @@
From 35c02ea8267e193b92f30495c94ee1e8e5c2be8e Mon Sep 17 00:00:00 2001
From 58a94690d4dd7b34543d9d154abc96d2d90d3b32 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:47:43 +0000
Subject: [PATCH] Enable -Wformat and -Wformat-security by default.
@@ -1,4 +1,4 @@
From 0b82663fd2f054e07e116c4dcc5019f7e969cd3e Mon Sep 17 00:00:00 2001
From b2a755b671d88c34402290d7d769232e01aed350 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@ariadne.space>
Date: Fri, 25 Jul 2025 01:44:20 -0700
Subject: [PATCH] Enable -Wtrampolines by default.
@@ -1,4 +1,4 @@
From 3acf32fc94fd447874b2f1447a19a65f0905bff5 Mon Sep 17 00:00:00 2001
From c355364231395090e7223ec00d8a16065903c2c5 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@ariadne.space>
Date: Fri, 25 Jul 2025 01:49:03 -0700
Subject: [PATCH] gcc: disable SSP on -ffreestanding, -nostdlib and
@@ -1,4 +1,4 @@
From bb98973bdb5fe8bd040e238afe92845203929b59 Mon Sep 17 00:00:00 2001
From 5f09842c19d6db976724cd117190a8a6951acf9b Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@ariadne.space>
Date: Fri, 25 Jul 2025 01:50:42 -0700
Subject: [PATCH] gcc: params: set default ssp-buffer-size to 4
@@ -1,4 +1,4 @@
From f89d8e95b809d02eceee416b463200c9abb2b33e Mon Sep 17 00:00:00 2001
From ee0615536ae0d255f59070b904aa35d6de8fce49 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:50:33 +0000
Subject: [PATCH] Ensure that msgfmt doesn't encounter problems during gcc
@@ -1,4 +1,4 @@
From b45303198567828a5240baf932a8c13255f35d20 Mon Sep 17 00:00:00 2001
From 62966418472466142a9962892177f4b1f9f56944 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:52:07 +0000
Subject: [PATCH] Don't declare asprintf if defined as a macro.
@@ -1,4 +1,4 @@
From 68e2c9356221ba30b27840b9449f742505584cf1 Mon Sep 17 00:00:00 2001
From 0351f4f3dd00bdece780ce5e24d972e97ca1b7ed Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:53:00 +0000
Subject: [PATCH] libiberty: copy PIC objects during build process
+1 -1
View File
@@ -1,4 +1,4 @@
From ca482f8c9cac9617855f908dd30d3d6144e850a0 Mon Sep 17 00:00:00 2001
From bd7e32d5405b6b4f3994a212a77ff2cd33134c74 Mon Sep 17 00:00:00 2001
From: Szabolcs Nagy <nsz@port70.net>
Date: Sat, 24 Oct 2015 20:09:53 +0000
Subject: [PATCH] libgcc_s
+1 -1
View File
@@ -1,4 +1,4 @@
From 6dfb241ae9f879f4945941273dd73eb13f127b06 Mon Sep 17 00:00:00 2001
From c191dc86f4f7340542066f4156aa57be9cfbf876 Mon Sep 17 00:00:00 2001
From: Szabolcs Nagy <nsz@port70.net>
Date: Sat, 7 Nov 2015 02:08:05 +0000
Subject: [PATCH] nopie
@@ -1,4 +1,4 @@
From 8ac6aeca5d6192ee16b959bd8c1903a52d408a55 Mon Sep 17 00:00:00 2001
From f1d6c0950e0f12fb8cf2429da570f478a1369286 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:59:16 +0000
Subject: [PATCH] ada: fix shared linking
@@ -1,4 +1,4 @@
From 7323d68ae46fc8e33c0746799d820a4e4c8c8b72 Mon Sep 17 00:00:00 2001
From 8773e0cf880da9fe80de7f8a662359664bb0b234 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:59:43 +0000
Subject: [PATCH] build: fix CXXFLAGS_FOR_BUILD passing
@@ -1,4 +1,4 @@
From eaf89c8c91806905c6e1ec9519cbfb56296204b0 Mon Sep 17 00:00:00 2001
From 625b8095796f24389fdda5bb5bc6ff9fbb365813 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 07:01:06 +0000
Subject: [PATCH] add fortify-headers paths
@@ -1,4 +1,4 @@
From bdedcd9db7b8291637c5147dd82e8a9e3f5f9c87 Mon Sep 17 00:00:00 2001
From c557286adc46536fe033df400c50a880b672cfd6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timo=20Ter=C3=A4s?= <timo.teras@iki.fi>
Date: Fri, 21 Aug 2020 07:03:00 +0000
Subject: [PATCH] Alpine musl package provides libssp_nonshared.a. We link to
@@ -1,4 +1,4 @@
From 586ce3614d4fc3fbeccf01659114a4643c1879c8 Mon Sep 17 00:00:00 2001
From d698fead9d201ef032e2e978898864335a9ab513 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 07:03:42 +0000
Subject: [PATCH] DP: Use --push-state/--pop-state for gold as well when
@@ -1,4 +1,4 @@
From 0ca7f92018d0bc04a72655f3b130c9aaeea1b771 Mon Sep 17 00:00:00 2001
From 9cf1916bd52d61ea0fd7a8b6acebb1dc4a1f2488 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Thu, 6 Jan 2022 03:12:55 +0000
Subject: [PATCH] aarch64: disable multilib support
@@ -1,4 +1,4 @@
From b48898c8fbd7828b81f407c74c25cf8e07fb73a4 Mon Sep 17 00:00:00 2001
From dc07fb7df8d4f997877d8f98ea9ef8292f738ed3 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Thu, 6 Jan 2022 03:13:59 +0000
Subject: [PATCH] s390x: disable multilib support
@@ -1,4 +1,4 @@
From 158d93ce86f3d311ce489d0740326027068ca721 Mon Sep 17 00:00:00 2001
From 496067ded4a3698468412e240b899755d92b314c Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Thu, 6 Jan 2022 03:14:33 +0000
Subject: [PATCH] ppc64[le]: disable multilib support
@@ -1,4 +1,4 @@
From 6957fc21caca80f5e01db15df6dc8de46c85167b Mon Sep 17 00:00:00 2001
From 3d0f96f3f53a7ff81532f077e9db69d7318db796 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Thu, 6 Jan 2022 03:14:54 +0000
Subject: [PATCH] x86_64: disable multilib support
@@ -1,4 +1,4 @@
From fdcbe7ee4ce81cdf247966385c8d521ac3f5a38c Mon Sep 17 00:00:00 2001
From b1ab523d6fa44aae8f3ec5f787a8f86f8686bf64 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
Date: Mon, 3 Jan 2022 07:14:48 +0100
Subject: [PATCH] riscv: disable multilib support
@@ -1,4 +1,4 @@
From 6f63901256443978a2c3746e72bd5762166a7790 Mon Sep 17 00:00:00 2001
From ee64e5ead8938d5be6cedd674158a25d93711fe3 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 07:05:41 +0000
Subject: [PATCH] always build libgcc_eh.a
@@ -1,4 +1,4 @@
From a365def37f5de93ad85588d8e2c02c0df28e88d6 Mon Sep 17 00:00:00 2001
From 5adfe740c027fb8dc9931053f55f7eae222e6bb4 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@ariadne.space>
Date: Fri, 25 Jul 2025 02:09:02 -0700
Subject: [PATCH] ada: libgnarl: remove use of glibc-specific
@@ -1,4 +1,4 @@
From e1572457f94a26da9a588a36afa3eb0e74122c34 Mon Sep 17 00:00:00 2001
From c8edb618208a854d121ff73c0d82d7cc467a3611 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@ariadne.space>
Date: Fri, 25 Jul 2025 02:13:19 -0700
Subject: [PATCH] ada: libgnarl: use posix_openpt instead of glibc-specific
@@ -1,4 +1,4 @@
From 4f26d4bfedb7f942b69ca4743f053c3a690a0b4a Mon Sep 17 00:00:00 2001
From d3c515c40b9ec0133787388ae7df037e88a95f73 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@ariadne.space>
Date: Fri, 25 Jul 2025 02:18:49 -0700
Subject: [PATCH] ada: libgnarl: adaint: fix sched.h inclusion for musl
@@ -1,4 +1,4 @@
From 6592e702844d31bcef17c340bfc13e0e1be9f132 Mon Sep 17 00:00:00 2001
From 3d13edda0134af3fbb802cdec6406c91003bbc33 Mon Sep 17 00:00:00 2001
From: Drew DeVault <sir@cmpwn.com>
Date: Wed, 9 Dec 2020 07:42:06 +0000
Subject: [PATCH] configure: Add --enable-autolink-libatomic, use in
@@ -1,4 +1,4 @@
From 952070c1616f231a810af2da50264713d7587b48 Mon Sep 17 00:00:00 2001
From ddc31942d7363acc938007d70f29e3e324064f76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
Date: Sun, 29 Aug 2021 12:23:34 +0200
Subject: [PATCH] configure: fix detection of atomic builtins in libatomic
@@ -1,4 +1,4 @@
From 896b002a2afacb4d75d573aca4ae53b499df19cd Mon Sep 17 00:00:00 2001
From e9f4662af949bc56eef27d531605dd90181bc300 Mon Sep 17 00:00:00 2001
From: Samuel Holland <samuel@sholland.org>
Date: Thu, 30 Jun 2022 16:44:51 +0000
Subject: [PATCH] libstdc++: do not throw exceptions for non-C locales on musl
@@ -1,4 +1,4 @@
From 22d69ae3e2768d301ef5a1f1b362c25cf8bf27b9 Mon Sep 17 00:00:00 2001
From b4c412a5d538f7478596880e89d0e6d5046ef16b Mon Sep 17 00:00:00 2001
From: Mathias LANG <pro.mathias.lang@gmail.com>
Date: Mon, 17 Jan 2022 03:49:21 +0000
Subject: [PATCH] gdc: unconditionally link libgphobos against libucontext
@@ -1,4 +1,4 @@
From dc66835022cf68085400f2eed30614c5afdc28a6 Mon Sep 17 00:00:00 2001
From 0c10e5ee09685a5ecc39650e8ec8a1b4f5e096e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
Date: Sat, 16 Jul 2022 09:21:11 +0200
Subject: [PATCH] druntime: link against libucontext on all platforms
@@ -1,4 +1,4 @@
From ab88348da140c68e5e1142041dbe1c7b7d9c9a07 Mon Sep 17 00:00:00 2001
From e5190522319c315efaf9a921737c05fae6a49e85 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
Date: Tue, 19 Jul 2022 14:54:07 +0200
Subject: [PATCH] libgnat: time_t is always 64-bit on musl libc
@@ -1,4 +1,4 @@
From f865fb0a27252bd3a01fc4596f101d389929311c Mon Sep 17 00:00:00 2001
From 3fe1ff6c349a065daba97794c55961cafe6c4a10 Mon Sep 17 00:00:00 2001
From: psykose <alice@ayaya.dev>
Date: Mon, 29 May 2023 15:33:11 +0000
Subject: [PATCH] libphobos: do not use LFS64 symbols
@@ -1,4 +1,4 @@
From cf6ba089ba26cd970962e874a3e35f020c3e921c Mon Sep 17 00:00:00 2001
From ff21b1649c1c5009a33722d21e28af9026c72cd7 Mon Sep 17 00:00:00 2001
From: psykose <alice@ayaya.dev>
Date: Mon, 10 Jul 2023 23:23:29 +0000
Subject: [PATCH] libgo: fix lfs64 use
Loaded 100 of 1378 files, more files were not shown because too many files have changed in this diff. Show more