From 008106f8356eb318ddf4eeb1d848df9a5c4a358f Mon Sep 17 00:00:00 2001 From: Anton Midyukov Date: Tue, 31 Aug 2021 10:11:51 +0700 Subject: [PATCH] lib/profile.mk: with BRANCH variable set try fallback BRANDING alt-starterkit --- lib/profile.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/profile.mk b/lib/profile.mk index b4133395..809edc17 100644 --- a/lib/profile.mk +++ b/lib/profile.mk @@ -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)