diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-10 13:36:14 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-05 16:55:30 +0100 |
commit | 805c876a28f676fb606eb23ce49453b9a4c1c8ea (patch) | |
tree | 0a7f5f02d3f5086f2f6549ddb24de7a4d08528b8 /bitbake/lib/toaster/orm/models.py | |
parent | 6c3f8d13fd7dc8c0ad12f606af76eb29242ac006 (diff) | |
download | poky-805c876a28f676fb606eb23ce49453b9a4c1c8ea.tar.gz |
bitbake: toaster: Fix IMAGE_INSTALL issues with _append vs :append
After the override syntax change, toaster isn't working correctly. This
is because it uses IMAGE_INSTALL_append instead of IMAGE_INSTALL:append.
This tweaks the code accordingly to fix this.
I have a suspicion that exiting toaster databases may struggle with
the change and there are some migration steps missing for the whole
overrides syntax change step.
(Bitbake rev: e0a450db6d5a50fe7682f62936dfa082bd5de121)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/orm/models.py')
-rw-r--r-- | bitbake/lib/toaster/orm/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py index 7f7e922ade..f73951e213 100644 --- a/bitbake/lib/toaster/orm/models.py +++ b/bitbake/lib/toaster/orm/models.py | |||
@@ -1717,7 +1717,7 @@ class CustomImageRecipe(Recipe): | |||
1717 | 1717 | ||
1718 | def generate_recipe_file_contents(self): | 1718 | def generate_recipe_file_contents(self): |
1719 | """Generate the contents for the recipe file.""" | 1719 | """Generate the contents for the recipe file.""" |
1720 | # If we have no excluded packages we only need to _append | 1720 | # If we have no excluded packages we only need to :append |
1721 | if self.excludes_set.count() == 0: | 1721 | if self.excludes_set.count() == 0: |
1722 | packages_conf = "IMAGE_INSTALL_append = \" " | 1722 | packages_conf = "IMAGE_INSTALL_append = \" " |
1723 | 1723 | ||