Portage com GIT no Gentoo
Dica publicada em Linux / Configuração
Portage com GIT no Gentoo
GIT é melhor que o RSYNC. Mais veloz e não tem limite de vezes por dia.
Para usar o GIT no Portage do Gentoo faça o seguinte.
Instale o GIT:
# emerge --ask dev-vcs/git
Crie o arquivo:
# vim /etc/portage/repos.conf
Coloque o conteúdo:
Salve e feche.
Delete a árvore antiga do Portage:
# rm -r /var/db/repos/gentoo
Refaça-a com GIT:
# emerge --sync
ou:
# eix-sync
Execute novamente para testar.
Fontes:
Para usar o GIT no Portage do Gentoo faça o seguinte.
Instale o GIT:
# emerge --ask dev-vcs/git
Crie o arquivo:
# vim /etc/portage/repos.conf
Coloque o conteúdo:
[DEFAULT]
main-repo = gentoo
[gentoo]
location = /var/db/repos/gentoo
#sync-type = rsync
#sync-uri = rsync://rsync.de.gentoo.org/gentoo-portage/
sync-type = git
sync-uri = https://github.com/gentoo-mirror/gentoo.git
auto-sync = yes
sync-rsync-verify-jobs = 1
sync-rsync-verify-metamanifest = yes
sync-rsync-verify-max-age = 24
sync-openpgp-key-path = /usr/share/openpgp-keys/gentoo-release.asc
sync-openpgp-keyserver = hkps://keys.gentoo.org
sync-openpgp-key-refresh-retry-count = 40
sync-openpgp-key-refresh-retry-overall-timeout = 1200
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-webrsync-verify-signature = yes
main-repo = gentoo
[gentoo]
location = /var/db/repos/gentoo
#sync-type = rsync
#sync-uri = rsync://rsync.de.gentoo.org/gentoo-portage/
sync-type = git
sync-uri = https://github.com/gentoo-mirror/gentoo.git
auto-sync = yes
sync-rsync-verify-jobs = 1
sync-rsync-verify-metamanifest = yes
sync-rsync-verify-max-age = 24
sync-openpgp-key-path = /usr/share/openpgp-keys/gentoo-release.asc
sync-openpgp-keyserver = hkps://keys.gentoo.org
sync-openpgp-key-refresh-retry-count = 40
sync-openpgp-key-refresh-retry-overall-timeout = 1200
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-webrsync-verify-signature = yes
Salve e feche.
Delete a árvore antiga do Portage:
# rm -r /var/db/repos/gentoo
Refaça-a com GIT:
# emerge --sync
ou:
# eix-sync
Execute novamente para testar.
Fontes:
- Sincronizando Portage com GIT no Sabayon Linux [Dica]
- Gentoo: use git for portage synchronization » serra.me
- Finalizing the Gentoo installation
Muito bom.
___________________________________________________________