From ae9cab3d75cb60ae2738a6d5bcfaa72748cf5c2a Mon Sep 17 00:00:00 2001 From: Clayton Craft Date: Wed, 15 Apr 2026 11:15:12 -0700 Subject: [PATCH] main/postmarketos-duranium: add packages for "dev tools" sysext This subpackage will be used to build the "developer tools" system extension for duranium. The list of packages was created after collecting input from early testers in the Duranium chat. Also see: https://gitlab.postmarketos.org/postmarketOS/duranium-build/-/work_items/47 Signed-off-by: Clayton Craft Part-of: --- main/postmarketos-duranium/APKBUILD | 45 +++++++++++++++++++++++++++-- 1 file changed, 43 insertions(+), 2 deletions(-) diff --git a/main/postmarketos-duranium/APKBUILD b/main/postmarketos-duranium/APKBUILD index 55f913669..11cf1b468 100644 --- a/main/postmarketos-duranium/APKBUILD +++ b/main/postmarketos-duranium/APKBUILD @@ -1,7 +1,7 @@ maintainer="Clayton Craft " pkgname=postmarketos-duranium pkgver=3 -pkgrel=1 +pkgrel=2 pkgdesc="Configuration for building and booting immutable postmarketOS images" url="https://wiki.postmarketos.org/wiki/Duranium_(Immutable_postmarketOS)" options="!check" # no tests @@ -22,7 +22,10 @@ depends=" # ppc64le s390x: EFI arch="noarch !x86 !armhf !ppc64le !s390x" license="GPL-3.0-or-later" -subpackages="$pkgname-initramfs" +subpackages=" + $pkgname-initramfs + $pkgname-sysext-dev-tools:sysext_dev_tools +" _source644=" etc/crypttab @@ -139,6 +142,44 @@ initramfs() { "$subpkgdir"/usr/lib/systemd/system/dev-gpt\\x2dauto\\x2droot.device.d/no-timeout.conf } +sysext_dev_tools() { + description="meta package for Duranium Developer Tools system extension" + depends=" + android-tools + android-udev-rules + + devpod + distrobox + podman + + libvirt-client + libvirt-common-drivers + libvirt-daemon + libvirt-qemu + qemu + qemu-img + qemu-modules + qemu-system-aarch64 + qemu-system-arm + qemu-system-i386 + qemu-system-loongarch64 + qemu-system-ppc64 + qemu-system-riscv64 + qemu-system-x86_64 + " + + case "$CARCH" in + x86_64|riscv64) + depends="$depends ovmf" ;; + aarch64) + depends="$depends aavmf" ;; + loongarch64) + depends="$depends edk2-loongarch64" ;; + esac + + mkdir -p "$subpkgdir" +} + sha512sums=" ac441c8a690b89a92c2d7db37145e54d918bb9838a45cf76d20de82d46848a80477a8035d9cbaa39fb6ea4747c2762789f71736aa11a78e3adcca0c339dc5677 rootfs-etc-crypttab ce3f39aa5ed95065306a42bbab6b405bcb90446e206c25509bda64ed2866d80d5168ac225baeb2a50a66e17cbb9b32f26b4a5ec1e042b5f0bf40f6907f4e4d82 rootfs-usr-lib-modprobe.d-no-firmware.conf