[RISCV] Generate Debian distribution

获取keyring

$ wget http://mirrors.ustc.edu.cn/debian/pool/main/d/debian-ports-archive-keyring/debian-ports-archive-keyring_2023.02.01~deb11u1_all.deb

安装keyring

$ sudo dpkg -i debian-ports-archive-keyring_2023.02.01~deb11u1_all.deb

安装debootstrap

$ sudo apt-get install debootstrap

通过debootstrap安装debian

$ sudo debootstrap --arch=riscv64 --keyring /usr/share/keyrings/debian-ports-archive-keyring.gpg --include=debian-ports-archive-keyring unstable ./tmp/ http://deb.debian.org/debian-ports

你可能感兴趣的:(debian,risc-v)