]>
git.saurik.com Git - apple/hfs.git/blob - core/install
6 # Created by Chris Suter on 4/30/15.
9 if [ ! "$MACHINE" ] ; then
10 echo "MACHINE not specified"
16 # Virtual machine stuff
17 [ "$VM" != "" -a "$VMRUN" != "" ] && { ping -c 1 -t 2 $MACHINE || {
18 VMX
="$HOME/Documents/Virtual Machines.localized/$VM.vmwarevm/$VM.vmx"
20 "$VMRUN" revertToSnapshot
"$VMX" "Safe" || exit 1
21 "$VMRUN" start
"$VMX" || exit 1
25 rsync
-P "$BUILT_PRODUCTS_DIR/$ROOT" $MACHINE: || exit 1
27 ssh $MACHINE bash
-x -s <<EOF
28 sudo darwinup uninstall $ROOT
29 sudo darwinup install $ROOT
30 sudo kextcache -update-volume /
33 nohup bash -c "sleep 0.6 ; sudo reboot -q" >/dev/null 2>/dev/null </dev/null &