Mailinglist Archive: opensuse-autoinstall (47 mails)

< Previous Next >
[opensuse-autoinstall] merging of <package> doesn't work
  • From: Frank Steiner <fsteiner-mail1@xxxxxxxxxxxxxx>
  • Date: Wed, 01 Apr 2009 11:31:43 +0200
  • Message-id: <49D3347F.50506@xxxxxxxxxxxxxx>
Hi,

I'm adding two profiles in rules.xml, both contain <packages> and
<remove-packages> entries (and addon produtcs). I'm adding the
second profile as:

<rule>
...
<result>
<profile>profiles/sled-only.xml</profile>
<continue config:type="boolean">true</continue>
<dont_merge config:type="list">
<element>listentry</element>
<element>package</element>
</dont_merge>
</result>
</rule>

Merging of the two add_on_product listentries works fine, but the packages
are not merged. E.g. I have

<packages config:type="list">
<package>sendmail</package>
</packages>

in the first profile and

<packages config:type="list">
<package>lilo</package>
</packages>

in the sled-only.xml. But lilo is not added and in y2log I see only
"software":$["packages":["sendmail"]]

although at some point earlier I find
AutoInstallRules.ycp:590 user defined dont_merge for rules found. dontmerge is
["listentry", "package"]

When merge the two xml files manually according to your blog, i.e. with
/usr/bin/xsltproc --novalid --param replace "'false'" --param dontmerge1
"'package'" --param with "'sled-only.xml'" --output out.xml
/usr/share/autoinstall/xslt/merge.xslt lmu.xml

then out.xml contains the merge:
<ns1:packages config:type="list">
<package>sendmail</package><package>lilo</package>
</ns1:packages>

Am I doing sth. wrong?

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 >
Follow Ups