sourceipk: use ar to package ipk instead of tar
authorChase Maupin <chasemaupin03@gmail.com>
Wed, 28 Jul 2010 04:06:18 +0000 (04:06 +0000)
committerKoen Kooi <koen@openembedded.org>
Wed, 28 Jul 2010 14:30:04 +0000 (16:30 +0200)
* 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@ti.com>
Signed-off-by: Koen Kooi <koen@openembedded.org>
classes/sourceipk.bbclass

index 9acd9a5..4957e4a 100644 (file)
@@ -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