On Wed, 2007-06-20 at 15:35 -0700, Chris Gianelloni wrote:
> On Wed, 2007-06-20 at 13:23 +0300, Philipp Riegger wrote:
> > On 20.06.2007, at 01:44, Chris Gianelloni wrote:
> > 
> > > The best/most tested method for changing USE is boot/kernel/$x/use in
> > > your spec file.
> > >
> > >> Again, what does the [boot/kernel:x] in the documentation stand for?
> > >
> > > Huh?
> > 
> > You call it $x above, the documentation calls it [boot/kernel:x]  
> > (e.g. boot/kernel/[boot/kernel:x]/use).
> 
> That's completely inconsequential.  I could have called it:
> boot/kernel/pinkponies/use and it still means the same thing.
> 

To actually provide an answer:

In your spec you specify boot/kernel: followed by an arbitrary number of
arbitrary kernel names for your livecd, following that you are required
to have a block of config options describing each of those kernels.

So for example, lets take the spec for the 2007.0 release media for
ppc64. First we specify:

boot/kernel: ibmpower G5

What that states is that we are going to have two kernels on this CD,
one with the name of ibmpower and the other with the name of G5.

Next we describe these kernels:

## IBM hardware
boot/kernel/ibmpower/sources: sys-kernel/gentoo-sources
boot/kernel/ibmpower/use: usb extlib
boot/kernel/ibmpower/config: 
/2007.0/kernel_configs/installcd-power-gentoo.config
boot/kernel/ibmpower/console: ttyS0,9600 hvc0 hvsi0
boot/kernel/ibmpower/machine_type: ibm
boot/kernel/ibmpower/extraversion: ibm

## Apple hardware
boot/kernel/G5/sources: sys-kernel/gentoo-sources
boot/kernel/G5/use: usb extlib
boot/kernel/G5/config: /2007.0/kernel_configs/installcd-G5-gentoo.config
boot/kernel/G5/console: ttyS0,57600
boot/kernel/G5/extraversion: G5

As you can see above the third parameter (what Chris calls $x or
pinkponies and you call [boot/kernel:x]) comes from the list of kernel
names provided in boot/kernel.

Hope that answers your question.

--Dan

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to