Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
World update and kernel sources USE="symlink"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Dominique_71
Veteran
Veteran


Joined: 17 Aug 2005
Posts: 1508
Location: Switzerland (Romandie)

PostPosted: Fri Mar 22, 2013 9:56 am    Post subject: World update and kernel sources USE="symlink" Reply with quote

I am not using genkernel. If I understand well the implication of USE="symlink -build" for the kernel sources in use during a world update, portage will install the new kernel sources when needed, make a new symlink

my_new_kernel_sources -> linux

in /usr/src, and fail at the first software update that will use the newly installed kernel, that because those kernel sources will not be configured.

In fact, this will be an opportunity to configure, make and install this new kernel, before to continue the world update with "emerge --resume"

Am I right?
_________________
[[[ To any NSA and FBI agents reading that text: please consider ]]]
[[[ whether defending the US Constitution against all enemies, ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]
Back to top
View user's profile Send private message
DawgG
l33t
l33t


Joined: 17 Sep 2003
Posts: 607

PostPosted: Fri Mar 22, 2013 10:15 am    Post subject: Reply with quote

Quote:
Am I right?

yes.

Quote:
fail at the first software update that will use the newly installed kernel, that because those kernel sources will not be configured.

this depends on the software or the ebuild that installs it; some software only needs configured sources, some needs compiled sources and some ebuilds check the kernel-options via /proc/ - so configuring and compiling the new sources is useless in this case (and kind of annoying when you compile inside a chroot).
GOOD LUCK!
_________________
DUMM KLICKT GUT.
Back to top
View user's profile Send private message
Dominique_71
Veteran
Veteran


Joined: 17 Aug 2005
Posts: 1508
Location: Switzerland (Romandie)

PostPosted: Fri Mar 22, 2013 12:04 pm    Post subject: Reply with quote

When a software need a compiled kernel, you can configure the kernel and issue something like a "make modules_prepare". It must work in most cases, if not all.

One of the first software I install into a chroot is mc. But I am not inside a chroot now.

Thanks
_________________
[[[ To any NSA and FBI agents reading that text: please consider ]]]
[[[ whether defending the US Constitution against all enemies, ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]
Back to top
View user's profile Send private message
gerard82
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2232
Location: Netherlands

PostPosted: Fri Mar 22, 2013 12:15 pm    Post subject: Reply with quote

@Dominique_71,
What I have for years is NO symlink useflag in make.conf.
This way updating world no problems like you describe.
When I want to install the new kernel I change the symlink to the new kernel.
After compiling it I run "module-rebuild rebuild" to install external modules like nvidia.
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum