[oe-commits] Chase Maupin : sourceipk: use ar to package ipk instead of tar

git version control git at git.openembedded.org
Wed Jul 28 14:30:33 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 07c1f7bb1131fdc9b17d842e59161d96b3f60630
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=07c1f7bb1131fdc9b17d842e59161d96b3f60630

Author: Chase Maupin <chasemaupin03 at gmail.com>
Date:   Wed Jul 28 04:06:18 2010 +0000

sourceipk: use ar to package ipk instead of tar

* Changed the command that packages the contents of the
  source ipk to ar instead of tar to match how other ipks
  are built.

Signed-off-by: Chase Maupin <chase.maupin at ti.com>
Signed-off-by: Koen Kooi <koen at openembedded.org>

---

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

diff --git a/classes/sourceipk.bbclass b/classes/sourceipk.bbclass
index 9acd9a5..4957e4a 100644
--- a/classes/sourceipk.bbclass
+++ b/classes/sourceipk.bbclass
@@ -114,7 +114,7 @@ sourceipk_do_create_srcipk() {
         mkdir -p ${DEPLOY_DIR_IPK}/${SRCIPK_PACKAGE_ARCH}
         pkg_file=${DEPLOY_DIR_IPK}/${SRCIPK_PACKAGE_ARCH}/${PN}-src_${PV}-${PR}_${SRCIPK_PACKAGE_ARCH}.ipk
         rm -f $pkg_file
-        tar -C $srcipk_dir -czf $pkg_file .
+        ( cd $srcipk_dir && ar -crf $pkg_file ./debian-binary ./data.tar.gz ./control.tar.gz )
 
         # Remove the temporary directory
         rm -rf $tmp_dir





More information about the Openembedded-commits mailing list