Mailinglist Archive: opensuse-autoinstall (51 mails)

< Previous Next >
[SOLVED] Re: [opensuse-autoinstall] merging of <package> doesn't work
  • From: Frank Steiner <fsteiner-mail1@xxxxxxxxxxxxxx>
  • Date: Fri, 24 Jul 2009 14:16:54 +0200
  • Message-id: <4A69A636.6010307@xxxxxxxxxxxxxx>
This was finally solved by the Novell support:

YaST cannot correctly merge two profiles if the tags are in different
orders. I.e.:

profile1.xml:
<add-on>..</add-on>
<packages>..</packages>

profile2.xml
<packages>..</packages>
<add-on>..</add-on>

Those two won't merge correctly, like I've seen it.

The strange thing was, that my two profiles that I put into AY were
correcttly ordered! Both had <packages> first, and <add-on> second.

But AY took my first profile and created a base_profile.xml from it,
in which the tags were ordered alphabetically! Thus, base_profile.xml
had <add-on> before <package>, and so merging with my second profile
went wrong.

I solved this by putting <add-on> before <package> in all my profiles.
There will be a fix for future releases that AY/YaST sorts all profiles
alphabetically before it merges them, so that order of tags in your
hand-written profiles won't matter. I guess that will come with SP1.

cu,
Frank


--
Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/
Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/
LMU, Amalienstr. 17 Phone: +49 89 2180-4049
80333 Muenchen, Germany Fax: +49 89 2180-99-4049
* Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. *
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages