Re: Request for access to porterbox
On Thu, Jul 28, 2016 at 6:21 AM, Adam Borowski wrote:
> CHROOT=/srv/chroots/sh4 #name the chroot here
> apt-get -y install debian-ports-archive-keyring qemu-user-static
> btrfs subv create "$CHROOT" || mkdir "$CHROOT"
> mkdir -p "$CHROOT/usr/bin"
> cp -p /usr/bin/qemu-sh4-static "$CHROOT/usr/bin/"
> debootstrap --arch=sh4 \
> --keyring=/usr/share/keyrings/debian-ports-archive-keyring.gpg \
> unstable "$CHROOT" http://ftp.ports.debian.org/debian-ports/
BTW, you can use qemu-debootstrap from the qemu-user-static package to
simplify this command.
--
bye,
pabs
https://wiki.debian.org/PaulWise
Reply to: