Is there a bug already filed or should I file one? On Mon, Jun 20, 2016 at 11:27 PM Andrei Borzenkov <[email protected]> wrote:
> On Mon, Jun 20, 2016 at 10:48 PM, Wink Saville <[email protected]> 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). > _______________________________________________ Help-grub mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-grub
