From 81e5391a367ea458f305c927e2ed8eef1f4cca62 Mon Sep 17 00:00:00 2001 From: Krisjanis Rijnieks Date: Sun, 6 May 2018 02:02:05 +0200 Subject: [PATCH] Attemt to fix travis rpi cfg --- scripts/ci/rpi/mkimage.sh | 4 ++-- scripts/ci/rpi/pisetup.sh | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) 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