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

git at git.openembedded.org git at git.openembedded.org
Fri Nov 4 15:03:42 UTC 2011


Module: openembedded.git
Branch: 2011.03-maintenance
Commit: bac8df87b912cfc6082627fbf2144898829b4f13
URL:    http://git.openembedded.org/?p=openembedded.git&a=commit;h=bac8df87b912cfc6082627fbf2144898829b4f13

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