aboutsummaryrefslogtreecommitdiff
path: root/ledge-debian
diff options
context:
space:
mode:
authorChristophe Priouzeau <christophe.priouzeau@linaro.org>2019-09-02 13:31:51 +0200
committerChristophe Priouzeau <christophe.priouzeau@linaro.org>2019-09-02 13:31:51 +0200
commitb999315f8cbf40b8e884b508258997f83a1486b4 (patch)
tree33db74c52b0751024c294d70747a0f59960939e9 /ledge-debian
parenta8c3a26d53835f06801c2f74a5a6c3749a915b2e (diff)
LEDGE-DEBIAN: correct xz call
Correct error seen by changing the file group's: xz: Cannot set the file group: Operation not permitted Change-Id: Ia20db8c9dc0fc42d7a0bc4afc7e99b3450cf0d5e Signed-off-by: Christophe Priouzeau <christophe.priouzeau@linaro.org>
Diffstat (limited to 'ledge-debian')
-rw-r--r--ledge-debian/builders-fai.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/ledge-debian/builders-fai.sh b/ledge-debian/builders-fai.sh
index 335cc31b..7719c412 100644
--- a/ledge-debian/builders-fai.sh
+++ b/ledge-debian/builders-fai.sh
@@ -73,6 +73,7 @@ for rootfs in ${ROOTFS}; do
if [ -f out/rootfs-ledge-debian.tar ];
then
mv out/rootfs-ledge-debian.tar out/rootfs-${image_name}.tar
+ sudo chown -g `id -g -n $USER` out/rootfs-${image_name}.tar
xz -z out/rootfs-${image_name}.tar
fi