diff options
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index a416d2efe1..276e42eec2 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -531,6 +531,11 @@ class BBCooker: | |||
531 | for o in options: | 531 | for o in options: |
532 | if o in ['prefile', 'postfile']: | 532 | if o in ['prefile', 'postfile']: |
533 | clean = False | 533 | clean = False |
534 | server_val = getattr(self.configuration, "%s_server" % o) | ||
535 | if not options[o] and server_val: | ||
536 | # restore value provided on server start | ||
537 | setattr(self.configuration, o, server_val) | ||
538 | continue | ||
534 | setattr(self.configuration, o, options[o]) | 539 | setattr(self.configuration, o, options[o]) |
535 | for k in bb.utils.approved_variables(): | 540 | for k in bb.utils.approved_variables(): |
536 | if k in environment and k not in self.configuration.env: | 541 | if k in environment and k not in self.configuration.env: |