diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/tinfoil.py | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/bitbake/lib/bb/tinfoil.py b/bitbake/lib/bb/tinfoil.py index a8e835d29c..70b381e351 100644 --- a/bitbake/lib/bb/tinfoil.py +++ b/bitbake/lib/bb/tinfoil.py | |||
@@ -615,7 +615,7 @@ class Tinfoil: | |||
615 | fn = self.get_recipe_file(pn) | 615 | fn = self.get_recipe_file(pn) |
616 | return self.parse_recipe_file(fn) | 616 | return self.parse_recipe_file(fn) |
617 | 617 | ||
618 | def parse_recipe_file(self, fn, appends=True, appendlist=None, config_data=None): | 618 | def parse_recipe_file(self, fn, appends=True, appendlist=None): |
619 | """ | 619 | """ |
620 | Parse the specified recipe file (with or without bbappends) | 620 | Parse the specified recipe file (with or without bbappends) |
621 | and return a datastore object representing the environment | 621 | and return a datastore object representing the environment |
@@ -626,9 +626,6 @@ class Tinfoil: | |||
626 | appends: True to apply bbappends, False otherwise | 626 | appends: True to apply bbappends, False otherwise |
627 | appendlist: optional list of bbappend files to apply, if you | 627 | appendlist: optional list of bbappend files to apply, if you |
628 | want to filter them | 628 | want to filter them |
629 | config_data: custom config datastore to use. NOTE: if you | ||
630 | specify config_data then you cannot use a virtual | ||
631 | specification for fn. | ||
632 | """ | 629 | """ |
633 | if self.tracking: | 630 | if self.tracking: |
634 | # Enable history tracking just for the parse operation | 631 | # Enable history tracking just for the parse operation |
@@ -636,11 +633,7 @@ class Tinfoil: | |||
636 | try: | 633 | try: |
637 | if appends and appendlist == []: | 634 | if appends and appendlist == []: |
638 | appends = False | 635 | appends = False |
639 | if config_data: | 636 | dscon = self.run_command('parseRecipeFile', fn, appends, appendlist) |
640 | dctr = bb.remotedata.RemoteDatastores.transmit_datastore(config_data) | ||
641 | dscon = self.run_command('parseRecipeFile', fn, appends, appendlist, dctr) | ||
642 | else: | ||
643 | dscon = self.run_command('parseRecipeFile', fn, appends, appendlist) | ||
644 | if dscon: | 637 | if dscon: |
645 | return self._reconvert_type(dscon, 'DataStoreConnectionHandle') | 638 | return self._reconvert_type(dscon, 'DataStoreConnectionHandle') |
646 | else: | 639 | else: |