Bug#770412: grub-xen: fails to install in a chroot

Ian Campbell ijc at hellion.org.uk
Fri Nov 21 20:34:45 UTC 2014


On Fri, 2014-11-21 at 14:31 +0100, Andreas Beckmann wrote:
[...snip, useful info, thanks...]

> There is an "ischroot" command in debianutils.
> 
> > I take it there is no piuparts "overrides" in place for the other grub-*
> > packages?
> 
> No, they work out-of-the-box now.

It seems their postinsts are typically keying the invocation of
grub-install on the presence of some directory e.g. /boot/efi/ in the
case of grub-efi-* or some complex debconf stuff in the case of grub-pc.
Some of the non-x86 arches look to me like they would fail if piuparts
was run on those arches.

Anyway, I'll investigate ischroot or running-in-container which the grub
postinst seem to use already (not sure what it does, might be suitable).

Ian.



More information about the Pkg-grub-devel mailing list