[oe-commits] Xiaofeng Yan : local.conf.sample.extended: Add filtering function to archiver.bbclass

git at git.openembedded.org git at git.openembedded.org
Thu Jun 28 15:24:47 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: e65dfa26f1331b903a22353f34fb675ba0acbf30
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=e65dfa26f1331b903a22353f34fb675ba0acbf30

Author: Xiaofeng Yan <xiaofeng.yan at windriver.com>
Date:   Tue Jun 26 14:15:28 2012 +0800

local.conf.sample.extended: Add filtering function to archiver.bbclass

Add the option to filter packages according to license.

[YOCTO #2473]

Signed-off-by: Xiaofeng Yan <xiaofeng.yan at windriver.com>

---

 meta/conf/local.conf.sample.extended |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/meta/conf/local.conf.sample.extended b/meta/conf/local.conf.sample.extended
index 1f84ac7..1d19386 100644
--- a/meta/conf/local.conf.sample.extended
+++ b/meta/conf/local.conf.sample.extended
@@ -162,5 +162,15 @@
 # Whether to include WORKDIR/temp, .bb and .inc files:
 # 'logs_with_scripts' include WORKDIR/temp directory and .bb and .inc files
 # 'logs' only include WORKDIR/temp
-# SOURCE_ARCHIVE_LOG_WITH_SCRIPTS ?= 'logs'
-#SOURCE_ARCHIVE_LOG_WITH_SCRIPTS ?= 'logs_with_scripts'
+# ARCHIVER_MODE[log_type] = "logs logs_with_scripts"
+# 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}"





More information about the Openembedded-commits mailing list