busybox/qemu_multiarch_testing/hdc.dir/init
Denys Vlasenko 12efcf3285 Add qemu_multiarch_testing/
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2015-10-05 09:04:04 +02:00

10 lines
280 B
Bash
Executable File

#!/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"