Commit 63389446 authored by Anton Midyukov's avatar Anton Midyukov

profile.mk: pinned package branding-$$(BRANDING)-release

This is necessary to prevent accidental hit of another branding. Usually the problem is solved by setting up pkgpriorities in apt settings. But this is inconvenient when you need to make building often with others branding.
parent 1436fa5f
......@@ -83,7 +83,7 @@ profile/init: distclean
fi $(SHORTEN); \
} >&2
profile/bare: profile/init
profile/bare: profile/init use/pkgpriorities
@{ \
NOTE="$${GLOBAL_VERBOSE:+: $(CONFIG)}"; \
if [ -z "$(QUIET)" ]; then \
......@@ -95,6 +95,14 @@ profile/bare: profile/init
@$(call try,IMAGEDIR,$(wildcard $(IMAGEDIR)))
@$(call try,LOGDIR,$(wildcard $(LOGDIR)))
@$(call try,BRANDING,alt-sisyphus)
@$(call add,PINNED_PACKAGES,branding-$$(BRANDING)-alterator:Essential)
@$(call add,PINNED_PACKAGES,branding-$$(BRANDING)-bootsplash:Essential)
@$(call add,PINNED_PACKAGES,branding-$$(BRANDING)-bootloader:Essential)
@$(call add,PINNED_PACKAGES,branding-$$(BRANDING)-graphics:Essential)
@$(call add,PINNED_PACKAGES,branding-$$(BRANDING)-indexhtml:Essential)
@$(call add,PINNED_PACKAGES,branding-$$(BRANDING)-notes:Essential)
@$(call add,PINNED_PACKAGES,branding-$$(BRANDING)-release:Essential)
@$(call add,PINNED_PACKAGES,branding-$$(BRANDING)-slideshow:Essential)
ifeq (,$(REPO:altlinux%=))
@$(call set,IMAGE_INIT_LIST,+branding-$$(BRANDING)-release)
endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment