From 52a3722ff8685742b111858c0568a098b9f501e4 Mon Sep 17 00:00:00 2001 From: Chase Maupin Date: Mon, 10 Oct 2011 14:27:00 -0500 Subject: 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 Signed-off-by: Denys Dmytriyenko --- classes/sourceipk.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/sourceipk.bbclass b/classes/sourceipk.bbclass index 1b63996997..546ec6787a 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 -- cgit 1.2.3-korg