local.conf.sample.extended: Add filtering function to archiver.bbclass
Add the option to filter packages according to license. [YOCTO #2473] (From meta-yocto rev: 156147991dc1ec7f58ac355b8e0f430958de2831) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
7afc6af42a
commit
4d48398798
|
@ -184,16 +184,18 @@
|
||||||
|
|
||||||
# Archiving source code configuration
|
# Archiving source code configuration
|
||||||
#
|
#
|
||||||
# The following variables control which files to archive and
|
# The following variables control which files to archive and the type to archive to generate.
|
||||||
# the type to archive to generate.
|
# There are three basic class defintions of common operations that might be desired and these
|
||||||
# The content to archive
|
# can be enabled by uncommenting one of the following lines:
|
||||||
# "original": Copy source code package from downloads if existing.
|
#
|
||||||
# Archive source code after do_unpack if not found in downloads
|
# INHERIT += "archive-original-source"
|
||||||
# "patched": Archive source code package after do_patch
|
# INHERIT += "archive-patched-source"
|
||||||
# "configured": Archive source code package after do_configure
|
#INHERIT =+ "archive-configured-source"
|
||||||
# ARCHIVER_MODE[choices] = "none original patched configured"
|
#
|
||||||
# Type of archive:
|
# Type of archive:
|
||||||
# ARCHIVER_MODE[type] = "tar srpm"
|
# SOURCE_ARCHIVE_PACKAGE_TYPE = 'srpm'
|
||||||
|
#SOURCE_ARCHIVE_PACKAGE_TYPE ?= 'tar'
|
||||||
|
#
|
||||||
# Whether to include WORKDIR/temp, .bb and .inc files:
|
# Whether to include WORKDIR/temp, .bb and .inc files:
|
||||||
# 'logs_with_scripts' include WORKDIR/temp directory and .bb and .inc files
|
# 'logs_with_scripts' include WORKDIR/temp directory and .bb and .inc files
|
||||||
# 'logs' only include WORKDIR/temp
|
# 'logs' only include WORKDIR/temp
|
||||||
|
@ -201,8 +203,11 @@
|
||||||
# There are three basic class defintions of common operations
|
# There are three basic class defintions of common operations
|
||||||
# that might be desired and these can be enabled by
|
# that might be desired and these can be enabled by
|
||||||
# uncommenting five of the following lines:
|
# uncommenting five of the following lines:
|
||||||
|
# ARCHIVER_MODE[filter] ?= "yes no"
|
||||||
|
# Filter packages according to license
|
||||||
#ARCHIVER_MODE ?= "original"
|
#ARCHIVER_MODE ?= "original"
|
||||||
#ARCHIVER_MODE[type] ?= "tar"
|
#ARCHIVER_MODE[type] ?= "tar"
|
||||||
#ARCHIVER_MODE[log_type] ?= "logs_with_scripts"
|
#ARCHIVER_MODE[log_type] ?= "logs_with_scripts"
|
||||||
|
#ARCHIVER_MODE[filter] ?= "no"
|
||||||
#ARCHIVER_CLASS = "${@'archive-${ARCHIVER_MODE}-source' if ARCHIVER_MODE != 'none' else ''}"
|
#ARCHIVER_CLASS = "${@'archive-${ARCHIVER_MODE}-source' if ARCHIVER_MODE != 'none' else ''}"
|
||||||
#INHERIT += "${ARCHIVER_CLASS}"
|
#INHERIT += "${ARCHIVER_CLASS}"
|
||||||
|
|
Loading…
Reference in New Issue