Re: "FATAL: kernel too old" when running mmdebootstrap'd riscv64 chroot
On 10/23/18 12:31 PM, James Clarke wrote:
> Unless I'm missing something, this argument is false? Sure you need a 4.15
> kernel if you want to run riscv64 natively, but this is using qemu-user on
> amd64; all the system calls will be translated to the amd64 versions that have
> existed for years. If not, qemu-user itself would be imposing a minimum kernel
Yes, I wanted to outline that as well.
> NB: This is coming from glibc as it sets arch_minimum_kernel=4.15.0 in
I usually bootstrap with:
$ debootstrap --foreign --no-check-gpg --variant=buildd --include=debian-ports-archive-keyring --arch=riscv64 unstable sid-riscv64-sbuild http://ftp.ports.debian.org/debian-ports
Then build a fresh qemu-user from git, copy it into the chroot to usr/bin/qemu-riscv64-static,
then change into the chroot and run ./debbootstrap/debbootstrap --second-stage.
Never had any issues.
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - firstname.lastname@example.org
`. `' Freie Universitaet Berlin - email@example.com
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913