[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: grub2: debug vmlinux in menu
From: |
Vladimir 'φ-coder/phcoder' Serbinenko |
Subject: |
Re: grub2: debug vmlinux in menu |
Date: |
Thu, 21 Oct 2010 09:07:24 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.12) Gecko/20100917 Icedove/3.0.8 |
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
signature.asc
Description: OpenPGP digital signature