sourceipk: add license to control file
PATCH 1/2 sourceipk: add license to control file
* Added License field to the control file.
Signed-off-by Chase Maupin <[email protected]>
--- classes/sourceipk.bbclass | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
classes/sourceipk.bbclass +1 -0
@@ -83,6 +83,7 @@ sourceipk_do_create_srcipk() { echo "Section: ${SECTION}" >> $control_file echo "Priority: Optional" >> $control_file echo "Maintainer: ${MAINTAINER}" >> $control_file + echo "License: ${LICENSE}" >> $control_file echo "Architecture: ${SRCIPK_PACKAGE_ARCH}" >> $control_file srcuri="${SRC_URI}" if [ "$srcuri" == "" ]
Signature · 1 line
1.7.0.4
PATCH 2/2 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 <[email protected]>
--- classes/sourceipk.bbclass | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
classes/sourceipk.bbclass +1 -1
@@ -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
Signature · 1 line
1.7.0.4