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

Bug#498731: debootstrap: Move setup_devices to second_stage (or hurd-i386 fails)


On Fri, Feb 19, 2010 at 8:23 AM, Michael Banck <mbanck@debian.org> wrote:
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[1].
> >
> > 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.

We're finishing the current release and haven't yet look at this patch so please calm down a bit ;-)
Otavio Salvador                  O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854         http://projetos.ossystems.com.br

Reply to: