diff options
Diffstat (limited to 'bitbake/lib/bb/command.py')
| -rw-r--r-- | bitbake/lib/bb/command.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py index 3788207122..84fcdf9433 100644 --- a/bitbake/lib/bb/command.py +++ b/bitbake/lib/bb/command.py | |||
| @@ -264,6 +264,10 @@ class CommandsSync: | |||
| 264 | features = params[0] | 264 | features = params[0] |
| 265 | command.cooker.setFeatures(features) | 265 | command.cooker.setFeatures(features) |
| 266 | 266 | ||
| 267 | # although we change the internal state of the cooker, this is transparent since | ||
| 268 | # we always take and leave the cooker in state.initial | ||
| 269 | setFeatures.readonly = True | ||
| 270 | |||
| 267 | class CommandsAsync: | 271 | class CommandsAsync: |
| 268 | """ | 272 | """ |
| 269 | A class of asynchronous commands | 273 | A class of asynchronous commands |
