Commit graph

6 commits

Author SHA1 Message Date
Oliver Smith
9efd154db2
main/postmarketos-base-nofde: split out from postmarketos-base
Split postmarketos-base-nofde out from postmarketos-base to fix this
bootstrap problem:

  postmarketos-initramfs:
    provides: postmarketos-ramdisk
    depends: postmarketos-fde-unlocker

  postmarketos-base:
    depends: postmarketos-ramdisk
    provides: postmarketos-fde-unlocker (via postmarketos-base-nofde subpackage)

Signed-off-by: Oliver Smith <ollieparanoid@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8657>
2026-05-27 21:09:37 +02:00
Pablo Correa Gómez
38c285af62
main/postmarketos-base-nofde: integrate as postmarketos-base subpackage
This is pretty pointless as an independent subpackage

Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8522>
2026-05-11 18:39:10 +00:00
Pablo Correa Gómez
747fca72f1
main/postmarketos-base-nofde: drop inneffective provider_priority
It's ignored whenever the provides is versioned!

Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8522>
2026-05-11 18:39:07 +00:00
Oliver Smith
ea9364e58e
main/postmarketos-base-nofde: set provides version
Let postmarketos-base-nofde provide a specific version of
postmarketos-fde-unlocker, so pmbootstrap considers the package for
installation. From pmb/helpers/pmaports.py:_find_package_in_apkbuild():

  # Ignore provides without version, they shall never be
  # automatically selected
  if "=" not in provides_i:
      continue

Fix for bootstrapping new repositories, which currently fails with:

  ERROR: postmarketos-initramfs: dependency not found: postmarketos-fde-unlocker

...when trying to build postmarketos-cros-common or
device-valve-jupiter.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7455>
2025-11-30 15:50:26 +01: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
Oliver Smith
1ba238d37e
main/postmarketos-base-nofde: split from postmarketos-base (MR 5875)
Split -nofde into a separate package to resolve the cyclic depenency:
postmarketos-base -> postmarketos-initramfs -> postmarketos-base-nofde

Fixes: issue 3236
[ci:skip-build]: already built successfully in CI
2024-12-05 22:40:04 +01:00