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

Bug#531316: [debootstrap] --foregin for kfreebsd-* fails still - debootstrap to kfreebsd from Linux not possible.

On Sun, Jul 24, 2011 at 10:52:40AM +0200, Otavio Salvador wrote:
> 2011/7/24 Paweł Różański <rozie@wp.pl>:
> ...
> > Package extraction is OK, but then I get:
> > W: Failure trying to run: chroot /mnt/temp mount -t devfs devfs /dev
> >
> > in /usr/share/debootstrap/functions there is:
> >
> > setup_devices () {
> >        case "$ARCH" in
> >            kfreebsd-*)
> >                in_target mount -t devfs devfs /dev ;;
> >
> > looks like it should work...
> >
> > There is /dev/sda5, formatted as ext2 mounted as /mnt/temp.
> It shouldn't since it tried to run a kfreebsd binary in your Linux
> host. Aurelien, can you take a look at it?

I think the problem is more wide than kfreebsd only. The mount command
is run from setup_devices, and the command is different depending on the
OS (GNU/Linux, GNU/kFreeBSD, Hurd). But I don't understand why this
command is part of the first stage, it should not be needed here, and on
Linux it only works by chance, because you can create devices entries
for a foreign architecture from another architecture.

Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net

Reply to: