Skip to content

Realize archiving functions

Xiaofeng Yan openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7package_rpm: Add srpm function to this bbclassmeta/classes/package_rpm.bbclass+63 -02 replies
2/7archiver.bbclass: New bbclass for archiving sources, patches, logs and scriptsmeta/classes/archiver.bbclass+421 -02 replies
3/7archive-patched-source.bbclass: Archive patched sourcemeta/classes/archive-patched-source.bbclass+14 -00 replies
4/7archive-configured-source.bbclass: Archive configured sourcemeta/classes/archive-configured-source.bbclass+14 -00 replies
5/7archive-original-source.bbclass: Archive original sourcemeta/classes/archive-original-source.bbclass+14 -00 replies
6/7local.conf.sample: Add set for archiving packagesmeta-yocto/conf/local.conf.sample+25 -02 replies
7/7sourcepkg, src_distribute, src_distribute_local: remove three bbclassmeta/classes/sourcepkg.bbclass meta/classes/src_distribute.bbclass meta/classes/src_distribute_local.bbclass+0 -1890 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] Realize archiving functions

From: Xiaofeng Yan <[email protected]>

archiver.bbclass is for archiving sources , patches and logs including .bb and .inc files by configuring conf/local.conf which control what a archiving package should include. For archiving a source rpm package, I add some functions to package_rpm.bbclass.
I also merge source_pkg.bbclass src_distribute.bbclass src_distribute_local.bbclass to archiver.bbclass due to their similar functions.

Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: xiaofeng/1977
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=xiaofeng/1977

Thanks,
Xiaofeng Yan <[email protected]>
---

Xiaofeng Yan (7):
package_rpm: Add srpm function to this bbclass archiver.bbclass: New bbclass for archiving sources, patches,logs and
scripts
archive-patched-source.bbclass: Archive patched source archive-configured-source.bbclass: Archive configured source archive-original-source.bbclass: Archive original source local.conf.sample: Add set for archiving packages sourcepkg, src_distribute, src_distribute_local: remove three bbclass

 meta-yocto/conf/local.conf.sample              |   25 ++
 meta/classes/archive-configured-source.bbclass |   14 +
 meta/classes/archive-original-source.bbclass   |   14 +
 meta/classes/archive-patched-source.bbclass    |   14 +
 meta/classes/archiver.bbclass                  |  421 ++++++++++++++++++++++++
 meta/classes/package_rpm.bbclass               |   63 ++++
 meta/classes/sourcepkg.bbclass                 |  107 ------
 meta/classes/src_distribute.bbclass            |   49 ---
 meta/classes/src_distribute_local.bbclass      |   33 --
 9 files changed, 551 insertions(+), 189 deletions(-)
 create mode 100644 meta/classes/archive-configured-source.bbclass
 create mode 100644 meta/classes/archive-original-source.bbclass
 create mode 100644 meta/classes/archive-patched-source.bbclass
 create mode 100644 meta/classes/archiver.bbclass
 delete mode 100644 meta/classes/sourcepkg.bbclass
 delete mode 100644 meta/classes/src_distribute.bbclass
 delete mode 100644 meta/classes/src_distribute_local.bbclass