On Fri, Dec 16, 2022 at 9:23 PM Rob Landley <r...@landley.net> wrote:
> [...]
> How does one do an 'entirely from source' debootstrap, anyway? (If I wanted to
> reproduce your current sh4 build on my system, where would I start?)

For SH-4 I use a Debian Chroot and follow
https://cryptopp.com/wiki/Debian_Chroot#SH-4 .

Start with Debian Unstable/Sid.

Then add the following packages:

# apt install qemu qemu-user-static binfmt-support debootstrap
debian-archive-keyring debian-ports-archive-keyring

And then setup the SH-4 guest:

# qemu-debootstrap --arch=sh4 --keyring
/usr/share/keyrings/debian-ports-archive-keyring.gpg \
  --variant=buildd --exclude=debfoster unstable debian-sh4
http://ftp.ports.debian.org/debian-ports

Finally, enter the SH-4 guest with:

# chroot debian-sh4

Jeff

Reply via email to