Gentoo 软件仓库

项目简介

本仓库是 Gentoo 的 Stage 3 镜像。

Distfiles 配置

/etc/portage/make.conf 中加入:

GENTOO_MIRRORS="https://mirrors.ha.edu.cn/gentoo"

关于 Portage 配置可以参考 Gentoo Portage 镜像

配置好 Portage 与 Distfiles 后,执行 emerge --sync 进行更新。

Gentoo Prefix Bootstrap 镜像配置

在运行 Bootstrap 脚本之前,可通过设置以下环境变量选择 Bootstrap 过程中使用的镜像。

export GENTOO_MIRRORS="https://mirrors.ha.edu.cn/gentoo"
export SNAPSHOT_URL="https://mirrors.ha.edu.cn/gentoo/snapshots"
# export GNU_URL="http://mirror/gnu"

GNU_URL 的具体设置可以参考 GNU 帮助

Bootstrap 成功后,若对 Gentoo Portage 和 Distfiles 换源,可参照以上几节,只需将 /etc 换成 $EPREFIX/etc