mirror of
https://github.com/blazblue547-afk/nova-os.git
synced 2026-12-02 14:54:17 -05:00
v3.0: From-source build — systemd 260 + BusyBox 1.36.1
- Compile systemd 260.2 from upstream source (meson/ninja) - Compile BusyBox 1.36.1 static from source - Zero Debian binaries in rootfs (kernel + systemd + busybox all from source) - 56 MB rootfs with networkd, resolved, and getty - Custom Nova splash service at boot - Runtime libs (glibc, libcrypto, etc.) from host toolchain - Updated mkimage.sh, Makefile, README for from-source workflow - Output: nova-os-3.0-from-source.img (1.5 GB)
This commit is contained in:
1 parent
8a622dfb9e
commit
2dfd0999db
4 files changed
+103
-167
No files matched your search
+4
-4
@@ -5,11 +5,11 @@
|
||||
set -e
|
||||
|
||||
NOVA_ROOT="/home/joe/nova-os"
|
||||
IMAGE="$NOVA_ROOT/nova-os-2.0-systemd.img"
|
||||
IMAGE="$NOVA_ROOT/nova-os-3.0-from-source.img"
|
||||
SIZE_MB=1536 # 1.5 GB
|
||||
TMP_MNT="/tmp/nova-os-mnt"
|
||||
|
||||
echo "==> Nova OS Image Builder"
|
||||
echo "==> Nova OS Image Builder (from-source)"
|
||||
echo ""
|
||||
|
||||
# Check kernel exists
|
||||
@@ -74,8 +74,8 @@ echo "✓ Boot partition ready"
|
||||
|
||||
# Copy rootfs
|
||||
echo "==> Copying root filesystem..."
|
||||
sudo cp -a "$NOVA_ROOT/rootfs/"* "$TMP_MNT/root/"
|
||||
echo "✓ Root filesystem ready (systemd $(sudo chroot "$TMP_MNT/root" systemd --version 2>/dev/null | head -1 | awk '{print $2}'))"
|
||||
sudo cp -a "$NOVA_ROOT/rootfs-custom/"* "$TMP_MNT/root/"
|
||||
echo "✓ Root filesystem ready (systemd 260 · BusyBox 1.36.1 · built from source)"
|
||||
|
||||
# Unmount
|
||||
echo "==> Unmounting..."
|
||||
|
||||
Reference in new issue
Block a user