* util/grub.d/20_linux_xen.in: Accept old-style xen kernels.
This commit is contained in:
parent
70e75364fa
commit
e1eb511d9a
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2011-03-29 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* util/grub.d/20_linux_xen.in: Accept old-style xen kernels.
|
||||||
|
|
||||||
2011-03-29 Vladimir Serbinenko <phcoder@gmail.com>
|
2011-03-29 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* include/grub/lvm.h (grub_lvm_lv): New field 'visible'.
|
* include/grub/lvm.h (grub_lvm_lv): New field 'visible'.
|
||||||
|
|
|
@ -96,7 +96,7 @@ EOF
|
||||||
linux_list=`for i in /boot/vmlinu[xz]-* /vmlinu[xz]-* ; do
|
linux_list=`for i in /boot/vmlinu[xz]-* /vmlinu[xz]-* ; do
|
||||||
basename=$(basename $i)
|
basename=$(basename $i)
|
||||||
version=$(echo $basename | sed -e "s,^[^0-9]*-,,g")
|
version=$(echo $basename | sed -e "s,^[^0-9]*-,,g")
|
||||||
if grub_file_is_not_garbage "$i" && grep -qx "CONFIG_XEN_DOM0=y" /boot/config-${version} 2> /dev/null ; then echo -n "$i " ; fi
|
if grub_file_is_not_garbage "$i" && (grep -qx "CONFIG_XEN_DOM0=y" /boot/config-${version} 2> /dev/null || grep -qx "CONFIG_XEN_PRIVILEGED_GUEST=y" /boot/config-${version} 2> /dev/null); then echo -n "$i " ; fi
|
||||||
done`
|
done`
|
||||||
if [ "x${linux_list}" = "x" ] ; then
|
if [ "x${linux_list}" = "x" ] ; then
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in a new issue