Fix Alpine root path to use initramfs directory
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user