- xbps-src templates: das-theme (adw-gtk3-based GTK themes, generated xfwm4 frames, wallpapers, logo), das-settings (Xfce, panel, LightDM defaults in /etc/xdg/das), adw-gtk3 and font-jetbrains-mono - void-mklive profile in live/: packages, runit services, rootfs overlay, Ukrainian locale, live user with autologin - Void builder container, build scripts, QEMU runner and Makefile - Bilingual README with screenshots Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
19 lines
621 B
Bash
Executable File
19 lines
621 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Runs a command inside the Void Linux builder container.
|
|
# The project is mounted at /work; downloaded packages are cached in out/cache/xbps.
|
|
set -euo pipefail
|
|
|
|
root=$(cd "$(dirname "$0")/.." && pwd)
|
|
image=dasos-builder
|
|
|
|
docker build --quiet --tag "$image" "$root/docker/builder" >/dev/null
|
|
mkdir -p "$root/out/cache/xbps"
|
|
|
|
# --privileged: mklive mounts /proc, /sys, /dev and a loop device for the root image
|
|
exec docker run --rm --privileged \
|
|
--volume "$root:/work" \
|
|
--volume "$root/out/cache/xbps:/var/cache/xbps" \
|
|
--env HOST_UID="$(id -u)" \
|
|
--env HOST_GID="$(id -g)" \
|
|
"$image" "$@"
|