help-grub
[Top][All Lists]
Advanced

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

Re: Failure is not returned by grub-mkrescue


From: Wink Saville
Subject: Re: Failure is not returned by grub-mkrescue
Date: Tue, 21 Jun 2016 15:06:21 +0000

Is there a bug already filed or should I file one?

On Mon, Jun 20, 2016 at 11:27 PM Andrei Borzenkov <address@hidden>
wrote:

> On Mon, Jun 20, 2016 at 10:48 PM, Wink Saville <address@hidden> wrote:
> > I'm using grub-mkrescue in a script and I wasn't seeing an error on bad
> > input. Below is a test showing no failure is reported even though the
> input
> > file, xx, does not exist:
> >
> > $ grub-mkrescue -o xx.img xx
> > xorriso 1.4.2 : RockRidge filesystem manipulator, libburnia project.
> >
> > Drive current: -outdev 'stdio:xx.img'
> > Media current: stdio file, overwriteable
> > Media status : is blank
> > Media summary: 0 sessions, 0 data blocks, 0 data,  421g free
> > Added to ISO image: directory '/'='/tmp/grub.vDHSgN'
> > xorriso : UPDATE : 875 files added in 1 seconds
> > xorriso : FAILURE : Cannot determine attributes of source file
> > '/home/wink/prgs/sadie/build-pc_x86_64/xx' : No such file or directory
> > xorriso : UPDATE : 875 files added in 1 seconds
> > xorriso : aborting : -abort_on 'FAILURE' encountered 'FAILURE'
> >
> > $ echo $?
> > 0
> >
> >
> > Should I file a bug or have I made some mistake?
> >
> Yes, this is a bug, although a proper fix is subject to discussion
> (e.g. should grub delete temporary directories in this case? They may
> be needed to investigate why xorriso failed).
>


reply via email to

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