missing /dev/console in debootstrap --foreign, a bug or not ?
Colin Watson
cjwatson at ubuntu.com
Tue Jan 20 18:31:26 GMT 2009
On Tue, Jan 20, 2009 at 06:50:26PM +0100, Loïc Minier wrote:
> On Tue, Jan 20, 2009, Scott James Remnant wrote:
> > debootstrap does call MAKEDEV with a few essentials (including console)
> > and unpacks this during the first stage.
>
> I grepped on MAKEDEV and found this in the second-stage:
> /debootstrap/functions: (cd "$TARGET/dev"; /sbin/MAKEDEV fd std ptyp ptyq vcs tty1 tty2 tty3 tty4 tty5 tty6)
>
> and this in the source:
> functions: (cd "$TARGET/dev"; /sbin/MAKEDEV fd std ptyp ptyq vcs tty1 tty2 tty3 tty4 tty5 tty6)
> Makefile:MAKEDEV := $(shell if [ -e /dev/MAKEDEV ]; then echo /dev/MAKEDEV; else echo /sbin/MAKEDEV; fi)
> Makefile: (cd dev && $(MAKEDEV) std ptmx fd)
>
> So it MAKEDEVs: fd std ptmx ptyp ptyq vcs tty1 tty2 tty3 tty4 tty5 tty6
You should probably look at the context too. :-) That MAKEDEV call in
functions is in the setup_devices_hurd function ...
Makefile is the one that needs to be changed (and changed in my most
recent upload).
Cheers,
--
Colin Watson [cjwatson at ubuntu.com]
More information about the ubuntu-devel
mailing list