Talk:Gentoo Power Setup
From Gentoo Linux Wiki
Awesome work dude! - (BodomLx)
Many thanks to 82.181.122.111 (Revision as of 20:14, 9 February 2007) for pointing out that march implies mtune (as specified in gcc manpage). --Don4lfonso 13:42, 10 February 2007 (UTC)
Dangerous cflags have been removed. --Don4lfonso 10:33, 13 February 2007 (UTC)
Contents |
[edit] emerge portage
After setting the locales an "emerge portage" should be in order, before running emwrap.sh
Yes I think this would be a nice idea, as it is always suggested to update portage if an update is available and only afterwards anything else. --Don4lfonso 10:34, 27 February 2007 (UTC)
[edit] kernel
Another thing that could simplify things is replacing the manual copying of the bzImage with the install invocation in the make command. (ie. make && make modules modules_install install) and removing the next 2 cp commands. But then grub should be emerged before this. Therefore it would be best to just move "additional system packages" above "linux kernel (download, configure, install)" :)
Sorry Don4lfonso if I'm giving out too many "suggestions", but I am actually testing your setup and am trying to make things smoother and easier. Great work though. Its good to have a wiki page that outlines the commands without too much explaination that is not needed for users that have gone through the process of installing gentoo many times and would just like to have a reference of what needs to be done.
Indeed, first I merely wrote
$ emerge gentoo-sources
assuming that everyone knows how to install a kernel. A contributor then added those extra lines. Personally, I copy my kernels manually because I have different ones in my /boot and I use a certain naming scheme for them. But then again, saying so would imply to delete also some other "superfluous" stuff... mumble mumble --Don4lfonso 18:21, 27 February 2007 (UTC)
Anyway, yeah I guess this kind of guide is what many people would like to have, a setup guide without all those details and explanations users with a certain experience in using Gentoo know anyway.. a to-do list, as you say :) --Don4lfonso 19:16, 27 February 2007 (UTC)
[edit] Too much recompiling?
After reading this and this I begin to think that some of the recompiling could actually be avoided as it is, apparently, unneeded.
A more reasonable version of the recompilation part would therefore be:
emerge portage (?) emwrap.sh -euDNsw (maybe even better without the "empty" flag) emwrap.sh -est emwrap.sh -esw emerge gcc --prune --pretend
And the corresponding note on updates maybe also needs revision.
[edit] equivalent emerge stuff?
Update(On That link it says the following is equivalent to emwrap.sh) Correct me where Im wrong, thanks
- emerge linux-headers glibc binutils-config binutils gcc-config gcc && emerge glibc binutils gcc && \
- emerge system -e && emerge world -e && emerge world -e
I don't think so, because emwrap actually simply splits the whole update into chunks or combine some: 1) toolchain minus system 2) system minus toolchain 3) world So, that "sytem -e" would include unecessary tc stuff and twice "world -e" should also be unecessary (and not what emwrap does anyway). --Don4lfonso 07:49, 8 May 2008 (UTC)
