diff options
author | 2020-02-18 18:35:48 +0100 | |
---|---|---|
committer | 2020-02-18 18:36:36 +0100 | |
commit | 81404dbb7e52a5c4e19db4cadd495154dde42a9e (patch) | |
tree | b960d6adad70550b96e64479782754bb9088ba05 /jjb/common/include-agl-local-conf-archiver.sh | |
parent | 70ac493115d432f63e96b60239ac79eac2c2789d (diff) |
Update archiver feature regexp
The archiver feature will need extra parameters set to catch
all recipes. We exclude any proprietary code on purpose so
rewrite COPYLEFT_LICENSE_EXCLUDE in your conf/local.conf
if necessary.
Bug-AGL: SPEC-3186
.
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I020f0f30a73625df159895c7912643baf20798a7
Diffstat (limited to 'jjb/common/include-agl-local-conf-archiver.sh')
-rw-r--r-- | jjb/common/include-agl-local-conf-archiver.sh | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/jjb/common/include-agl-local-conf-archiver.sh b/jjb/common/include-agl-local-conf-archiver.sh index 9a0adba7..a72687d8 100644 --- a/jjb/common/include-agl-local-conf-archiver.sh +++ b/jjb/common/include-agl-local-conf-archiver.sh @@ -6,6 +6,23 @@ ################################################################################ # archive sources within tmp/deploy/ -echo '' >> conf/local.conf -echo 'INHERIT += "archiver"' >> conf/local.conf -echo 'ARCHIVER_MODE[src] = "original"' >> conf/local.conf +cat >> conf/local.conf << EOF + +# Archiver setup +INHERIT += "archiver" +ARCHIVER_MODE[src] = "original" +COPYLEFT_LICENSE_INCLUDE = "*" +COPYLEFT_LICENSE_EXCLUDE += "CLOSED Proprietary Custom Firmware-* Freescale-* NXP-* TI TI-*" + +EOF + +# Later (YP master) : generate full mirror using +#INHERIT += "archiver" +#BB_GENERATE_MIRROR_TARBALLS = "1" +#BB_GENERATE_SHALLOW_TARBALLS = "1" +#BB_GIT_SHALLOW = "1" +#ARCHIVER_MODE[src] = "mirror" +#ARCHIVER_MODE[mirror] = "combined" +#ARCHIVER_MIRROR_EXCLUDE = "file://" +#COPYLEFT_LICENSE_INCLUDE = "*" + |