aboutsummaryrefslogtreecommitdiff
path: root/ledge-debian
diff options
context:
space:
mode:
authorChristophe Priouzeau <christophe.priouzeau@linaro.org>2019-09-16 15:16:11 +0200
committerIlias Apalodimas <ilias.apalodimas@linaro.org>2019-09-17 07:11:12 +0000
commit785f505b5fee4a09834c91ae695cec98410a4e9d (patch)
tree6122783305d4d8bbfacd32174df8145f556121fa /ledge-debian
parent5bbbb5119afc658d021ed25ba65cb71418aef7ef (diff)
LEDGE: correct localpath issue
Change-Id: Iccc0dc374f273976bdc50aa8367295e804a52710 Signed-off-by: Christophe Priouzeau <christophe.priouzeau@linaro.org>
Diffstat (limited to 'ledge-debian')
-rw-r--r--ledge-debian/builders-fai.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/ledge-debian/builders-fai.sh b/ledge-debian/builders-fai.sh
index bff4df1b..ae438eda 100644
--- a/ledge-debian/builders-fai.sh
+++ b/ledge-debian/builders-fai.sh
@@ -72,9 +72,10 @@ for rootfs in ${ROOTFS}; do
# extract content of raw image and put it on tarball
LOOPDEV=$(sudo losetup -f -P --show ${BUILDDIR}/work.raw)
+ LOCALPATH=$(pwd)
sudo mount $LOOPDEV /mnt/
cd /mnt/
- sudo tar cJf out/rootfs-${image_name}.tar.xz .
+ sudo tar cJf "$LOCALPATH"/out/rootfs-${image_name}.tar.xz .
cd -
sudo umount /mnt
done