[oe-commits] Muhammad Shakeel : archiver class: Use tasks with sstate instead of pre/ post funcs

git at git.openembedded.org git at git.openembedded.org
Thu Feb 28 23:15:51 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 959e2ae23ccbc6955a28996d4538e457cd8cfa5e
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=959e2ae23ccbc6955a28996d4538e457cd8cfa5e

Author: Muhammad Shakeel <muhammad_shakeel at mentor.com>
Date:   Wed Feb 20 18:50:22 2013 +0500

archiver class: Use tasks with sstate instead of pre/post funcs

* Add tasks to move sources, script/logs and diff/env files in
  deploy directory.
* Enable SSTATE for 'do_archive_scripts_logs' task
* Enable SSTATE for 'do_dumpdata_create_diff_gz' task
* SSTATE is not used for sources/patches archiver task because source
  archive package can result into a very large file. It will be an
  unnecessary overhead to keep sources in DL_DIR and cached-binaries.
* If 'SOURCE_ARCHIVE_PACKAGE_TYPE' is 'srpm' then use pre/post functions
  because in this case we do not want to use tasks to move sources/logs
  in DEPLOY_DIR. 'do_package_write_rpm' is responsible for handling
  archiver packages.

[YOCTO #3449]

Signed-off-by: Muhammad Shakeel <muhammad_shakeel at mentor.com>
Signed-off-by: Noor Ahsan <noor_ahsan at mentor.com>
Signed-off-by: Christopher Larson <chris_larson at mentor.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 meta/classes/archive-configured-source.bbclass |   49 ++++++++++++++++++++++-
 meta/classes/archive-original-source.bbclass   |   49 ++++++++++++++++++++++-
 meta/classes/archive-patched-source.bbclass    |   49 ++++++++++++++++++++++-
 meta/classes/archiver.bbclass                  |   40 ++++++++++++++-----
 4 files changed, 167 insertions(+), 20 deletions(-)

Diff:   http://git.openembedded.org/?p=openembedded-core.git/?a=commitdiff;h=959e2ae23ccbc6955a28996d4538e457cd8cfa5e




More information about the Openembedded-commits mailing list