From patchwork Wed Jan 2 11:53:27 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [3/3, RFC] archive-*-source.bbclass: Handle package class 'package_ipk' Date: Wed, 02 Jan 2013 11:53:27 -0000 From: Shakeel, Muhammad X-Patchwork-Id: 41851 Message-Id: <1357127607-20161-1-git-send-email-muhammad_shakeel@mentor.com> To: openembedded-core@lists.openembedded.org Cc: Christopher Larson From: Muhammad Shakeel * Add archiver tasks correctly if 'PACKAGE_CLASSES' is set to 'package_ipk' [YOCTO #3449] Signed-off-by: Muhammad Shakeel Signed-off-by: Noor Ahsan Signed-off-by: Christopher Larson --- meta/classes/archive-configured-source.bbclass | 2 ++ meta/classes/archive-original-source.bbclass | 2 ++ meta/classes/archive-patched-source.bbclass | 2 ++ 3 files changed, 6 insertions(+) diff --git a/meta/classes/archive-configured-source.bbclass b/meta/classes/archive-configured-source.bbclass index 83ee42e..83a77f3 100644 --- a/meta/classes/archive-configured-source.bbclass +++ b/meta/classes/archive-configured-source.bbclass @@ -12,9 +12,11 @@ addtask do_archive_configured_sources after do_configure # Get archiving package with temp(logs) and scripts(.bb and inc files) addtask do_archive_scripts_logs after do_package_write_rpm +addtask do_archive_scripts_logs after do_package_write_ipk # Get dump date and create diff file addtask do_dumpdata_create_diff_gz after do_package_write_rpm before do_build +addtask do_dumpdata_create_diff_gz after do_package_write_ipk before do_build python () { if d.getVar('SOURCE_ARCHIVE_PACKAGE_TYPE', True) != 'srpm': diff --git a/meta/classes/archive-original-source.bbclass b/meta/classes/archive-original-source.bbclass index 53a3539..10003be 100644 --- a/meta/classes/archive-original-source.bbclass +++ b/meta/classes/archive-original-source.bbclass @@ -12,9 +12,11 @@ addtask do_archive_original_sources_patches after do_unpack # Get archiving package with temp(logs) and scripts(.bb and inc files) addtask do_archive_scripts_logs after do_package_write_rpm +addtask do_archive_scripts_logs after do_package_write_ipk # Get dump date and create diff file addtask do_dumpdata_create_diff_gz after do_package_write_rpm before do_build +addtask do_dumpdata_create_diff_gz after do_package_write_ipk before do_build python () { if d.getVar('SOURCE_ARCHIVE_PACKAGE_TYPE', True) != 'srpm': diff --git a/meta/classes/archive-patched-source.bbclass b/meta/classes/archive-patched-source.bbclass index a23f4bf..7c94d25 100644 --- a/meta/classes/archive-patched-source.bbclass +++ b/meta/classes/archive-patched-source.bbclass @@ -12,9 +12,11 @@ addtask do_archive_patched_sources after do_patch # Get archiving package with logs(temp) and scripts(.bb and .inc files) addtask do_archive_scripts_logs after do_package_write_rpm +addtask do_archive_scripts_logs after do_package_write_ipk # Get dump date and create diff file addtask do_dumpdata_create_diff_gz after do_package_write_rpm before do_build +addtask do_dumpdata_create_diff_gz after do_package_write_ipk before do_build python () { if d.getVar('SOURCE_ARCHIVE_PACKAGE_TYPE', True) != 'srpm':