Refactor recipes creation
This commit is contained in:
parent
47e28e5c42
commit
3755dc15e1
@ -404,10 +404,11 @@ Dir::Etc::preferencesparts "/var/empty";
|
||||
)
|
||||
prerequisites_s = ' '.join(prerequisites)
|
||||
|
||||
recipes = []
|
||||
branding = self.branding_by_branch(branch)
|
||||
if branding:
|
||||
branding = f'\n\t@$(call set,BRANDING,{branding})'
|
||||
recipes = [branding]
|
||||
recipes.append(branding)
|
||||
|
||||
for package in self.packages(image, branch):
|
||||
recipes.append(
|
||||
|
Loading…
x
Reference in New Issue
Block a user