Browse Source

Beginning work on unified AO installation

main
Zenen Treadwell 3 years ago
parent
commit
fc4c90f052
  1. 5
      Makefile
  2. 1
      scripts/init.sh
  3. 11
      scripts/prep-rpi-usb.sh

5
Makefile

@ -8,8 +8,9 @@ it-pretty:
@chmod +x scripts/init.sh @chmod +x scripts/init.sh
@scripts/init.sh @scripts/init.sh
it-autonomous: autonomy:
@echo "soon!" @chmod +x scripts/fresh-setup.sh
@scripts/fresh-setup.sh
acquisition: acquisition:
@chmod +x scripts/get-image.sh @chmod +x scripts/get-image.sh

1
scripts/init.sh

@ -41,7 +41,6 @@ install_if_needed() {
echo $package 'already installed!' echo $package 'already installed!'
fi fi
done done
} }
echo "Updating the repositories..." echo "Updating the repositories..."

11
scripts/prep-rpi-usb.sh

@ -75,6 +75,17 @@ if [[ ! -z $hostname ]]; then
echo "Hostname configured to $hostname" echo "Hostname configured to $hostname"
fi fi
read -p "Would you like to copy Alchemy to the new device? (y/n): " -n1 boot
case $boot in
y | Y)
echo ""
echo "zipping and copying..."
zip -r alchemy ./{Makefile,README.md,resources,scripts}
sudo cp alchemy.zip /mnt/usr/share/
echo "done!"
;;
esac
sudo umount ${target}2 sudo umount ${target}2
sleep 1 sleep 1

Loading…
Cancel
Save