Skip to contentSkip to conversation

sourceipk: dereference symlinks in sourceipk

PATCH In review Chase Maupin 1 participant 2 messages Oct 10, 2011 – Oct 21, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 classes/sourceipk.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
classes/sourceipk.bbclass +1 -1
index 1b63996..546ec67 100644
@@ -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
Signature · 1 line
1.7.0.4
#1 lore raw

Ping. Any objections to this?

Sincerely,
Chase Maupin
Open Platforms
ARM MPU
e-mail: [email protected]
phone: (214) 567-2950

For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/

Quoted 35 lines

-----Original Message-----
From: Maupin, Chase
Sent: Monday, October 10, 2011 2:27 PM
To: [email protected]
Cc: Maupin, Chase
Subject: [PATCH] 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.

---
 classes/sourceipk.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
classes/sourceipk.bbclass +0 -1
index 1b63996..546ec67 100644
@@ -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