gentoo-portage
镜像为 Gentoo Linux 的 ebuilds 镜像,软件包(distfiles, stage3, liveDVD)镜像为 gentoo
。
make.conf
配置的用户按照 Handbook 修改。/etc/portage/repos.conf
目录(如果不存在的话)(我也很纠结他们目录为什么不用 .d 结尾)。
# mkdir --parents /etc/portage/repos.conf
# cp /usr/share/portage/config/repos.conf /etc/portage/repos.conf/gentoo.conf
sync-uri
变量为 rsync://mirror.bjtu.edu.cn/gentoo-portage
,样例如下。
[gentoo] location = /usr/portage sync-type = rsync sync-uri = rsync://mirror.bjtu.edu.cn/gentoo-portage auto-sync = yes
使用 # emerge --sync
同步本地的 ebuilds。