Clean up submodule references
This commit is contained in:
@@ -143,35 +143,32 @@ fi
|
||||
# Build each Zero-OS component from submodules
|
||||
echo "Building Zero-OS components from submodules:"
|
||||
|
||||
# 1. Zinit - Init system (Go)
|
||||
# 1. Zinit - Init system (Go) - master branch
|
||||
if build_go_component "zinit" "zinit" "/sbin" "go build -o zinit"; then
|
||||
echo " Zinit built successfully"
|
||||
else
|
||||
echo " Warning: Failed to build zinit"
|
||||
fi
|
||||
|
||||
# 2. RFS - Rust filesystem (Rust)
|
||||
# 2. RFS - Rust filesystem (Rust) - v2.0.6 with musl
|
||||
if build_rust_component "rfs" "rfs" "/usr/bin"; then
|
||||
echo " RFS built successfully"
|
||||
else
|
||||
echo " Warning: Failed to build rfs"
|
||||
fi
|
||||
|
||||
# 3. Seektime - Disk detection (Go)
|
||||
if build_go_component "seektime" "seektime" "/usr/bin" "go build -o seektime"; then
|
||||
echo " Seektime built successfully"
|
||||
# 3. CoreX - Container control (static binary) - v2.1.4
|
||||
echo " Installing CoreX static binary..."
|
||||
if [ -f "$COMPONENTS_DIR/corex/corex" ]; then
|
||||
mkdir -p "$ALPINE_ROOT/usr/bin"
|
||||
cp "$COMPONENTS_DIR/corex/corex" "$ALPINE_ROOT/usr/bin/"
|
||||
chmod +x "$ALPINE_ROOT/usr/bin/corex"
|
||||
echo " CoreX installed successfully"
|
||||
else
|
||||
echo " Warning: Failed to build seektime"
|
||||
echo " Warning: CoreX binary not found"
|
||||
fi
|
||||
|
||||
# 4. Core-X - Container control (Go)
|
||||
if build_go_component "core-x" "core-x" "/usr/bin" "go build -o core-x"; then
|
||||
echo " Core-X built successfully"
|
||||
else
|
||||
echo " Warning: Failed to build core-x"
|
||||
fi
|
||||
|
||||
# 5. Mycelium - Networking layer (Rust)
|
||||
# 4. Mycelium - Networking layer (Rust) - 0.6.1 with musl
|
||||
if build_rust_component "mycelium" "mycelium" "/usr/bin"; then
|
||||
echo " Mycelium built successfully"
|
||||
else
|
||||
@@ -184,7 +181,7 @@ echo "[+] Zero-OS component compilation completed"
|
||||
# Show installed binaries info
|
||||
echo ""
|
||||
echo "[+] Compiled Zero-OS components in Alpine root:"
|
||||
for binary in "/sbin/zinit" "/usr/bin/rfs" "/usr/bin/seektime" "/usr/bin/core-x" "/usr/bin/mycelium"; do
|
||||
for binary in "/sbin/zinit" "/usr/bin/rfs" "/usr/bin/corex" "/usr/bin/mycelium"; do
|
||||
if [ -x "$ALPINE_ROOT$binary" ]; then
|
||||
size=$(stat -c%s "$ALPINE_ROOT$binary" 2>/dev/null || echo "unknown")
|
||||
echo " $binary (${size} bytes)"
|
||||
|
||||
Reference in New Issue
Block a user