Michael Stapelberg <stapelb...@debian.org> writes:

> Could you provide the command line for doing this please?

Sure, no problem.

sudo apt install debootstrap debian-ports-archive-keyring

sudo debootstrap --arch=x32 --variant=buildd \
    --keyring=/usr/share/keyrings/debian-ports-archive-keyring.gpg \
    unstable $DIR https://deb.debian.org/debian-ports

You'll then want to establish an rbind mount for $DIR/dev and regular
bind mounts for, at minimum, $DIR/proc and $DIR/sys.  (You might
consider doing the same for $DIR/home and $DIR/tmp.)

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?a...@monk.mit.edu

Reply via email to