gentoo:trouble:05-portage_with_git

사전 준비

  1. eselect-repository+git USE flag 확인
  2. eselect-repositoryGit 설치 확인
  3. 설정하기 전에 레포 싱크 및 필요한 파일 백업

설정

기존 레포 삭제

eselect repository remove -f gentoo
나의 경우는 이 명령 실행이 잘 되지 않아서 기존 레포 /var/db/repos/gentoo를 이름을 바꿔서 해결했음.

eselect repository add gentoo git https://github.com/gentoo-mirror/gentoo

portageq repos_config /
[gentoo]
auto-sync = yes
location = /var/db/repos/gentoo
masters = 
priority = -1000
strict-misc-digests = true
sync-allow-hardlinks = true
sync-openpgp-key-path = /usr/share/openpgp-keys/gentoo-release.asc
sync-openpgp-key-refresh = true
sync-openpgp-key-refresh-retry-count = 40
sync-openpgp-key-refresh-retry-delay-exp-base = 2
sync-openpgp-key-refresh-retry-delay-max = 60
sync-openpgp-key-refresh-retry-delay-mult = 4
sync-openpgp-key-refresh-retry-overall-timeout = 1200
sync-openpgp-keyserver = hkps://keys.gentoo.org
sync-rcu = false
sync-type = git
sync-uri = https://github.com/gentoo-mirror/gentoo
volatile = false
sync-git-verify-commit-signature = true

동기화

emaint sync -r gentoo

  • gentoo/trouble/05-portage_with_git.txt
  • 마지막으로 수정됨: 2026/01/14 02:15
  • 저자 baecy