aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common/include-agl-local-conf-archiver.sh
blob: a72687d84a06b0731aa2f0d00d5a2a0ebb390fd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# (c) 2016 Jan-Simon Moeller dl9pf(at)gmx.de
# License GPLv2

################################################################################
## Add archiver
################################################################################

# archive sources within  tmp/deploy/
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 = "*"