View previous topic :: View next topic |
Author |
Message |
SniperSlap n00b
Joined: 26 Nov 2004 Posts: 45 Location: Winnipeg, MB
|
Posted: Fri Dec 02, 2005 5:42 pm Post subject: Gentoo self-install. |
|
|
Is there any way to prepare a listing of ebuilds that a build of gentoo should have so that the installation of a system can be somewhat pre-determined? Almost like an ebuild kit?
I would like to maintain a listing of packages that I want for a server of mine, but I want to make sure that I'm trimming any excess garbage that comes in. _________________ Desktop
AMD Athlon 64 2800+ (Socket 754)
ABit KV8-Pro
BFG GeForce 6600GT OC
Server
Intel Pentium III 1ghz (Coppermine)
ASUS CUV4X |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Fri Dec 02, 2005 5:45 pm Post subject: |
|
|
USE="-*" emerge -e system > list.txt _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
SniperSlap n00b
Joined: 26 Nov 2004 Posts: 45 Location: Winnipeg, MB
|
Posted: Fri Dec 02, 2005 7:15 pm Post subject: |
|
|
nixnut wrote: | USE="-*" emerge -e system > list.txt |
So that's going to give me the output of a whole system build? (Obviously --pretend will allow me to fake the process & get the same results?)
Does that include the essentials that I may or may not be able to strip out? _________________ Desktop
AMD Athlon 64 2800+ (Socket 754)
ABit KV8-Pro
BFG GeForce 6600GT OC
Server
Intel Pentium III 1ghz (Coppermine)
ASUS CUV4X |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Fri Dec 02, 2005 7:46 pm Post subject: |
|
|
SniperSlap wrote: | nixnut wrote: | USE="-*" emerge -e system > list.txt |
So that's going to give me the output of a whole system build? (Obviously --pretend will allow me to fake the process & get the same results?)
Does that include the essentials that I may or may not be able to strip out? |
Yeah, --pretend will do fine. emerge -ep system shows the list of the basic system, not everything on the system. emerge -ep world does that. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
SniperSlap n00b
Joined: 26 Nov 2004 Posts: 45 Location: Winnipeg, MB
|
Posted: Fri Dec 02, 2005 11:08 pm Post subject: |
|
|
Alright, forgive me for not being the brightest - but how will this help me in creating a highly customized ebuild set for a system?
What I'm looking to do is really get into the details of trimming the fat off my server system. Getting only what I need, and as a side-question, how can I lock an e-build to a particular version of a program? For example, how can I lock my system's kernel to 2.6.X.Y? Or maybe say lock MySQL?
Lots of things I want to do basically along the lines of stability during updates and not having broken configuration files.
nixnut wrote: | SniperSlap wrote: | nixnut wrote: | USE="-*" emerge -e system > list.txt |
So that's going to give me the output of a whole system build? (Obviously --pretend will allow me to fake the process & get the same results?)
Does that include the essentials that I may or may not be able to strip out? |
Yeah, --pretend will do fine. emerge -ep system shows the list of the basic system, not everything on the system. emerge -ep world does that. |
_________________ Desktop
AMD Athlon 64 2800+ (Socket 754)
ABit KV8-Pro
BFG GeForce 6600GT OC
Server
Intel Pentium III 1ghz (Coppermine)
ASUS CUV4X |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
|
Back to top |
|
|
SniperSlap n00b
Joined: 26 Nov 2004 Posts: 45 Location: Winnipeg, MB
|
Posted: Mon Dec 05, 2005 11:10 pm Post subject: |
|
|
How would I go about locking ebuilts to a specific version? _________________ Desktop
AMD Athlon 64 2800+ (Socket 754)
ABit KV8-Pro
BFG GeForce 6600GT OC
Server
Intel Pentium III 1ghz (Coppermine)
ASUS CUV4X |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Tue Dec 06, 2005 2:36 am Post subject: |
|
|
SniperSlap wrote: | How would I go about locking ebuilts to a specific version? |
You could create a custom portage snapshot (or use an existing one). Then as long as you don't change the snapshot, none of your packages will get updated to a different version. |
|
Back to top |
|
|
Griswold Apprentice
Joined: 26 Aug 2004 Posts: 212
|
Posted: Tue Dec 06, 2005 5:32 am Post subject: |
|
|
Use either emerge --oneshot =app-type/program-version or you might try masking the versions below and above.[/b] |
|
Back to top |
|
|
revertex l33t
Joined: 23 Apr 2003 Posts: 806
|
Posted: Tue Dec 06, 2005 9:43 am Post subject: |
|
|
Put the package version above that one you want to lock in /etc/portage/package.mask
Example: if you want to stay with gcc 3.3 put >sys-devel/gcc-3.3.* in /etc/portage/package.mask, this way any version grater than this will not be emerged.
See man portage for detailed info.
cheers. |
|
Back to top |
|
|
SniperSlap n00b
Joined: 26 Nov 2004 Posts: 45 Location: Winnipeg, MB
|
Posted: Wed Dec 07, 2005 12:32 am Post subject: |
|
|
Perfect, I like revertex's solution. That's exactly what I'm after for the version locking.
This is one of the reasons why I kind of hate portage documentation. Nobody wants to take the time to publish the best-practices. Just a bunch of cryptic nonsense. _________________ Desktop
AMD Athlon 64 2800+ (Socket 754)
ABit KV8-Pro
BFG GeForce 6600GT OC
Server
Intel Pentium III 1ghz (Coppermine)
ASUS CUV4X |
|
Back to top |
|
|
|