On 10/20/2010 03:34 PM, Jiri Slaby wrote:
> Hi,
>
> we at suse have a problem with grub.cfg generation in grub2. The menu
> contains our debug entries which are gzipped and put into /boot like:
> /boot/vmlinux-2.6.36-rc4-16-default.gz
>
> We are proposing two solutions:
>
>   
Problem with either solution is that it makes GRUB ignore vmlinux*.gz on
every platform even though such files are used (or usable) on many non-i386
> ---
>  util/grub-mkconfig_lib.in |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/util/grub-mkconfig_lib.in b/util/grub-mkconfig_lib.in
> index 4135997..9b6f39f 100644
> --- a/util/grub-mkconfig_lib.in
> +++ b/util/grub-mkconfig_lib.in
> @@ -128,6 +128,7 @@ grub_file_is_not_garbage ()
>    if test -f "$1" ; then
>      case "$1" in
>        *.dpkg-*) return 1 ;; # debian dpkg
> +      */vmlinux-*.gz) return 1 ;; # suse debug pkgs
>        README*)  return 1 ;; # documentation
>      esac
>    else
>   


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Bug-grub mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to