summaryrefslogtreecommitdiff
path: root/config/binary_local-hooks
diff options
context:
space:
mode:
authorJoerg Schirottke <master@kanotix.com>2015-05-05 20:38:03 +0200
committerHolger Paradies <retabell@gmx.de>2015-05-05 22:50:19 +0200
commit7a35e48a326a4f23aa2a1bd304f413dae5a65649 (patch)
tree9881d9423107b6c6dfe8134d539f7cf09c5cbab5 /config/binary_local-hooks
parent0fe41b0364928fa702821b72d53c422cf2213201 (diff)
downloadkanotix-7a35e48a326a4f23aa2a1bd304f413dae5a65649.zip
kanotix-7a35e48a326a4f23aa2a1bd304f413dae5a65649.tar.gz
fix remove gfxdetect entries from grub.cfg for non-gfxdetect-builds
Diffstat (limited to 'config/binary_local-hooks')
-rwxr-xr-xconfig/binary_local-hooks/grub2-configs2
1 files changed, 2 insertions, 0 deletions
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"