From b726984e4bac6742ed0307d96bd5b943976a3667 Mon Sep 17 00:00:00 2001 From: aiminick Date: Fri, 25 Jun 2021 19:54:13 +0800 Subject: [PATCH] Update RISC-V64_QEMU.md --- docs/RISC-V64_QEMU.md | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/docs/RISC-V64_QEMU.md b/docs/RISC-V64_QEMU.md index ac23f1c..6cb5dbd 100644 --- a/docs/RISC-V64_QEMU.md +++ b/docs/RISC-V64_QEMU.md @@ -45,28 +45,14 @@ make CROSS_COMPILE=riscv64-unknown-linux-gnu- ARCH=riscv -j $(nproc --all) #### Buidl Risc-V64 Debian rootFS -``` -apt install mmdebstrap qemu-user-static binfmt-support \ -debian-ports-archive-keyring -y - -mmdebstrap --architectures=riscv64 --include="debian-ports-archive-keyring" sid \ -/home/linux/riscv64-chroot \ -"deb http://ftp.debian.org/debian-ports/ sid main" \ -"deb http://ftp.debian.org/debian-ports/ unreleased main" -``` - -or - ``` apt-get install debootstrap qemu-user-static binfmt-support \ debian-ports-archive-keyring -y sudo debootstrap --arch=riscv64 --keyring /usr/share/keyrings/debian-ports-archive-keyring.gpg \ ---include=debian-ports-archive-keyring unstable ./riscv64-chroot \ +--include=debian-ports-archive-keyring unreleased ./riscv64-chroot \ http://ftp.debian.org/debian-ports ``` -2nd. - ``` cat >>/etc/network/interfaces <