forked from PiNetwork/PiRC
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
26 lines (20 loc) · 732 Bytes
/
setup.sh
File metadata and controls
26 lines (20 loc) · 732 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash
# PiRC Complete Setup
echo "🚀 PiRC Super Setup Starting..."
# Clone submodules
git submodule update --init --recursive
# Build PiRC-OS
echo "Building PiRC-OS..."
chmod +x pirc-os/build.sh
./pirc-os/build.sh
# Build Docker images
docker build -f Dockerfile.pirc-os -t pirc/os:latest .
docker build -f Dockerfile.pirc-vision -t pirc/vision:latest ./vision/
docker build -f Dockerfile.pirc-nav -t pirc/navigation:latest ./navigation/
# Create installer
chmod +x pirc-os/installer/pirc-os-install.sh
echo "✅ PiRC-OS READY!"
echo "Flash with: sudo ./pirc-os/installer/pirc-os-install.sh /dev/sdX"
echo "Files created:"
echo " - pirc-os.iso (Bootable USB)"
echo " - Docker images: pirc/os, pirc/vision, pirc/nav"