Profile splitting time!

Anson Chan chancho at netvigator.com
Thu Nov 22 14:23:07 PST 2001


we are going to build that package, but do we need to check if it is already
installed.
the version number should be just a hint which we will install it if we can
find a newer one but not a older one.

----- Original Message -----
From: "Neven Has" <haski at sezampro.yu>
To: <alfs-discuss at linuxfromscratch.org>
Sent: Friday, November 23, 2001 4:08 AM
Subject: Re: Profile splitting time!


> On Thu, Nov 22, 2001 at 07:05:41PM +0000, Mark Ellis wrote:
> > > <include type="package"> <!-- "profile" for the way it works now -->
> > > <name>gtk</name>
> > > <version>1.2.10</version>
> > > <location>large_profile.xml</location>
> > > </include>
> >
> > I like it lots, it's giving me a headache figuring out how to do it, but
> > hey :) I suppose we'd parse in the mother.xml, move through it looking
for
> > <package> with the name and version we wan't, and copy that branch into
> > the controlling profile, not too bad actually.
>
> Yes, but without parsing in the full profile and then going through it
> again. It should be enough to parse it only until <include> (and needed
> info inside it) is hit. We can just ignore the other packages with the
> same name/version in the same profile, if any.
>
> > I was thinking of allowing entities specified in the child profile to
> > "overwrite" any matching ones from the master, that way you can get
system
> > stuff available and if the child profile wants to override or simply not
> > use them it can, so a default isn't necessary.
>
> Mmmmm, that sounds nice. :) It's a bit tricky to implement, but it will
> be very useful.
>
>
> Neven
>
> --
> Unsubscribe: send email to listar at linuxfromscratch.org
> and put 'unsubscribe alfs-discuss' in the subject header of the message
>

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe alfs-discuss' in the subject header of the message



More information about the alfs-discuss mailing list