From 07c1f7bb1131fdc9b17d842e59161d96b3f60630 Mon Sep 17 00:00:00 2001 From: Chase Maupin Date: Wed, 28 Jul 2010 04:06:18 +0000 Subject: [PATCH] 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 --- classes/sourceipk.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5