From 2b33b88bea71fb25d67b5cdf38b9230dd01e2f2d Mon Sep 17 00:00:00 2001 From: Antynea Date: Tue, 11 Aug 2015 02:57:09 +0200 Subject: [PATCH] don't create menu if snapshot is not bootable with /boot partition separate --- 41_snapshots-btrfs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/41_snapshots-btrfs b/41_snapshots-btrfs index 343b38b..037caa0 100644 --- a/41_snapshots-btrfs +++ b/41_snapshots-btrfs @@ -30,7 +30,8 @@ # Script in progress # # to do : # # # # -# * verify compatibility with UEFI,manjaro and snapper (but I don't use them, so it will take some time) # +# * verify compatibility with manjaro and snapper (but I don't use them, so it will take some time) # +# * don't create menu if snapshot is not bootable with /boot partition separate # # # ######################################################################################################################################################### @@ -206,7 +207,7 @@ list_kernels_initramfs() name_initramfs=("${list_initramfs[@]##*"/"}") # echo "initramfs = ${name_initramfs[*]}" # Create menu entries - # snapshots_entry "${prefixentry}" "${snap_dir_name}" "${snap_date_time}" + snapshots_entry "${prefixentry}" "${snap_dir_name}" "${snap_date_time}" done IFS=$oldIFS if [ $root_uuid = $boot_uuid ] ; then umount $gbgmp ; fi