Skip to content

ci: add postmarketOS to integration testing#4297

Open
craftyguy wants to merge 6 commits into
systemd:mainfrom
craftyguy:pmos-can-into-ci
Open

ci: add postmarketOS to integration testing#4297
craftyguy wants to merge 6 commits into
systemd:mainfrom
craftyguy:pmos-can-into-ci

Conversation

@craftyguy
Copy link
Copy Markdown
Contributor

@craftyguy craftyguy commented May 11, 2026

apk-tools isn't packaged in Ubuntu, so the scope of testing is limited quite a bit to only a handful of distros/tools trees that have apk available. This also means we're not able to test building images for other distros in a pmOS tools tree since the base distro is... 🥁... Ubuntu and it's unable to build a pmOS tools tree because it doesn't have apk-tools.

craftyguy added 6 commits May 11, 2026 16:23
sulogin is packaged separately on Alpine Linux, and this other pkg is
not pulled in automatically. Fixes emergency shell in the initrd
Not pulled in automatically as a dependency, and needed for lvm support
On Alpine/pmOS, the EFI stub is split into a separate systemd-efistub
package rather than being bundled with systemd-boot, so it needs to
be added to the tools tree so mkosi can find it when building UKI/ESP
images.
@craftyguy
Copy link
Copy Markdown
Contributor Author

This opensuse tools tree failure seems unrelated to my changes, it's also failing when building images for other distros:

[32](https://github.com/systemd/mkosi/actions/runs/25703288918/job/75468214832?pr=4297#step:10:4133)
+ /usr/lib/systemd/systemd-keyutil extract-public --private-key /work/home/runner/work/mkosi/mkosi/mkosi.key
+ /usr/lib/systemd/systemd-measure sign --osrel=/work/var/tmp/mkosi-workspace-ovxxn95g/root/usr/lib/os-release --cmdline=/work/var/tmp/mkosi-workspace-ovxxn95g/cmdline --uname=/tmp/tmp.uname0_1a3qma --pcrpkey=/tmp/tmp.pcrpkey7wvwhp5e --linux=/work/var/tmp/mkosi-workspace-ovxxn95g/root/usr/lib/modules/6.18.29-0-virt/vmlinuz --initrd=/tmp/tmp.initrdxwyk1xfg --sbat=/tmp/tmp.sbatetn4_75z --bank=sha256 --private-key=/work/home/runner/work/mkosi/mkosi/mkosi.key
Could not calculate PolicyPCR digest: Operation not supported

@behrmann
Copy link
Copy Markdown
Contributor

Thanks for this!

Yeah, opensuse is borked at the moment and nobody had time to investigate yet.

@daandemeyer
Copy link
Copy Markdown
Contributor

@craftyguy We can mess around a bit, you can add a step to the mkosi action to download a static apk (check the hash ofc) and together with #4313 we'll be able to build from ubuntu

@daandemeyer
Copy link
Copy Markdown
Contributor

If you rebase we now install apk in the github action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants