diff --git a/scripts/ci/rpi/mkimage.sh b/scripts/ci/rpi/mkimage.sh index 6679aa3..44e066c 100644 --- a/scripts/ci/rpi/mkimage.sh +++ b/scripts/ci/rpi/mkimage.sh @@ -16,7 +16,6 @@ fi MOUNT="mnt" echo "Welcome to mkimage.sh script." -cd .. pwd # Unmount drives and general cleanup on exit, the trap ensures this will always @@ -77,7 +76,8 @@ cp "${MOUNT}/etc/ld.so.preload" "${MOUNT}/etc/_ld.so.preload" echo "" > "${MOUNT}/etc/ld.so.preload" # copy ofxPiMapper to openFrameworks/addons -cp -r ofxPiMapper "${MOUNT}/home/pi/openFrameworks/addons/" +mkdir "${MOUNT}/home/pi/openFrameworks/addons/ofxPiMapper" +cp -r ./ "${MOUNT}/home/pi/openFrameworks/addons/ofxPiMapper" # Run the installation script as if we would be inside the Raspberry Pi. chroot "${MOUNT}" "/tmp/${SCRIPT}" diff --git a/scripts/ci/rpi/pisetup.sh b/scripts/ci/rpi/pisetup.sh index 9f4e3bf..e72c8ee 100644 --- a/scripts/ci/rpi/pisetup.sh +++ b/scripts/ci/rpi/pisetup.sh @@ -2,6 +2,8 @@ echo "Hello! Me is pisetup.sh script." +pwd + cd /home/pi/openFrameworks/addons git clone --depth=1 https://github.com/jeffcrouse/ofxJSON.git