grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] grub-mkrescue: remove temporary load_cfg file


From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: [PATCH] grub-mkrescue: remove temporary load_cfg file
Date: Sun, 21 Sep 2014 19:08:45 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.0

I actually like to have load.cfg around: it helps with debugging in some
cases. Do you have a reason to remove it?
On 01.05.2014 18:16, Andrey Borzenkov wrote:
> ---
>  util/grub-mkrescue.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/util/grub-mkrescue.c b/util/grub-mkrescue.c
> index e719839..c3d9b32 100644
> --- a/util/grub-mkrescue.c
> +++ b/util/grub-mkrescue.c
> @@ -323,6 +323,7 @@ make_image_fwdisk_abs (enum grub_install_plat plat,
>    grub_install_make_image_wrap (source_dirs[plat], "()/boot/grub", output,
>                               0, load_cfg, mkimage_target, 0);
>    grub_install_pop_module ();
> +  grub_util_unlink (load_cfg);
>  }
>  
>  static int
> @@ -566,6 +567,7 @@ main (int argc, char *argv[])
>       }
>        grub_install_pop_module ();
>        grub_install_pop_module ();
> +      grub_util_unlink (load_cfg);
>      }
>  
>    /** build multiboot core.img */
> 


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]