From: Chase Maupin Date: Wed, 28 Jul 2010 04:06:18 +0000 (+0000) Subject: sourceipk: use ar to package ipk instead of tar X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07c1f7bb1131fdc9b17d842e59161d96b3f60630;p=openembedded.git 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 Signed-off-by: Koen Kooi --- diff --git a/classes/sourceipk.bbclass b/classes/sourceipk.bbclass index 9acd9a5427..4957e4af4c 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