lib/profile.mk: with BRANCH variable set try fallback BRANDING alt-starterkit

This commit is contained in:
Anton Midyukov 2021-08-31 10:11:51 +07:00
parent 3ee642afe4
commit 008106f835

View File

@ -97,7 +97,11 @@ profile/bare: profile/init use/pkgpriorities
@$(call try,GLOBAL_VERBOSE,)
@$(call try,IMAGEDIR,$(wildcard $(IMAGEDIR)))
@$(call try,LOGDIR,$(wildcard $(LOGDIR)))
@$(call try,BRANDING,alt-sisyphus)
ifeq (,$(BRANCH))
@$(call set,BRANDING,alt-sisyphus)
else
@$(call try,BRANDING,alt-starterkit)
endif
@$(call add,PINNED_PACKAGES,branding-$$(BRANDING)-alterator:Essential)
@$(call add,PINNED_PACKAGES,branding-$$(BRANDING)-bootsplash:Essential)
@$(call add,PINNED_PACKAGES,branding-$$(BRANDING)-bootloader:Essential)