[oe] [PATCH] sourceipk: dereference symlinks in sourceipk

Chase Maupin Chase.Maupin at ti.com
Mon Oct 10 19:27:00 UTC 2011


* 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>
---
 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
-- 
1.7.0.4





More information about the Openembedded-devel mailing list