summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/devtool/standard.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index f76c632e78..4702491fe0 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -815,6 +815,10 @@ def update_recipe(args, config, basepath, workspace):
815 else: 815 else:
816 raise DevtoolError('update_recipe: invalid mode %s' % mode) 816 raise DevtoolError('update_recipe: invalid mode %s' % mode)
817 817
818 rf = rd.getVar('FILE', True)
819 if rf.startswith(config.workspace_path):
820 logger.warn('Recipe file %s has been updated but is inside the workspace - you will need to move it (and any associated files next to it) out to the desired layer before using "devtool reset" in order to keep any changes' % rf)
821
818 return 0 822 return 0
819 823
820 824