[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: [PATCH V2] add multiboot support for tboot



David Cantrell wrote onĀ 2011-08-16:
> On 08/15/11 22:37, Wei, Gang wrote:
>> David Cantrell wrote on 2011-08-15:
>>> On 08/15/2011 10:41 AM, clumens redhat com wrote:
>>>>> BTW, can anyone tell me where to find the current compose package
>>>>> list for
>>> F16? I need to make sure tboot package is included.
>>>> 
>>>> It's in the lorax package now, specifically:
>>>> 
>>>> 
>>> http://git.fedorahosted.org/git/?p=lorax.git;a=blob;f=share/ramdisk
>>> .l
>>> tmpl;hb= HEAD
>>> 
>>> Oh right, "compose", not "compose"
>>> 
>> 
>> First I am really a bit confused by the two "compose"s you mentioned above.
> What I meant is how can I make sure tboot package will be included in
> F16 installation iso image?
> 
> Ambiguity is one of our favorite pastimes.
> 
>> Second, I checked [lorax.git] / share / ramdisk.ltmpl, and could not
>> find tboot
> in it. Does it mean tboot package is not required but also not removed
> -- so it is still there and is just optional?
> 
> Lorax is responsible for building (composing) what we call the
> installation image, initrd.img.  The things we need available to
> anaconda during installation are placed in this image by lorax.  It's
> a special case live system image, tailored to anaconda's needs.
> 
>> Third, I do think it is comps.xml file for F-16 that control whether
>> tboot is
> included in installation iso, am I right?
> 
> comps.xml does control what packages are included in what we call the tree.
> The tree is either the OS tree you see on a download site, e.g.:
> 
> http://download.fedora.redhat.com/pub/fedora/linux/releases/15/
> 
> Or an ISO.  Trees are built (composed) by another tool called pungi.
> Confused yet?
> 
> Our idea for tboot was that we'd list it in comps.xml as an optional package.
> It is up to users to specifically select it for installation
> -or- list it in their %packages definition in a kickstart file.
> Anaconda will then set up tboot iff it's in the target system's root filesystem.
> tboot does not and should not be in the install image as composed by
> lorax, it only needs to exist on the target system.
>

I get the idea clearly now. Tboot package has nothing to do with installation image so no need to include it in lorax. Tboot should be in the tree to be ready to be installed to target system, so it should be included by comps.xml first and then built into trees by pungi.

Great, I know more about fedora now, thanks a lot for the detailed explanation.

Jimmy




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]