summaryrefslogtreecommitdiff
path: root/config/binary_local-hooks/grub2-configs
diff options
context:
space:
mode:
Diffstat (limited to 'config/binary_local-hooks/grub2-configs')
-rwxr-xr-xconfig/binary_local-hooks/grub2-configs4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/binary_local-hooks/grub2-configs b/config/binary_local-hooks/grub2-configs
index 32b286b..88ee2a7 100755
--- a/config/binary_local-hooks/grub2-configs
+++ b/config/binary_local-hooks/grub2-configs
@@ -18,6 +18,10 @@ fi
. config/chroot
+if echo "$LB_PACKAGE_LISTS" | grep -qw extra_cz; then
+ cp -f config/binary_grub/grub.cfg.cz binary/boot/grub/grub.cfg
+fi
+
if echo "$LB_PACKAGE_LISTS" | grep -qw gfxdetect; then
# keep gfxdetect entries in grub.cfg (for gfxdetect-builds)
echo "grub2-configs: keeping gfxdetect entries"