Page Actions
Wiki Actions
User Actions
Submit This Story

迁移到Funtoo

想换个口味?大致如此步骤:

A proper git

首先,我们需要一个合适的git:

#install -d /etc/portage
#echo “dev-util/git perl cgi curl subversion” >> /etc/portage/package.use
#emerge git

Create Funtoo tree

建立fentoo tree,我选的路径是/funtoo

#mkdir /funtoo
#cd /funtoo
#git clone git://github.com/funtoo/portage.git
#cd portage

Modify make.conf

别忘了要改make.conf

PORTDIR=/funtoo/portage

Track the meta-data

接下来,我们获取funtoo tree和gentoo tree基本信息

#git checkout –track -b funtoo.org origin/funtoo.org
#git checkout –track -b gentoo.org origin/gentoo.org

Branch

我们用哪个branch呢?只要输入:

#git branch

列出了branch, 我们可以如此指定呆在哪个branch:

#git checkout funtoo.org

Check it

时不时用git branch查看自己在哪个; 你可以检验两者的区别:

#git diff gentoo.org funtoo.org

Sync

平时的同步,如果用的portage >= Portage 2.2_rc18,则只需直接sync即可

# emerge --sync
  >>> Starting git pull...

否则,就不sync了,自己去pull吧:

git pull

That's it!

这样就Funtoo了!最后,注意看文档,后果自负!

Discussion

Enter your comment
 
 
blog/2009/10/迁移到funtoo.txt · Last modified: 2009/10/01 00:00 (external edit)     Back to top
Recent changes RSS feed Creative Commons License Powered by PHP Driven by DokuWiki