+ -
当前位置:首页 → 问答吧 → 可以使用 2008.0 profile 了

可以使用 2008.0 profile 了

时间:2008-04-06

来源:互联网

代码:
$ > eselect profile list
Available profile symlink targets:
 [1] default-linux/x86/2006.1
 [2] default-linux/x86/no-nptl
 [3] default-linux/x86/2006.1/desktop
 [4] default-linux/x86/2007.0
 [5] default-linux/x86/2007.0/desktop
 [6] hardened/x86/2.6
 [7] selinux/2007.0/x86
 [8] selinux/2007.0/x86/hardened
 [9] default/linux/x86/2008.0 *
 [10] default/linux/x86/2008.0/desktop
 [11] default/linux/x86/2008.0/developer
 [12] default/linux/x86/2008.0/no-nptl
 [13] default/linux/x86/2008.0/server
 [14] hardened/linux/x86

作者: LiYanrui   发布时间: 2008-04-06

ln -snf /usr/portage/profiles/default/linux/x86/2008.0/server /etc/make.profile

作者: fei   发布时间: 2008-04-06

早几天就用上了。
提醒下fei版,
eselect profile set 9
比较方便哦。

作者: zhou3345   发布时间: 2008-04-06

eselect profile set 10 这样就完成了升级?
emerge -u world

就是这样一个profile,是不是只有在安装的时候还需要选择版本?现在的升级根本就是换了个profile,

作者: BzFly   发布时间: 2008-04-06

2007 跟 2008 default 版本基本是一致的(就多了个bzip2),而且我推荐自己掌握make.conf 及 package.use

default-linux/x86/2007.0:

cat /usr/portage/profiles/default-linux/x86/2007.0/make.defaults
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/x86/2007.0/make.defaults,v 1.2 2007/08/08 19:27:27 dev-zero Exp $

# We build stage1 against this
STAGE1_USE="nptl nptlonly unicode"

# These USE flags are what is common between the various sub-profiles. Stages 2
# and 3 are built against these, so be careful what you add.
USE="acl cups gdbm gpm nptl nptlonly unicode"


default/linux/x86/2008.0:

cat /usr/portage/profiles/releases/2008.0/make.defaults
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/releases/2008.0/make.defaults,v 1.1 2008/04/01 17:41:35 wolf31o2 Exp $

# Adding this one, since it makes sense.
USE="${USE} bzip2"

cat /usr/portage/profiles/releases/2008.0/parent
..

cat /usr/portage/profiles/releases/make.defaults
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/releases/make.defaults,v 1.1 2008/04/01 17:41:35 wolf31o2 Exp $

# These USE flags are what is common between the various sub-profiles. Stages 2
# and 3 are built against these, so be careful what you add.
USE="acl cups gdbm gpm nptl nptlonly unicode"

作者: arli   发布时间: 2008-04-06

引用:
作者: BzFly
现在的升级根本就是换了个profile,
那,你认为还应该怎样升级?

作者: zhllg   发布时间: 2008-04-06

引用:
作者: arli
2007 跟 2008 default 版本基本是一致的(就多了个bzip2)
只看那一个目录下的make.defaults还不能得出这个结论。
profile的精髓在于parent
而2008.0 profile的精髓在于multi parent

作者: zhllg   发布时间: 2008-04-06

前几天已经升级了,只几个包要升级。gentoo升级做得非常好,跟本就不是我想像的要花半天时间,来个差不多重装的样子。

作者: tlze   发布时间: 2008-04-06

补充:内核也升到r4了。

作者: tlze   发布时间: 2008-04-06

复习一下
http://www.linuxsir.org/bbs/showthread.php?p=1815789

作者: zhllg   发布时间: 2008-04-06

引用:
作者: tlze
补充:内核也升到r4了。
从r3怎么快速到r4,变化大吗?

作者: alaxie   发布时间: 2008-04-06

引用:
作者: alaxie
从r3怎么快速到r4,变化大吗?
make oldconfig
没有任何提示,估计应该是变化不大,还没深刻体会。

作者: tlze   发布时间: 2008-04-06

gnome 2.22 也解除了 mask.

作者: LiYanrui   发布时间: 2008-04-06

引用:
作者: zhllg
那,你认为还应该怎样升级?
我对升级没什么期望,只要用的顺手基本上就不需要升级,我就是对很多人期盼着2008感到非常的奇怪, 以为新的版本会为非常多的改进,现在看来就是换了个profile,这个东西完全可以定制的,适合自己 的就是合适的,根本无所谓升级不升级

作者: BzFly   发布时间: 2008-04-06

到时候出大动作了。Gnome 新版也 unmask 了?那 KDE 4 怎么样了?

作者: 亞利艾爾   发布时间: 2008-04-06

@ BzFly:

你说的情况部分适合已装备 gentoo 的用户;对于那些期望尝试 gentoo 的用户而言,2008.0 的升级自然值得期盼。

其实就是对于已经装备 gentoo 的用户而言,2008.0 也值得期盼,虽然现在只是改改 profile,但是日后许多软件包的更新就是在一个新的环境中进行了。

作者: LiYanrui   发布时间: 2008-04-06

帖发重复了。

作者: LiYanrui   发布时间: 2008-04-06

引用:
作者: LiYanrui
@ BzFly:

你说的情况部分适合已装备 gentoo 的用户;对于那些期望尝试 gentoo 的用户而言,2008.0 的升级自然值得期盼。

其实就是对于已经装备 gentoo 的用户而言,2008.0 也值得期盼,虽然现在只是改改 profile,但是日后许多软件包的更新就是在一个新的环境中进行了。
这个可能就是跟其它发行版的不同之处了,其实就算不换profile,最新包也可以emerge ,有了autounmask就足够emerge到最新版本的,不过换了最新的profile可能就省了autounmask吧,新手,理解成 这样不知道对不对,还希望老鸟们指点指正

作者: BzFly   发布时间: 2008-04-06

@ BzFly:

新的 profile 里可能会对全局的 USE 进行调整。另外 zhllg 版主强调了 “profile的精髓在于parent”,只是我不了解其中深意。

我觉得虽然 profile 的变动貌似很小,我们看到的也许仅仅是变动了某个 USE,但是官方的 portage 具体发生怎样的变化,对我们而言基本是透明的。

作者: LiYanrui   发布时间: 2008-04-06

为什么这次的profile放到default/linux/x86下面了,没像以前那样放到default-linux/x86下面?

作者: liwenqiu   发布时间: 2008-04-06

引用:
作者: zhllg
复习一下
http://www.linuxsir.org/bbs/showthread.php?p=1815789
标题: 大家觉的Gentoo最吸引自己的是什么?

一直认为这个贴子弄成精华好些,不知老大的意思如何?
理由:每次给人家介绍gentoo好处就想到这个贴子,每次查找起来没有精华贴方便,并且觉得那个贴子弄成精华一点也不过分

作者: axlrose   发布时间: 2008-04-06

引用:
作者: LiYanrui
@ BzFly:

新的 profile 里可能会对全局的 USE 进行调整。另外 zhllg 版主强调了 “profile的精髓在于parent”,只是我不了解其中深意。

我觉得虽然 profile 的变动貌似很小,我们看到的也许仅仅是变动了某个 USE,但是官方的 portage 具体发生怎样的变化,对我们而言基本是透明的。
我也不太了解其中的深意,在我看来,profile定义的是基本的USE,而这个对gentoo来说确是最基本的基础,不知道这样理解对不对,看来自己功力不够,对gentoo的精髓理解得不够啊,还需要好好学习啊

作者: BzFly   发布时间: 2008-04-06

引用:
作者: BzFly
我对升级没什么期望,只要用的顺手基本上就不需要升级,我就是对很多人期盼着2008感到非常的奇怪, 以为新的版本会为非常多的改进,现在看来就是换了个profile,这个东西完全可以定制的,适合自己 的就是合适的,根本无所谓升级不升级
用gentoo还是要按时升级的
profile也是要升级的

原因我就不多费口舌了
如果你有兴趣并且如果你还没有看过的话,可以看看
http://dev.gentoo.org/~spb/pms.pdf

作者: zhllg   发布时间: 2008-04-06

parent就是profile里的parent文件
profile是可以继承的
以前的profile是单继承,parent文件里只有一个目录名,一般是..,即上一级目录
现在的profile可以多继承,parent文件里可以有多个目录名

作者: zhllg   发布时间: 2008-04-06

引用:
作者: zhllg
用gentoo还是要按时升级的
profile也是要升级的

原因我就不多费口舌了
如果你有兴趣并且如果你还没有看过的话,可以看看
http://dev.gentoo.org/~spb/pms.pdf
gentoo按时升级是必要的,对profile的升级还是不太理解,先去看看张乐给的这个文档,版主提供的是纯英文的,这个需要一段时间来消化了,先潜水,什么时候看完了再来

作者: BzFly   发布时间: 2008-04-06