grub-devel
[Top][All Lists]
Advanced

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

Re: pvgrub2 legacy_configfile issues: /sbin/init exec error -8


From: Andy Smith
Subject: Re: pvgrub2 legacy_configfile issues: /sbin/init exec error -8
Date: Sat, 25 Feb 2017 12:19:56 +0000
User-agent: Mutt/1.5.20 (2009-06-14)

Hi Andrei, Vladimir,

On Sat, Feb 25, 2017 at 08:27:55AM +0300, Andrei Borzenkov wrote:
> 25.02.2017 02:22, Vladimir 'phcoder' Serbinenko пишет:
> > diff --git a/grub-core/commands/legacycfg.c b/grub-core/commands/legacycfg.c
> > index dd9d9f1..b32f3c7 100644
> > --- a/grub-core/commands/legacycfg.c
> > +++ b/grub-core/commands/legacycfg.c
> > @@ -517,7 +517,7 @@ grub_cmd_legacy_initrd (struct grub_command *mycmd
> > __attribute__ ((unused)),
> > #endif
> > );
> > 
> > - return cmd->func (cmd, argc, args);
> > + return cmd->func (cmd, argc ? 1 : 0, args);
> > }
> > if (kernel_type == MULTIBOOT)
> > {
> > 
> 
> Looks OK as stop gap. @Andy, could you test it?       

Yep, this works also.

Cheers,
Andy



reply via email to

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