aboutsummaryrefslogtreecommitdiffstats
path: root/settings.py
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2017-05-25 01:54:58 -0700
committerPaul Eggleton <paul.eggleton@linux.intel.com>2017-07-21 08:14:57 +0200
commita4d14191f4f80f44b783474df3da495269124cb8 (patch)
treec7badb2d70ed58c31840f8a9b5a207aa2ec22245 /settings.py
parenta474dae0600f62b0f3d5838222dafcb885e87afe (diff)
downloadopenembedded-core-contrib-a4d14191f4f80f44b783474df3da495269124cb8.tar.gz
utils.py: add REMOVE_LAYER_DEPENDENCIES to remove dependencies
Fixed: 1) set LAYERDEPENDS_openembedded-layer = "core" 2) $ "update.py -l meta-oe -b master" Check from web, its dependency is "openembedded-core" 3) Change LAYERDEPENDS_openembedded-layer = "foo" 4) Run "update.py -l meta-oe -b master" 5) Check from web, its dependency is "openembedded-core and foo", this might be incorrect, now if set REMOVE_LAYER_DEPENDENCIES to true, the old dependency openembedded-core will be removed, the default is False which prints warnings to notify users. And also the existing checking should filter(required=required), otherwise it can't work well when a layer is in both depends and recommends, this can't happen in a normal case, but it would surprise the user when this happens. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'settings.py')
-rw-r--r--settings.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/settings.py b/settings.py
index 0ecf90b0ff..3318af151a 100644
--- a/settings.py
+++ b/settings.py
@@ -214,6 +214,9 @@ CORE_LAYER_NAME = "openembedded-core"
# Update records older than this number of days will be deleted every update
UPDATE_PURGE_DAYS = 30
+# Remove layer dependencies that are not specified in conf/layer.conf
+REMOVE_LAYER_DEPENDENCIES = False
+
# Settings for layer submission feature
SUBMIT_EMAIL_FROM = 'noreply@example.com'
SUBMIT_EMAIL_SUBJECT = 'OE Layerindex layer submission'