配置 distfiles
先决条件:添加 gentoo-zh overlay 并接受其测试关键字,见 Overlay 指南。
配置
本站只镜像 overlay ebuild 声明的 distfiles,不替代 Gentoo 主仓库镜像。地址末尾无需添加 distfiles/,Portage 会自动附加。主仓库镜像见镜像列表;下载问题见 distfiles FAQ。
优先
# /etc/portage/make.conf GENTOO_MIRRORS="${GENTOO_MIRRORS} https://mirrors.cernet.edu.cn/gentoo-zh https://distfiles.gentoozh.org"
sudo tee -a /etc/portage/make.conf > /dev/null <<'EOF' GENTOO_MIRRORS="${GENTOO_MIRRORS} https://mirrors.cernet.edu.cn/gentoo-zh https://distfiles.gentoozh.org" EOF
避免自动镜像 distfiles 的方法见 FAQ。