ensure -systemd subpackages
While building phosh
with pmbootstrap, this happens on the systemd channel.
(547/609) Installing wireplumber (9990.5.7-r0)
Executing wireplumber-9990.5.7-r0.post-install
lib/apk/exec/wireplumber-9990.5.7-r0.post-install: .: line 3: can't open '/usr/lib/systemd/systemd-apk-macros.sh': No such file or directory
ERROR: wireplumber-9990.5.7-r0.post-install: script exited with error 2
(548/609) Installing pulseaudio-utils (17.0-r4)
(549/609) Installing pipewire (9991.2.7-r3)
Executing pipewire-9991.2.7-r3.post-install
lib/apk/exec/pipewire-9991.2.7-r3.post-install: .: line 5: can't open '/usr/lib/systemd/systemd-apk-macros.sh': No such file or directory
ERROR: pipewire-9991.2.7-r3.post-install: script exited with error 2
(550/609) Installing gst-plugin-pipewire (9991.2.7-r3)
(551/609) Installing serd-libs (0.32.2-r0)
(552/609) Installing zix-libs (0.4.2-r0)
(553/609) Installing sord-libs (0.16.16-r0)
(554/609) Installing sratom (0.6.16-r0)
(555/609) Installing lilv-libs (0.24.24-r1)
(556/609) Installing pipewire-pulse (9991.2.7-r3)
Executing pipewire-pulse-9991.2.7-r3.post-install
lib/apk/exec/pipewire-pulse-9991.2.7-r3.post-install: .: line 3: can't open '/usr/lib/systemd/systemd-apk-macros.sh': No such file or directory
ERROR: pipewire-pulse-9991.2.7-r3.post-install: script exited with error 2
(557/609) Installing libcanberra-pulse (0.30-r11)
(558/609) Installing avahi-glib (0.8-r19)
(559/609) Installing geoclue (2.7.2-r2)
Executing geoclue-2.7.2-r2.pre-install
Seems like there are multiple issues here. pipewire-pulse, pipewire and wireplumber are missing dependencies on systemd. Also, I'm not sure why there isn't splitting to -systemd subpackges.
Also openrc gets pulled in somehow. I assume postmarketos-base-systemd isn't installed first in the pmbootstrap build root.