[OE-core] [PATCH 2/2] local.conf.sample.extended: Add filtering function to archiver.bbclass

Kang Kai kai.kang at windriver.com
Tue Jun 26 09:36:54 UTC 2012


From: Xiaofeng Yan <xiaofeng.yan at windriver.com>

Add the option to filter packages according to license.

[YOCTO #2473]

Signed-off-by: Xiaofeng Yan <xiaofeng.yan at windriver.com>
---
 meta-yocto/conf/local.conf.sample.extended |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/meta-yocto/conf/local.conf.sample.extended b/meta-yocto/conf/local.conf.sample.extended
index 66b94ad..bdf8bc4 100644
--- a/meta-yocto/conf/local.conf.sample.extended
+++ b/meta-yocto/conf/local.conf.sample.extended
@@ -201,8 +201,11 @@
 # There are three basic class defintions of common operations 
 # that might be desired and these can be enabled by 
 # uncommenting five of the following lines:
+# ARCHIVER_MODE[filter] ?= "yes no"
+# Filter packages according to license
 #ARCHIVER_MODE ?= "original"
 #ARCHIVER_MODE[type] ?= "tar"
 #ARCHIVER_MODE[log_type] ?= "logs_with_scripts"
+#ARCHIVER_MODE[filter] ?= "no"
 #ARCHIVER_CLASS = "${@'archive-${ARCHIVER_MODE}-source' if ARCHIVER_MODE != 'none' else ''}"
 #INHERIT += "${ARCHIVER_CLASS}"
-- 
1.7.5.4





More information about the Openembedded-core mailing list