Loading
install: openrc: fix installing alpine-base early
With recent changes we don't install alpine-base in the chroots anymore. It still gets installed as postmarketos-base depends on it (for now, this will change soon in master). But it is not guaranteed to be installed before other packages which may run "rc-update" in their postinst scripts.
Fix this by explicitly installing alpine-base early on during "pmbootstrap install".
Fix for e.g. v24.12:pine64-pinephone:phosh images:
(342/976) Installing eg25-manager-openrc (0.4.6-r5)
(343/976) Installing device-pine64-pinephone-openrc (7-r0)
Executing device-pine64-pinephone-openrc-7-r0.post-install
lib/apk/exec/device-pine64-pinephone-openrc-7-r0.post-install: line 3: rc-update: not found
ERROR: device-pine64-pinephone-openrc-7-r0.post-install: script exited with error 127Related: https://builds.sr.ht/~postmarketos/job/1473669#task-img-743
Fixes: 12d125ab ("chroot: don't depende on alpine-base")