Browse Source

Attempt to fix travis qemu coredump

master
Krisjanis Rijnieks 7 years ago
parent
commit
4634629d93
  1. 1
      .travis.yml
  2. 4
      scripts/ci/rpi/mkimage.sh

1
.travis.yml

@ -18,7 +18,6 @@ matrix:
- dosfstools - dosfstools
- zip - zip
script: script:
- cd ~
- sudo bash ./scripts/ci/rpi/mkimage.sh - sudo bash ./scripts/ci/rpi/mkimage.sh
- zip ${IMAGE}.zip ${IMAGE} - zip ${IMAGE}.zip ${IMAGE}
deploy: deploy:

4
scripts/ci/rpi/mkimage.sh

@ -16,6 +16,7 @@ fi
MOUNT="mnt" MOUNT="mnt"
echo "Welcome to mkimage.sh script." echo "Welcome to mkimage.sh script."
cd ..
pwd pwd
# Unmount drives and general cleanup on exit, the trap ensures this will always # 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" cp "${MOUNT}/etc/ld.so.preload" "${MOUNT}/etc/_ld.so.preload"
echo "" > "${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. # Run the installation script as if we would be inside the Raspberry Pi.
chroot "${MOUNT}" "/tmp/${SCRIPT}" chroot "${MOUNT}" "/tmp/${SCRIPT}"

Loading…
Cancel
Save