Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2009-12-30 14:50:16 (GMT)
committer Daniel Drake <dsd@laptop.org>2009-12-30 14:50:45 (GMT)
commit76ffce40e120035ce8576525ad29e4785d517eb6 (patch)
treeb5c6078d831d0dc4a2120fe97ea330e33122c699
parenta48d52ab164f2124e2f18057637e5f4345ebce21 (diff)
Improve disk image archive creationv1.0.0
Drop path components inside the tarball
-rw-r--r--modules/sd_card_image/postimage.50.makezd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/sd_card_image/postimage.50.makezd.sh b/modules/sd_card_image/postimage.50.makezd.sh
index 2f7a879..b76e357 100644
--- a/modules/sd_card_image/postimage.50.makezd.sh
+++ b/modules/sd_card_image/postimage.50.makezd.sh
@@ -24,7 +24,7 @@ for line in $(env); do
if [[ "$compress" == "1" ]]; then
echo "Compressing disk image..."
- tar -czSf $pfx.disk.img.tar.gz $pfx.disk.img
+ tar -czS -f $pfx.disk.img.tar.gz -C $outputdir $osname.disk.img
rm -f $pfx.disk.img
fi
done