aboutsummaryrefslogtreecommitdiffstats
path: root/grub
diff options
context:
space:
mode:
Diffstat (limited to 'grub')
-rwxr-xr-xgrub/09_linux6
1 files changed, 6 insertions, 0 deletions
diff --git a/grub/09_linux b/grub/09_linux
index 5fbef4c..0f7d83f 100755
--- a/grub/09_linux
+++ b/grub/09_linux
@@ -7,6 +7,12 @@ grub_mkconfig_dir="${sysconfdir}/grub.d"
source "${datarootdir}/grub/grub-mkconfig_lib"
+if grep -q 'GRUB_CUSTOM_INITRD' "${sysconfdir}/default/grub"; then
+ echo "# Your GRUB installation supports loading custom initramfs images."
+ echo "# Not adding extra boot entries for YKFDE."
+ exit 0
+fi
+
ykfde-cpio
YKFDE_CHALLENGES="$(make_system_path_relative_to_its_root /boot/ykfde-challenges.img)"