使用方法
rsync 方式
修改 /etc/portage/repos.conf/gentoo.conf ,将
sync-uri = rsync://rsync.gentoo.org/gentoo-portage
修改为
sync-uri = rsync://mirrors.tuna.tsinghua.edu.cn/gentoo-portage
注意在使用前需要检查所选镜像站提供的 rsync 是否可以访问,MirrorZ 并未记录该元数据。
git 方式
参考 Gentoo Portage Git 帮助。
Distfiles 配置
参考 Gentoo 帮助。
配置好 Portage 与 Distfiles 后,执行 emerge --sync 进行更新。
评论