Chinaunix首页 | 论坛 | 博客
  • 博客访问: 687430
  • 博文数量: 156
  • 博客积分: 3402
  • 博客等级: 中校
  • 技术积分: 1639
  • 用 户 组: 普通用户
  • 注册时间: 2010-07-13 14:06
个人简介

业余编程爱好者

文章分类

全部博文(156)

文章存档

2014年(1)

2013年(13)

2012年(46)

2011年(38)

2010年(58)

分类: LINUX

2011-01-18 10:35:24

前天Daniel Robbins 在论坛上发布了一个新的Portage路径,重点是下面几个变化:

This branch contains a beta implementation of unified Portage paths. It works like this:

/etc/make.conf is now located at /etc/portage/make.defaults /etc/portage is now a true profile - and not only that, it is *the* profile.
/etc/portage/profile has been deprecated (put stuff in /etc/portage instead)
/etc/make.profile has been deprecated - you now set your profile by creating an /etc/portage/parent file containing something like ":default/linux/amd64/2008.0" (with latest git tree.)
Portage will parse the profiles by looking at /etc/portage and recursing through the "parent" file. Remember that an initial ":" in the parent file is relative to the portage tree's "/profiles" directory.
/etc/make.globals is deprecated (it's just a symlink now anyway, but thought you might like to know it can be removed too)

After making these changes, all your Portage config should reside in /etc/portage.

What this does is move all Portage configuration inside /etc/portage, and drastically simplifies the path structure. I have not updated man pages, this is just a BETA of the code for testing purposes. There are likely bugs to be ironed out -- however, in initial tests, I have no problems and Portage seems to be parsing things like USE variables and things correctly.

To install:

First make sure you have emerged portage-2.2.1.1 and that is running well.

Then:

install -d /root/git/
cd /root/git
git clone git://github.com/funtoo/portage-funtoo.git
cd portage-funtoo
git checkout funtoo-path
cd /usr/lib
mv /usr/lib/portage /usr/lib/portage.inst
ln -s /root/git/portage-funtoo portage

To uninstall:

cd /usr/lib
mv portage portage.git
mv portage.inst portage

原文: 

阅读(1579) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~