diff --git a/adapters/container-runner-package.sh b/adapters/container-runner-package.sh index 32b0c3e..67c01ef 100644 --- a/adapters/container-runner-package.sh +++ b/adapters/container-runner-package.sh @@ -7,7 +7,17 @@ sed -e 's/modconf block/modconf kms keyboard sd-vconsole block/' \ "$pkg/runtime/usr/lib/archipelago/mkinitcpio-core.conf" > "$pkg/runtime/usr/lib/archipelago/mkinitcpio-container-runner.conf" printf 'Container Runner; operator-managed container host\n' > "$pkg/runtime/usr/lib/archipelago/container-runner" printf 'purpose/server/container-runner\n' > "$pkg/runtime/usr/lib/archipelago/purpose" -mkdir -p "$pkg/runtime/usr/lib/systemd/system-preset" "$pkg/runtime/usr/share/archipelago/container-runner" +mkdir -p "$pkg/runtime/usr/lib/systemd/system" "$pkg/runtime/usr/lib/systemd/system-preset" \ + "$pkg/runtime/usr/etc/containers/registries.conf.d" "$pkg/runtime/usr/share/archipelago/container-runner" +# D-118: Toolbx is part of this Purpose too, with the same upstream Arch image as +# Core and Desktop Purposes. The Purpose carries the default so it does not depend +# on a Core rebuild to add it. +cat > "$pkg/runtime/usr/etc/containers/toolbox.conf" <<'TOOLBOX' +@@TOOLBOX_CONFIG@@ +TOOLBOX +cat > "$pkg/runtime/usr/etc/containers/registries.conf.d/60-archipelago-toolbox.conf" <<'TOOLBOX_REGISTRIES' +@@TOOLBOX_REGISTRIES@@ +TOOLBOX_REGISTRIES cat > "$pkg/runtime/usr/lib/systemd/system-preset/10-archipelago-container-runner.preset" <<'PRESET' enable cockpit.socket enable libvirtd.service