Commit Graph
57 Commits
Author SHA1 Message Date
Aelin 38acf0cfdd Build loongarch64 in CI and mark it as supported
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7738>
2026-01-13 14:31:30 +00:00
Stefan Hansson 187f27e5a3 pmaports.cfg: Bump pmbootstrap minimum version to 3.8.0
Since c957fa0c83, pmbootstrap versions
older than 3.8.0 crash during pmbootstrap init. Bump the minimum
required version communicate to users that they need to update.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7669>
2025-12-30 12:54:53 +00:00
Aster Boese 174c7fc713 pmaports.cfg: declare XFS as a supported filesystem type
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7585>
2025-12-18 21:02:32 +00:00
Jens Reidel b0a87bf9f4 pmaports.cfg: Sort architectures, add riscv64
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7456>
2025-11-30 16:34:37 +01: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
Pablo Correa Gómez 652e1afa0f pmaports.cfg: add supported_usr_merge
Since 2a9d4da33a this is supported in
pmaports.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6825
2025-07-27 12:18:14 +02:00
Anri Dellal cc3d04f233 pmaports.cfg: add systemd_linux_{min,recommended}_version
Add properties to check if port meets kernel version requirement for systemd

Set values according to systemd's readme

See also:
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/issues/2588
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2647

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6781
[ci:skip-build]: already built successfully in CI
2025-07-16 21:26:43 +02:00
Oliver Smith 991d91e0a5 pmaports.cfg: remove systemd bootstrap logic
This isn't needed anymore as now we build each package only once:
* Now we build a systemd-stage0 package first, against which we build
  dbus and polkit.
* The proper systemd package gets built against these afterwards.

Doing it this way simplifies things a lot:
* Can do the bootstrap iteratively, instead of only in one go (and if it
  fails having to start all over again).
* Makes pmbootstrap and bpo easier to maintain as we can drop this
  bootstrap logic.
* CI works as expected again when modifying multiple packages that would
  need to be bootstrapped.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6440
2025-06-04 20:34:23 +02:00
Pablo Correa Gómez 18cd11d7fc main: postmarketos-ui-*: mark UIs with DRM requirement
"pmb:gpu-accel" is deprecated now, replace it with "pmb:drm"

Set "pmb:drm" for UIs to hide them for installations
without DRM support (mostly downstream).

This also bumps the minimum required version for pmbootstrap, since it
requires pmb to support the renamed variable. 2.4.0 is the first
release with such change.

Closes #2999
Closes #1481

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6419

[ci:ignore-count]: The MR just includes many packages.
[ci:skip-vercheck]: Changes don't affect built packages.
[ci:skip-build]: already built successfully in CI
2025-06-02 23:27:40 +02:00
Pablo Correa Gómez 196748d419 main/postmarketos-base: don't depend on alpine-base
alpine-base directly depends on openrc. We have had different[1]
conversations[2] with upstream. And the main conclussion[3] has been:
if you want to do something different, just depend on things
yourself. This is indeed what docker images do. So let's just get the
things that we want from alpine base (quite some!), and ignore what we
don't want (openrc, busybox openrc and init packages). Up until commit
12d125ab8b72f0249fd6aae000170a4fa78a83ab in pmbootstrap every
postmarketOS installation would have alpine-base in
/etc/apk/world. Therefore, we add a versioned provides to
postmarketos-base with a very high version, which conflicts with the
upstream version but should be chosen instead.

alpine-conf is now a dependency of postmarketos-base-openrc, since it
dependes on openrc for calling setup-*
scripts. postmarketos-base-systemd already implements those needed.

Contrary to the first attempt[4], I have kept the dependency on
alpine-release. Changes to that are independent to the usr-merge, and
can be done as a follow-up.

This should allow to drop the fork of alpine-base currently in the
systemd-extra repository!

To this day, every single pmOS installation will have alpine-base in
the world file, which means that systemd installs will the forked
package until users specifically run "apk del alpine-base". We must
add this to release notes and to an edge blog post. Alternatively we
could have an empty package with a very high version providing
alpine-base. This also means that to get installs to work, we need a
pmbootstrap release with[5] on it.

[1] https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/63935
[2] https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/71686
[3] https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/71686#note_435428
[4] https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/5026
[5] https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2580

Fixes #2806

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6475
2025-05-15 10:22:04 +02:00
Clayton Craft a5cefca7b2 Revert: usr merge preparations
pmbootstrap isn't ready yet for these patches, so building systemd
images is broken when they are in pmaports.

This reverts commits:
23894ca89d.
6c78abbde6.
9bcdec3337.
53500854fe.
8639c2c0e4.
9d33e4d812.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6473
[ci:skip-build]: already built successfully in CI
2025-05-05 13:13:00 -07:00
Pablo Correa Gómez 6c78abbde6 main/postmarketos-base: don't depend on alpine-base
alpine-base directly depends on openrc. We have had different[1]
conversations[2] with upstream. And the main conclussion[3] has been:
if you want to do something different, just depend on things
yourself. This is indeed what docker images do. So let's just get the
things that we want from alpine base (quite some!), and ignore what we
don't want (openrc, busybox openrc and init packages). alpine-conf is
now a dependency of postmarketos-base-openrc, since it dependes on
openrc for calling setup-* scripts. postmarketos-base-systemd already
implements those needed.

Contrary to the first attempt[4], I have kept the dependency on
alpine-release. Changes to that are independent to the usr-merge, and
can be done as a follow-up.

This should allow to drop the fork of alpine-base currently in the
systemd-extra repository!

To this day, every single pmOS installation will have alpine-base in
the world file, which means that systemd installs will the forked
package until users specifically run "apk del alpine-base". We must
add this to release notes and to an edge blog post. Alternatively we
could have an empty package with a very high version providing
alpine-base.

[1] https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/63935
[2] https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/71686
[3] https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/71686#note_435428
[4] https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/5026

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6375
2025-05-05 19:29:34 +02:00
jane400 b4f5a4d89e pmaports.cfg: use linux-pam-pmos explictly (MR 6025) (MR 5563)
This still worked previously as linux-pam-pmos provides
linux-pam and pmbootstrap resolves that.

[ci:skip-build]
[ci:skip-vercheck]
2025-01-10 13:02:37 +01:00
jane400 08cfb992d3 extra-repos/systemd: adjust bootstrap logic to remove usr-merge (MR 5661) (MR 5563) 2025-01-10 13:02:35 +01:00
Oliver Smith ab113c2013 pmaports.cfg: add repo:systemd section (MR 5563) 2025-01-10 13:02:29 +01:00
Oliver Smith 817ed870e9 pmaports.cfg: set pmbootstrap_min_version=2.3.2
Require the pmbootstrap version where we added a workdir migration to
change pmaports git URLs from gitlab.com to gitlab.postmarketos.org.

pmaports at gitlab.com will be fast-forwarded to this commit once, so
users who still have this archived repository configured as upstream
will be notified of this change after next git pull and trying to use
pmbootstrap <2.3.2 with it.

Related: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/tags/2.3.2
Related: pmbootstrap issue 2471
2024-11-03 13:39:32 +01:00
Stefan Hansson 2975d16ac8 pmaports.cfg: set pmbootstrap_min_version=2.3.0 (MR 5046)
The change from unmaintained to archived needs changes in pmbootstrap.

[ci:ignore-count]
[ci:skip-vercheck]: Packages aren't being changed
[ci:skip-build]: All packages verified to build separately and would
take too long to build in CI
2024-05-15 17:08:00 +02:00
Clayton Craft c251612916 pmaports.cfg: set pmbootstrap_min_version=2.2.0 (MR 4756)
This version includes fixes for pmb_recommends, to be used by package
changes in pmaports.
2024-02-06 16:05:55 -08:00
Luca Weiss 2d553c50f0 pmaports.cfg: set pmbootstrap_min_version=1.53.0 (MR 4472)
Using versions before 1.53.0 leads to various problems, from Alpine
v3.18 not appearing as supported, to some timezone file conflicts that
were fixed long ago. Bump the version to force users to use at least
that version.
2023-10-12 20:16:05 +02:00
Oliver Smith dadfca1fb8 pmaports.cfg: add supported_heimdall_depends
Add the new variable, similar to supported_fastboot_depends.

Related: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/patches/36815
Related: https://wiki.postmarketos.org/wiki/Pmaports.cfg_reference
2022-11-16 08:45:07 +01:00
Oliver Smith 8c77e7e42f pmaports.cfg: add supported_fastboot_depends
Add this new variable so pmbootstrap can use it to determine which
depends need to be installed for the fastboot flashing method. It used
to be android-tools,avbtool but now it's only android-tools as avbtool
became part of android-tools.

Related: issue 1779
Related: https://postmarketos.org/pmaports.cfg
2022-11-09 09:00:51 +01:00
Oliver Smith 1fcbdb1819 pmaports.cfg: set pmbootstrap_min_version=1.47.0
With recent cross/gcc-* upgrades, we actually require pmbootstrap
1.47.0 to avoid the following error:
  ERROR: Invalid pkgver '${_pkgbase}_git${_pkgsnap}' in APKBUILD: /home/user/.local/var/pmbootstrap/cache_git/pmaports/cross/gcc-aarch64/APKBUILD
2022-11-02 15:37:03 +01:00
Oliver Smith 5d4d9c80cd CI: test_ui: get arches from pmaports.cfg (MR 3205)
Don't assume that each branch has all arches that pmbootstrap supports,
instead add them to pmaports.cfg and read them from there. This should
allow the test to pass on v22.06.
2022-06-07 08:01:25 +02:00
Enrico Lumetti af30557f7a pmaports.cfg: bump min pmb version to 1.43.0 (MR 3056)
This is needed to support the `flash_sparse_samsung_format` deviceinfo
proprety

[ci:skip-build]: already built successfully in CI
2022-04-19 09:18:19 +02:00
Oliver Smith 295f2c5c33 pmaports.cfg: bump min pmb version to 1.41.0 (MR 2890)
Require a version of pmbootstrap that supports conflicting dependencies,
for the upcoming patch that adds !pipewire-pulse as dependency to
postmarketos-ui-phosh.

Related: pmbootstrap MRs 2146, 2157
2022-02-02 12:20:35 -08:00
Marian Stramm 0922ff0fdd main/postmarketos-mkinitfs: basic support for btrfs, upgrade to 1.4.1 (MR 2841)
[ci:skip-build] already built successfully in CI
2022-01-24 21:34:24 -08:00
Clayton Craft 9ccae77a47 pmaports.cfg: set pmbootstrap_min_version to 1.37.0 (MR 2426)
This pmbootstrap version includes the necessary support for the new
mkinitfs

[ci:ignore-count]
[ci:skip-build] too many changed kernels/packages, won't complete in CI
2021-09-03 10:29:07 -07:00
Clayton Craft dc3f722543 pmaports.cfg: add supported_mkinitfs_without_flavors (MR 2426)
Signal to pmbootstrap that pmaports supports the new mkinitfs tool
2021-09-03 10:29:00 -07:00
Oliver Smith d56e7bc268 pmaports.cfg: set supported_install_boot_label (MR 2337) 2021-07-12 07:35:00 +02:00
Clayton Craft ac63e3c709 pmaports.cfg: add option for "supported_base_nofde" (MR 2278)
Used by pmb!2066
2021-06-26 16:28:11 -07:00
Clayton Craft 4232061f56 pmaports.cfg: add supported_firewall option (MR 2060)
pmb will suppress firewall-related messages on branches that don't have
these changes

[ci:skip-build] changed kernel packages in this series cause timeout at 3hr
2021-06-14 14:30:51 -07:00
Bobby The Builder c4f050ffcd main/postmarketos-mkinitfs: add f2fs (MR 1850) 2021-04-11 19:43:23 +02:00
Martijn Braam 5612316c92 pmaports.cfg: require pmbootstrap 1.29.0
Require new version, which supports the new cross-storage on-device
installer.

Related: pmbootstrap#2008
2021-01-27 16:24:14 +01:00
Oliver Smith 0a9ac24560 pmaports.cfg: require pmbootstrap 1.28.0 (MR 1522)
This version doesn't write /etc/os-release anymore in 'pmbootstrap
install'.
2021-01-07 23:43:22 +01:00
Oliver Smith 9a48b41a23 pmaports.cfg: require pmbootstrap 1.24.0 (MR 1634)
Flashing linux-postmarketos-exynos4 to the i9100 requires pmbootstrap MR
1986.

[ci:skip-vercheck]: linux-samsung-i9300: 3.0.101-r1 instead of -r0 is
not a mistake, the linting error fixes are in a separate commit with
their own pkgrel bump. I decided to leave that in its own commit instead
of squashing together with the other commit (as we usually do), because
the linting fixes are quite a lot and it makes the log more readable.
[ci:skip-build]: already built successfully in CI
2020-11-11 14:35:26 +01:00
Oliver Smith 2a1fa1cf20 pmaports.cfg: require pmbootstrap 1.22.0
Require new version, which supports _pmb_recommends.

Related: pmbootstrap#1933
2020-07-20 14:56:49 +02:00
Oliver Smith e42d8487bd pmaports.cfg: add channel (!1141)
Replace branch_pmos and branch_alpine keys (that were never used) with a
new channel key. pmbootstrap will look up the branches related to a
channel in channels.cfg of the master branch. While at it, modernize the
file.
2020-04-11 02:26:03 +02:00
Oliver Smith ccbdea7495 pmaports.cfg: require pmbootstrap 1.18.0 2020-04-05 14:12:42 +02:00
Dolphin von Chips 176555a4a1 **/linux-*: update usage of downstreamkernel_prepare helper (!1084)
[skip-ci]: just downloading all kernel sources takes about one hour
           and ollieparanoid wants to merge it now. This already ran
	   successfully with [ci:skip-build] and [ci:skip-vercheck].
2020-04-05 12:43:25 +02:00
Oliver Smith 6c1dfc1557 pmaports.cfg: require pmbootstrap 1.17.0
Require support for new device directory structure.
2020-03-14 09:08:01 +01:00
Oliver Smith 64035ac463 device/*: move to device/testing/* (!1063)
Prepare for better device categorization by moving everything to testing
subdir first.

[skip-ci]: chicken-egg problem: passing pmaports CI depends on pmbootstrap MR
				depends on this MR

Related: postmarketos#16
2020-03-14 08:35:32 +01:00
Oliver Smith 73e8627ee2 pmaports.cfg: upgrade min pmbootstrap to 1.16.0
Require new pmbootstrap that gives the boot partition enough space
required for latest mkinitfs script changes. Besides that, latest
pmbootstrap has a big number of improvements. Refer to the changelog for
details.

Related: https://gitlab.com/postmarketOS/pmbootstrap/-/merge_requests/1884
Related: https://gitlab.com/postmarketOS/pmbootstrap/-/tags (changelog)
2020-03-01 11:58:30 +01:00
Oliver Smith 41e0a71051 pmaports.cfg: require pmbootstrap 1.11.0
This one has the new binary repository. Make sure that people are not
using the old one, which won't get updated anymore. The old packages
will be removed some time soon.

Related: https://gitlab.com/postmarketOS/pmbootstrap/merge_requests/1835
2019-11-22 00:19:18 +01:00
Oliver Smith dbc13e0626 pmaports.cfg: require pmbootstrap >= 1.9.0
The new version doesn't try to install libsparse.

Related: https://gitlab.com/postmarketOS/pmbootstrap/merge_requests/1821
2019-10-07 23:03:39 +02:00
Oliver Smith 03136a5a80 pmaports.cfg: require pmbootstrap 1.8.2
Fastboot is broken in previous versions of pmbootstrap, so make sure
that everybody uses the latest version.
2019-09-26 23:14:15 +02:00
Oliver Smith 7e85f49cbe pmaports.cfg: set min pmbootstrap version to 1.8.1
Require the pmbootstrap version where building kernels for armhf is
fixed (triplet change is involved), and where the abuild-tar-workaround
for aarch64 is not used anymore (so we can remove the package in
pmaports).
2019-09-18 22:09:37 +02:00
Oliver Smith bc17119682 pmaports.cfg: set min pmbootstrap version: 1.7.0
Require latest pmbootstrap version, because it supports depends in
depends in the APKBUILD parser, and is able to properly test
UEVENT_HELPER, LBDAP kconfig options (they must depend on the kernel
version).
2019-07-05 21:20:57 +02:00
Oliver Smith 9bf7948303 pmaports.cfg: bump version (!299) 2019-04-03 21:26:12 +02:00
Oliver Smith b6ec855077 pmaports.cfg: bump version to 3 (!222)
This version has the "crossdirect" package, which will be required for
the new pmbootstrap code that uses the crossdirect compilation method by
default.
2019-03-23 01:06:42 +01:00
Oliver Smith a2200d5d15 pmaports.cfg: min pmbootstrap version 1.5.1
This version allows us to override mesa only for the arm arches, still
using Alpine's package for x86_64 and x86. This is currently needed, as
described here:
https://gitlab.com/postmarketOS/pmbootstrap/issues/1741
2019-03-10 02:46:18 +01:00