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