Attemt to fix travis rpi cfg

This commit is contained in:
Krisjanis Rijnieks
2018-05-06 02:02:05 +02:00
parent 4634629d93
commit 81e5391a36
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -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}"
+2
View File
@@ -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