diff options
Diffstat (limited to 'qemu_multiarch_testing/hdc.dir/init')
-rwxr-xr-x | qemu_multiarch_testing/hdc.dir/init | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/qemu_multiarch_testing/hdc.dir/init b/qemu_multiarch_testing/hdc.dir/init new file mode 100755 index 0000000..692371d --- /dev/null +++ b/qemu_multiarch_testing/hdc.dir/init @@ -0,0 +1,9 @@ +#!/bin/sh + +# Emit a msg to let user know this place was reached +echo "Copying to /home" +# Had a case where cp SEGVs, let's have diagnostics for it +cp -a /mnt /home || { echo "cp: $?"; exit 1; } +cd /home/mnt || { echo "cd: $?"; exit 1; } +exec ./build +echo "Failed to exec ./build" |