From 3c65c498175fba2da051e1b0819e50755303dcb8 Mon Sep 17 00:00:00 2001 From: Michael Shigorin Date: Fri, 22 Apr 2016 14:50:00 +0300 Subject: [PATCH] docs: don't pull branding bits in unconditionally ...just do it when actually requested for the main image part. --- features.in/docs/lib/30-docs.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/features.in/docs/lib/30-docs.mk b/features.in/docs/lib/30-docs.mk index b25348bf..d0567211 100644 --- a/features.in/docs/lib/30-docs.mk +++ b/features.in/docs/lib/30-docs.mk @@ -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