Re: Bootstrapping a Mips64el chroot
Hi,
On Sat, May 24, 2014 at 1:16 PM, David Kuehling <dvdkhlng@posteo.de> wrote:
> Hi,
>
> looks like the Mips64el Debian port [1] is complete enough to be
> (almost) usable with debootstrap. For some reasons, debootstrap fails
> when run once, but when running it a few times, it finally finishes
> successfully.
>
> This command sequence actually worked when I tried yesterday:
>
> for i in 1 2 3 ; do
> /usr/sbin/debootstrap \
> --arch=mips64el --no-check-gpg --include=multiarch-support \
> --exclude=libstdc++,libstdc++-dev,aptitude,libsigc++-1.2-dev \
> sid ./mips64el \
> http://mips64el.debian.net/debian/
> done
>
Actually the packages on mips64el.debian.net is a bit dated at the
moment, and we are preparing a push to make it up-to-date.
> Unfortunately this requires a MIPS64 capable CPU, i.e. Loongson3A will
> work, but Loongson2F not. Hopefully the porters eventually recompile
> their repository for MIPSIII. I don't think that MIPS64-specific
> instructions add much of a benefit anyways.
>
The plan is that we are very probably switch to mips3 for the one
submit to debian-ports.org, and keep another repository for mips64r2
capable hardware.
Thanks,
Aron
> When done, 'schroot' can be used to turn the chroot into something that
> feels like a proper debian system (configuring type=directory it
> bind-mounts various stuff into the chroot, so you can compile code from
> your home directory etc.). Warning: never do 'rm -r' on a chroot used
> with 'schroot' as it may delete bind-mounted subdirectories (like,
> $HOME).
>
> For reference here's my schroot config file:
>
> --8<--
> [mips64el]
> description=Debian Sid mips64el
> type=directory
> directory=/path/to/mips64el/chroot/
> users=myloginname
> personality=linux
> --8<--
>
> cheers,
>
> David
>
> [1] http://mips64el.debian.net/debian/
> --
> GnuPG public key: http://dvdkhlng.users.sourceforge.net/dk2.gpg
> Fingerprint: B63B 6AF2 4EEB F033 46F7 7F1D 935E 6F08 E457 205F
Reply to: