Fix Alpine root path to use initramfs directory

This commit is contained in:
2025-08-15 22:46:15 +02:00
parent 829f7d034e
commit 5f262d6efb

View File

@@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
set -e set -e
ALPINE_ROOT="/build/alpine" ALPINE_ROOT="/build/initramfs"
COMPONENTS_DIR="/build/components" COMPONENTS_DIR="/build/components"
CACHE_DIR="/build/cache/source" CACHE_DIR="/build/cache/source"
@@ -127,9 +127,8 @@ echo ""
# Ensure Alpine root directory exists # Ensure Alpine root directory exists
if [ ! -d "$ALPINE_ROOT" ]; then if [ ! -d "$ALPINE_ROOT" ]; then
echo "Error: Alpine root not found at $ALPINE_ROOT" echo "Creating Alpine initramfs root at $ALPINE_ROOT"
echo "Make sure Alpine system is built first" mkdir -p "$ALPINE_ROOT"
exit 1
fi fi
# Build each Zero-OS component from submodules # Build each Zero-OS component from submodules