1
0
forked from wrenn/wrenn
Co-authored-by: Tasnim Kabir Sadik <tksadik@omukk.dev>

Reviewed-on: wrenn/wrenn#50
This commit is contained in:
2026-05-24 21:10:37 +00:00
parent 4707f16c76
commit 05ddf62399
203 changed files with 15815 additions and 9344 deletions

19
images/build-fedora.sh Executable file
View File

@ -0,0 +1,19 @@
#!/usr/bin/env bash
#
# build-fedora.sh — Build the minimal-fedora system base rootfs (template id 3).
#
# Usage: bash images/build-fedora.sh
set -euo pipefail
source "$(cd "$(dirname "$0")" && pwd)/build-common.sh"
# Fedora's iproute package provides `ip` (no "2" suffix, unlike Debian/Arch).
PREP="set -e
# install_weak_deps=False keeps the image lean. The guest never runs systemd:
# PID 1 is wrenn-init -> tini -> envd.
dnf install -y --setopt=install_weak_deps=False socat chrony sudo wget curl ca-certificates git iproute hostname tini
useradd -m -s /bin/bash wrenn-user
${WRENN_SUDOERS_SETUP}
dnf clean all"
build_system_rootfs "fedora:45" 3 "${PREP}"