diff options
Diffstat (limited to 'scripts/lib/devtool/standard.py')
| -rw-r--r-- | scripts/lib/devtool/standard.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index 700a56b4ed..72ec97b68a 100644 --- a/scripts/lib/devtool/standard.py +++ b/scripts/lib/devtool/standard.py | |||
| @@ -261,6 +261,10 @@ def _extract_source(srctree, keep_temp, devbranch, d): | |||
| 261 | raise DevtoolError("output path %s already exists and is " | 261 | raise DevtoolError("output path %s already exists and is " |
| 262 | "non-empty" % srctree) | 262 | "non-empty" % srctree) |
| 263 | 263 | ||
| 264 | if 'noexec' in (d.getVarFlags('do_unpack', False) or []): | ||
| 265 | raise DevtoolError("The %s recipe has do_unpack disabled, unable to " | ||
| 266 | "extract source" % pn) | ||
| 267 | |||
| 264 | # Prepare for shutil.move later on | 268 | # Prepare for shutil.move later on |
| 265 | bb.utils.mkdirhier(srctree) | 269 | bb.utils.mkdirhier(srctree) |
| 266 | os.rmdir(srctree) | 270 | os.rmdir(srctree) |
