make duranium "self hosting"

This MR, along with duranium-build!24 (merged) make it possible to build duranium images on a duranium install, using the "developer tools" system extension 🎉

This does:

  1. breaks a hard dependency that postmarketos-base had on apk-tools

IMPORTANT needs testing to make sure this isn't causing regressions on existing mutable installs!! pmb apparently adds apk-tools to world (see: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/blob/main/pmb/chroot/init.py#L152), so I think the risk is low...

  1. adds mkosi and apk-tools to duranium's dev-tools sysext

  2. prevent apk from running on the rootfs in duranium when it's installed by the sysext (we only want apk to be used with --rootfs and not target the duranium rootfs...)

see commit messages for TMI.

fixes #4502 (closed)

Edited by Clayton Craft

Merge request reports

Loading