View previous topic :: View next topic |
Author |
Message |
Dominique_71 Veteran
Joined: 17 Aug 2005 Posts: 1869 Location: Switzerland (Romandie)
|
Posted: Fri Mar 22, 2013 9:56 am Post subject: World update and kernel sources USE="symlink" |
|
|
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? _________________ "Confirm You are a robot." - the singularity |
|
Back to top |
|
|
DawgG l33t
Joined: 17 Sep 2003 Posts: 866
|
Posted: Fri Mar 22, 2013 10:15 am Post subject: |
|
|
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 |
|
|
Dominique_71 Veteran
Joined: 17 Aug 2005 Posts: 1869 Location: Switzerland (Romandie)
|
Posted: Fri Mar 22, 2013 12:04 pm Post subject: |
|
|
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 _________________ "Confirm You are a robot." - the singularity |
|
Back to top |
|
|
gerard27 Advocate
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Fri Mar 22, 2013 12:15 pm Post subject: |
|
|
@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 |
|
|
|