docs: don't pull branding bits in unconditionally

...just do it when actually requested for the main image part.
This commit is contained in:
Michael Shigorin 2016-04-22 14:50:00 +03:00
parent eae7b38cc0
commit 3c65c49817

View File

@ -5,8 +5,10 @@ DOT_BASE += docs-$(DOCS)
CHROOT_PACKAGES += docs-$(DOCS)
endif
ifneq (,$(BRANDING))
ifneq (,$(findstring notes,$(THE_BRANDING) $(INSTALL2_BRANDING)))
CHROOT_PACKAGES_REGEXP += $(call branding,notes)
endif
ifneq (,$(findstring indexhtml,$(THE_BRANDING)))
CHROOT_PACKAGES_REGEXP += $(call branding,indexhtml)
endif