From 7a35e48a326a4f23aa2a1bd304f413dae5a65649 Mon Sep 17 00:00:00 2001
From: Joerg Schirottke <master@kanotix.com>
Date: Tue, 5 May 2015 20:38:03 +0200
Subject: fix remove gfxdetect entries from grub.cfg for non-gfxdetect-builds

---
 config/binary_local-hooks/grub2-configs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/config/binary_local-hooks/grub2-configs b/config/binary_local-hooks/grub2-configs
index d870aff..f6276fe 100755
--- a/config/binary_local-hooks/grub2-configs
+++ b/config/binary_local-hooks/grub2-configs
@@ -15,6 +15,8 @@ then
         cp config/binary_grub/grub*.cfg binary/boot/grub/
 fi
 
+. config/chroot
+
 if echo "$LB_PACKAGE_LISTS" | grep -qw gfxdetect; then
 	# keep gfxdetect entries in grub.cfg (for gfxdetect-builds)
 	echo "grub2-configs: keeping gfxdetect entries"
-- 
cgit v1.0