注意:
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Talk:Portage Git Mirror
Revision as of 08:13, July 6, 2016 by Corlm (talk | contribs) (→Cloning instructions will wipe distfiles cache.: new section)
Cloning instructions will wipe distfiles cache.
Cloning from local git-daemon
The existing instructions will also wipe the dist files cache which could be quite big. The following is based on my notes for fixing portage if it's repository got corrupt.
root # cd /usr/portage root # git clone --depth 1 git://git.lan/portage.git tmp root # rm -r .git root # mv tmp/.git . root # git reset --hard root # chown -R portage:portage /usr/portage
Maybe is git clone --depth 1 --mirror --bare git://github.com/funtoo/ports-2012.git portage.git
an better option for the mirror clone?