diff --git a/grubby-bls b/grubby-bls index cf9f593..ee28802 100755 --- a/grubby-bls +++ b/grubby-bls @@ -686,7 +686,7 @@ if [[ -n $display_info ]]; then display_info_values "${display_info}" fi -if [[ $bootloader = grub2 ]]; then +if [[ $bootloader = grub2 ]] && grep -q /boot /proc/mounts; then remove_var_prefix fi diff --git a/grubby.spec b/grubby.spec index e75d1d8..a5ecffc 100644 --- a/grubby.spec +++ b/grubby.spec @@ -151,6 +151,8 @@ current boot environment. Resolves: rhbz#1634752 - grubby-bls: fix --default-* options for s390x Resolves: rhbz#1644608 +- grubby-bls: only compare using relative paths if /boot is a mount point + Resolves: rhbz#1642078 * Fri Aug 10 2018 Javier Martinez Canillas - 8.40-18 - Make installkernel to use kernel-install scripts on BLS configuration