mirror of
https://github.com/AeThex-Corporation/AeThex-OS.git
synced 2026-04-17 22:27:19 +00:00
fix: Add missing ROOTFS_DIR and ISO_DIR variable definitions
The build-linux-iso.sh script used $ROOTFS_DIR and $ISO_DIR variables throughout but never defined them, causing the script to fail immediately. Fix: - Add ROOTFS_DIR="$BUILD_DIR/rootfs" - Add ISO_DIR="$BUILD_DIR/iso" - Update mkdir to create proper directory structure with casper/isolinux/grub These variables were already correctly defined in build-linux-iso-full.sh
This commit is contained in:
parent
879abba10b
commit
38572a2a74
1 changed files with 3 additions and 1 deletions
|
|
@ -6,6 +6,8 @@ set -e
|
|||
|
||||
WORK_DIR="${1:-.}"
|
||||
BUILD_DIR="$WORK_DIR/aethex-linux-build"
|
||||
ROOTFS_DIR="$BUILD_DIR/rootfs"
|
||||
ISO_DIR="$BUILD_DIR/iso"
|
||||
ISO_NAME="AeThex-Linux-amd64.iso"
|
||||
|
||||
echo "[*] AeThex ISO Builder - Containerized Edition"
|
||||
|
|
@ -14,7 +16,7 @@ echo "[*] This build method works in Docker without privileged mode"
|
|||
|
||||
# Clean and prepare
|
||||
rm -rf "$BUILD_DIR"
|
||||
mkdir -p "$BUILD_DIR"/{iso,rootfs}
|
||||
mkdir -p "$ROOTFS_DIR" "$ISO_DIR"/{casper,isolinux,boot/grub}
|
||||
|
||||
# Check dependencies
|
||||
echo "[*] Checking dependencies..."
|
||||
|
|
|
|||
Loading…
Reference in a new issue