diff options
author | 2016-11-09 00:35:50 +0100 | |
---|---|---|
committer | 2016-11-09 09:13:35 +0100 | |
commit | a448d00f0429fec60d331ce1ac401ecfcc9de3e5 (patch) | |
tree | 4b66aea26a920f475f6264550b0167af76aaac19 /jjb/common/include-agl-test-nbd-short.sh | |
parent | e0ac2518bafc0506ee2d8e363620397a7fa09dc0 (diff) |
copy link destination and fix bash script
Change-Id: I46b30485db01b52af094f51f3becffc4a6408e70
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'jjb/common/include-agl-test-nbd-short.sh')
-rw-r--r-- | jjb/common/include-agl-test-nbd-short.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/jjb/common/include-agl-test-nbd-short.sh b/jjb/common/include-agl-test-nbd-short.sh index cef334b6..aeeb4280 100644 --- a/jjb/common/include-agl-test-nbd-short.sh +++ b/jjb/common/include-agl-test-nbd-short.sh @@ -73,7 +73,7 @@ fi function maketmpfile() { DFILE=`mktemp -u -p ./ | sed -e "s#./##g"` - eval cp \$$1 $DFILE + eval cp -L \$$1 $DFILE export $1="$DFILE" } @@ -114,8 +114,11 @@ timeout: 1800 EOF +cat /opt/AGL/lava-boot/lava-boot | sed -e 's#"~/.lava.yaml"#"/opt/AGL/lava-agl/lava.yaml"#' > ~/lava-boot +chmod a+x ~/lava-boot + logfile=$(mktemp) -/opt/AGL/lava-boot/lava-boot porter.automotivelinux.org -j ./porterboot_nbd.yaml -v ROOTFSTOBOOT="${ROOTFSTOBOOT}" -v KERNELIMAGE=${KERNELIMAGE} -v NETBOOTIMAGE=${NETBOOTIMAGE} 2>&1 | tee $logfile +~/lava-boot porter.automotivelinux.org -j ./porterboot_nbd.yaml -v ROOTFSTOBOOT="${ROOTFSTOBOOT}" -v KERNELIMAGE=${KERNELIMAGE} -v NETBOOTIMAGE=${NETBOOTIMAGE} 2>&1 | tee $logfile popd |