Before, I compiled a personal kernel, put it on my friend's server, then downloaded it to my every funtoo box.
Now, I can create a funtoo box in 30 min without doing that.
Awesome. Thanks for your efforts. :D
I created a user-defined set call "kernel" which contains "sys-kernel/debian-sources"
In this way, I can seperate sys-kernel/debian-sources from other packages in world file.
When I use "emerge -auDN @world", I can not have to update @kernel.
That is what I want to do.
A few days ago, I reinstalled my funtoo box.
I followed this page http://www.funtoo.org/Funtoo_Linux_Installation#Configuring_and_installing_the_Linux_kernel to configure a set kernel:
1. mkdir /etc/portage/sets
2. echo sys-kernel/debian-sources > /etc/portage/sets/kernel
3. echo "sys-kernel/debian-sources binary" >> /etc/portage/package.use
4. emerge -1 @kernel
I am sure about 2 things:
1. nothing is in /usr/lib/portage/world_sets
2. sys-kernel/debian-sources is not in /usr/lib/portage/world
Now , the question is coming - When I emerge --depclean, portage will clean my kernel.
>>> Calculating removal order...
>>> These are the packages that would be unmerged:
sys-kernel/debian-sources
selected: 3.14.15
protected: none
omitted: none
sys-kernel/genkernel
selected: 3.4.40.7-r6
protected: none
omitted: none
sys-fs/cryptsetup
selected: 1.6.6
protected: none
omitted: none
sys-fs/mdadm
selected: 3.3.2
protected: none
omitted: none
All selected packages: sys-kernel/genkernel-3.4.40.7-r6 sys-kernel/debian-sources-3.14.15 sys-fs/cryptsetup-1.6.6 sys-fs/mdadm-3.3.2
I don't know why Portage didn't work as I know.
Can you guys give a tip ?