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 <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8366>
This commit is contained in:
Clayton Craft
2026-04-18 00:11:19 -07:00
parent 9fa7c035d4
commit ae9cab3d75
+43 -2
View File
@@ -1,7 +1,7 @@
maintainer="Clayton Craft <clayton@craftyguy.net>"
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