Re: execution of update-grub in chroots might fail

2009-12-25 Thread Felix Zielcke
Am Donnerstag, den 24.12.2009, 22:28 +0100 schrieb Robert Millan: > On Mon, Dec 14, 2009 at 11:56:21AM +, Colin Watson wrote: > > The simplest fix is to add '&& [ -e /boot/grub/grub.cfg ]' to the > test > > in memtest86+; > > Uhm should we make this check part of update-grub? Or even part of

Re: execution of update-grub in chroots might fail

2009-12-24 Thread Robert Millan
On Mon, Dec 14, 2009 at 11:56:21AM +, Colin Watson wrote: > The simplest fix is to add '&& [ -e /boot/grub/grub.cfg ]' to the test > in memtest86+; Uhm should we make this check part of update-grub? Or even part of grub-mkconfig? > that is, if the configuration file hasn't been generated > a

Re: execution of update-grub in chroots might fail

2009-12-14 Thread Felix Zielcke
Am Montag, den 14.12.2009, 13:36 +0100 schrieb Michael Prokop: > >> The simplest fix is to add '&& [ -e /boot/grub/grub.cfg ]' to the > >> test in memtest86+; that is, if the configuration file hasn't > >> been generated already, it shouldn't be updated. (This check is > >> in the memtest86+ postin

Re: execution of update-grub in chroots might fail

2009-12-14 Thread Michael Prokop
* Felix Zielcke wrote: > Am Montag, den 14.12.2009, 11:56 + schrieb Colin Watson: >> On Sun, Dec 13, 2009 at 11:08:04PM +0100, Michael Prokop wrote: >> > For example postinst of memtest86+ uses: >> > if [ "$1" = "configure" ] && [ -x "`which update-grub2 >> 2>/dev/null`" >> > ] ; then >> >

Re: execution of update-grub in chroots might fail

2009-12-14 Thread Felix Zielcke
Am Montag, den 14.12.2009, 11:56 + schrieb Colin Watson: > On Sun, Dec 13, 2009 at 11:08:04PM +0100, Michael Prokop wrote: > > For example postinst of memtest86+ uses: > > > > if [ "$1" = "configure" ] && [ -x "`which update-grub2 > 2>/dev/null`" ] ; then > > update-grub2 > > fi > >

Re: execution of update-grub in chroots might fail

2009-12-14 Thread Colin Watson
On Sun, Dec 13, 2009 at 11:08:04PM +0100, Michael Prokop wrote: > as reported in #550337 update-grub might fail inside chroots. > I'm providing detailed information about this issue in this mail as > discussed on IRC in #grub. update-grub is actually a Debian-specific wrapper around grub-mkconfig.

Re: execution of update-grub in chroots might fail

2009-12-13 Thread Michael Prokop
* Michael Prokop wrote: > as reported in #550337 update-grub might fail inside chroots. > I'm providing detailed information about this issue in this mail as > discussed on IRC in #grub. [...] > The problem is NOT the grub package itself (it installs and updates > just fine). The problem exists

execution of update-grub in chroots might fail

2009-12-13 Thread Michael Prokop
[Please Cc me on replies as I'm not subscribed to the ML but read/write through gmane. Thanks] Hi, as reported in #550337 update-grub might fail inside chroots. I'm providing detailed information about this issue in this mail as discussed on IRC in #grub. Situation = For example postin