From 5f262d6efb18fa822bbe70932c311be35687d306 Mon Sep 17 00:00:00 2001 From: Jan De Landtsheer Date: Fri, 15 Aug 2025 22:46:15 +0200 Subject: [PATCH] Fix Alpine root path to use initramfs directory --- scripts/compile-components.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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