[oe] [PATCH 2/2] sourceipk: use ar to package ipk instead of tar
Chase Maupin
chasemaupin03 at gmail.com
Wed Jul 28 14:06:18 UTC 2010
* 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>
---
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
--
1.7.0.4
More information about the Openembedded-devel
mailing list