From 496d1b657d6cb7b35d47d9ea7a25329592d8f80f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Correa=20G=C3=B3mez?= Date: Mon, 5 May 2025 21:58:17 +0200 Subject: [PATCH] Revert "install: openrc: fix installing alpine-base early" This reverts commit 6eb8cab84d2efdcc501879417023e362f6abd0c9. This is a problematic way to solve the issue. We want to eventually allow people to migrate from openrc, and having alpine-base in the world file is an issue. Moreover, a package that runs rc-update and doesn't depend on openrc simply has a packaging bug. This is something that is documented, and should be generally fixed (https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/2097). If we manage to detect more issues, we should fix them in packaging instead, like with https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6474 Part-of: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2593 --- pmb/install/_install.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pmb/install/_install.py b/pmb/install/_install.py index ee87b86b..1921c520 100644 --- a/pmb/install/_install.py +++ b/pmb/install/_install.py @@ -1389,10 +1389,6 @@ def create_device_rootfs(args: PmbArgs, step: int, steps: int) -> None: # when services are installed later if pmb.config.other.is_systemd_selected(context.config): pmb.chroot.apk.install(["postmarketos-base-systemd"], chroot) - else: - # Install alpine-base (which pulls in openrc related packages) early, - # so postinst scripts can run rc-update - pmb.chroot.apk.install(["alpine-base"], chroot) # Install all packages to device rootfs chroot (and rebuild the initramfs, # because that doesn't always happen automatically yet, e.g. when the user