* util/grub.d/20_linux_xen.in: Skip xen-syms.
This commit is contained in:
parent
1c715b5afd
commit
1e1eb50e5e
2 changed files with 15 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2012-06-05 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* util/grub.d/20_linux_xen.in: Skip xen-syms.
|
||||
|
||||
2012-06-05 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* util/grub-probe.c (escape_of_path): Don't add ieee1275/.
|
||||
|
|
|
@ -156,8 +156,18 @@ linux_list=`for i in /boot/vmlinu[xz]-* /vmlinu[xz]-* /boot/kernel-*; do
|
|||
if [ "x${linux_list}" = "x" ] ; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
file_is_not_sym () {
|
||||
case "$1" in
|
||||
*/xen-syms-*)
|
||||
return 1;;
|
||||
*)
|
||||
return 0;;
|
||||
esac
|
||||
}
|
||||
|
||||
xen_list=`for i in /boot/xen*; do
|
||||
if grub_file_is_not_garbage "$i" ; then echo -n "$i " ; fi
|
||||
if grub_file_is_not_garbage "$i" && file_is_not_sym "$i" ; then echo -n "$i " ; fi
|
||||
done`
|
||||
prepare_boot_cache=
|
||||
boot_device_id=
|
||||
|
|
Loading…
Reference in a new issue