aboutsummaryrefslogtreecommitdiff
path: root/qemu_multiarch_testing/hdc.dir/init
diff options
context:
space:
mode:
Diffstat (limited to 'qemu_multiarch_testing/hdc.dir/init')
-rwxr-xr-xqemu_multiarch_testing/hdc.dir/init9
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 000000000..692371db6
--- /dev/null
+++ b/qemu_multiarch_testing/hdc.dir/init
@@ -0,0 +1,9 @@
1#!/bin/sh
2
3# Emit a msg to let user know this place was reached
4echo "Copying to /home"
5# Had a case where cp SEGVs, let's have diagnostics for it
6cp -a /mnt /home || { echo "cp: $?"; exit 1; }
7cd /home/mnt || { echo "cd: $?"; exit 1; }
8exec ./build
9echo "Failed to exec ./build"