mirror of
https://github.com/kr15h/ofxPiMapper.git
synced 2026-06-16 12:31:49 +02:00
Attempt to fix travis qemu coredump
This commit is contained in:
@@ -18,7 +18,6 @@ matrix:
|
||||
- dosfstools
|
||||
- zip
|
||||
script:
|
||||
- cd ~
|
||||
- sudo bash ./scripts/ci/rpi/mkimage.sh
|
||||
- zip ${IMAGE}.zip ${IMAGE}
|
||||
deploy:
|
||||
|
||||
@@ -16,6 +16,7 @@ fi
|
||||
MOUNT="mnt"
|
||||
|
||||
echo "Welcome to mkimage.sh script."
|
||||
cd ..
|
||||
pwd
|
||||
|
||||
# Unmount drives and general cleanup on exit, the trap ensures this will always
|
||||
@@ -75,6 +76,9 @@ cp /usr/bin/qemu-arm-static "${MOUNT}/usr/bin"
|
||||
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/"
|
||||
|
||||
# Run the installation script as if we would be inside the Raspberry Pi.
|
||||
chroot "${MOUNT}" "/tmp/${SCRIPT}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user