Gentoo Portage Git

使用方法

第一次使用 git 同步方式的用户需要进行如下操作:

  • 修改 /etc/portage/repos.conf/gentoo.conf

    • sync-type 改为 git
    • sync-uri 改为
      {{endpoint}}
  • 删除 /var/db/repos/gentoo

  • 执行 emerge --sync

已经配置 git 同步的用户只需:

  • 修改 /etc/portage/repos.conf/gentoo.conf

    • sync-uri 改为
      {{endpoint}}
  • /var/db/repos/gentoo 下,执行

git remote set-url origin {{endpoint}}
  • 执行 emerge --sync

本站由兰州大学开源社区支持创办,由兰州大学开源社区维护。

本站相关源码可在 这里(镜像管理器)这里(镜像站网页) 获取。

根据相关法律法规,本站不对欧盟用户提供服务。

Contact Us

bars github