Realize archiving functions
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | package_rpm: Add srpm function to this bbclassmeta/ | +47 | 0 replies | |
| 2/7 | archiver.bbclass: New bbclass for archiving sources, patches, logs and scriptsmeta/ | +419 | 8 replies | |
| 3/7 | archive-patched-source.bbclass: Archive patched sourcemeta/ | +14 | 0 replies | |
| 4/7 | archive-configured-source.bbclass: Archive configured sourcemeta/ | +14 | 0 replies | |
| 5/7 | archive-original-source.bbclass: Archive original sourcemeta/ | +14 | 0 replies | |
| 6/7 | local.conf.sample: Add set for archiving packagesmeta-yocto/ | +16 | 0 replies | |
| 7/7 | sourcepkg, src_distribute, src_distribute_local: remove three bbclassmeta/ meta/ meta/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] Realize archiving functions
From: Xiaofeng Yan <[email protected]>
Hi Saul & Mark,
I made some modification according to your suggestion. This is V3 for bug 1977
I removed the identification case which identify whether series and non-applying patches should be included in tarball or not. The default set include series and non-applying files
Also, I removed the other one case to select packages filtered by copyleft_compliance.bbclass because the copyrights have been created as directory in archiver.bbclass.
So I think user can select the packages they want according to the directory name. I will export functions 'get_licenses' in archiver.bbclass instead of moving this to licenses.bbclass because if this function is moved to licenses.bbclass, then this function don't have any connection with other functions in license.bbclass. If this function is in archiver.bbclass, then it will be called by function in archiver.bbclass. all archiving packages will be deployed in ${DEPLOY_DIR}/sources
# the method to archive inherit one of them(archive-original-source, archive-patched-source,archive-configured-source) in a base bbclass. for example, you can inherit archive-original-source in package_rpm.bbclass $bitbake core-image-sato <build successfully > $ tree tmp/deploy/sources
tmp/deploy/sources/
├── allarch-poky-linux
│ ├── CC-BY-SA-3.0
│ │ └── sato-icon-theme-0.4.1-r2
│ │ ├── sato-icon-theme-0.4.1-r2.diff.gz
│ │ ├── sato-icon-theme-0.4.1-r2-patches.tar.gz
│ │ ├── sato-icon-theme-0.4.1-r2-prepatch.tar.gz
│ │ ├── sato-icon-theme-0.4.1-r2-script-logs.tar.gz
│ │ └── sato-icon-theme-0.4.1-r2.showdata.dump
│ ├── GPLv2
│ │ ├── hicolor-icon-theme-0.12-r0
│ │ │ ├── hicolor-icon-theme-0.12-r0.diff.gz
│ │ │ ├── hicolor-icon-theme-0.12-r0-patches.tar.gz
│ │ │ ├── hicolor-icon-theme-0.12-r0-prepatch.tar.gz
│ │ │ ├── hicolor-icon-theme-0.12-r0-script-logs.tar.gz
│ │ │ └── hicolor-icon-theme-0.12-r0.showdata.dump
.......
└── i586-poky-linux
├── AFL-2GPLv2+
│ ├── dbus-1.4.16-r2.0
│ │ ├── dbus-1.4.16-r2.0.diff.gz
│ │ ├── dbus-1.4.16-r2.0-patches.tar.gz
│ │ ├── dbus-1.4.16-r2.0-prepatch.tar.gz
│ │ ├── dbus-1.4.16-r2.0-script-logs.tar.gz
│ │ └── dbus-1.4.16-r2.0.showdata.dump
│ └── dbus-glib-0.92-r2
│ ├── dbus-glib-0.92-r2.diff.gz
│ ├── dbus-glib-0.92-r2-patches.tar.gz
│ ├── dbus-glib-0.92-r2-prepatch.tar.gz
│ ├── dbus-glib-0.92-r2-script-logs.tar.gz
│ └── dbus-glib-0.92-r2.showdata.dump
├── Artistic-1.0GPL-1.0
│ └── perl-5.14.2-r4
│ ├── perl-5.14.2-r4.diff.gz
│ ├── perl-5.14.2-r4-patches.tar.gz
│ ├── perl-5.14.2-r4-prepatch.tar.gz
│ ├── perl-5.14.2-r4-script-logs.tar.gz
│ └── perl-5.14.2-r4.showdata.dumpPull 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 | 16 + 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 | 419 ++++++++++++++++++++++++ meta/classes/package_rpm.bbclass | 47 +++ meta/classes/sourcepkg.bbclass | 107 ------ meta/classes/src_distribute.bbclass | 49 --- meta/classes/src_distribute_local.bbclass | 33 -- 9 files changed, 524 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