Bug#498731: debootstrap: Move setup_devices to second_stage (or hurd-i386 fails)
On Sun, Aug 30, 2009 at 02:40:53PM +0200, Michael Banck wrote:
> On Fri, Sep 12, 2008 at 08:52:31PM +0200, Michael Banck wrote:
> > right now, cross-debootstrapping a hurd-i386 system (from i386, e.g.)
> > fails (silently) in first stage after extracting packages.
> > This is because debootstrap runs setup_devices in first stage, and we
> > cannot setup the Hurd translators at this point when running
> > GNU/Linux because the necessary tools and kernel support is not
> > available.
> > Would it be possible to move the setup_devices call to second stage, at
> > least when ARCH=hurd-i386? I assume setting up the devices is required
> > for Linux arches when using --foreign, so that a boot into the new
> > system will have a /dev tree and might fail otherwise.
> > We modified the hurd package so that it can boot fine after just being
> > unpacked without the need for having translators/devices setup, i.e. the
> > debootstrap --foreign case.
> > I've attached a patch which works for my case, though it might not be
> > the most elegant solution.
> Ping. Any news on this?
I will NMU debootstrap in the next days with the proposed patch if I
don't hear anything back.