27cf1e7399
Not all bootloaders used in Fedora have BLS support, for example extlinux doesn't. So when using extlinux the old grubby tool has to be installed. Currently the grubby-bls wrapper has precedence over the old grubby tool, which means that even if grubby-deprecated is installed, the wrapper will executed when calling grubby. Make the old grubby take precedence instead. Related: rhbz#1654841 Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
9 lines
240 B
Bash
9 lines
240 B
Bash
#!/bin/bash
|
|
if [[ -x @@LIBEXECDIR@@/grubby ]] ; then
|
|
exec @@LIBEXECDIR@@/grubby "${@}"
|
|
elif [[ -x @@LIBEXECDIR@@/grubby-bls ]] ; then
|
|
exec @@LIBEXECDIR@@/grubby-bls "${@}"
|
|
fi
|
|
echo "Grubby is not installed correctly." >>/dev/stderr
|
|
exit 1
|