[oe-commits] Chase Maupin : sourceipk: dereference symlinks in sourceipk

git at git.openembedded.org git at git.openembedded.org
Wed Oct 26 20:25:21 UTC 2011


Module: openembedded.git
Branch: master
Commit: 52a3722ff8685742b111858c0568a098b9f501e4
URL:    http://git.openembedded.org/?p=openembedded.git&a=commit;h=52a3722ff8685742b111858c0568a098b9f501e4

Author: Chase Maupin <Chase.Maupin at ti.com>
Date:   Mon Oct 10 14:27:00 2011 -0500

sourceipk: dereference symlinks in sourceipk

* Added the -h option to the tar command to make sure that any
  patches that may have been applied by the recipe are actually
  copied instead of made as symlinks to the recipe directory.
* This is so that people can see the actual patches and unapply
  individual patches as desired.

Signed-off-by: Chase Maupin <Chase.Maupin at ti.com>
Signed-off-by: Denys Dmytriyenko <denys at ti.com>

---

 classes/sourceipk.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/classes/sourceipk.bbclass b/classes/sourceipk.bbclass
index 1b63996..546ec67 100644
--- a/classes/sourceipk.bbclass
+++ b/classes/sourceipk.bbclass
@@ -122,7 +122,7 @@ sourceipk_do_create_srcipk() {
         fi
 
         #Write the data tarball
-        tar -C $tmp_dir --owner=0 --group=0 -czf $srcipk_dir/data.tar.gz .
+        tar -C $tmp_dir --owner=0 --group=0 -chzf $srcipk_dir/data.tar.gz .
 
         # Create the debian-binary file
         echo "2.0" > $srcipk_dir/debian-binary





More information about the Openembedded-commits mailing list