Hi all,
I'm adding two profiles in rules.xml. Both contain <patterns>,
<packages> and <remove-packages> entries.
When merging the two xml files manually according to Uwe Gansert's blog with
/usr/bin/xsltproc --novalid --param replace "'false'" \
--param dontmerge1 "'package'" \
--param with "'server.xml'" --output out.xml \
/usr/share/autoinstall/xslt/merge.xslt COMMON.xml
then out.xml contains all patterns and packages added from both profiles.
Everything is as expected.
Within autoinstallation only the <packages> and <remove-packages> are
merged in the right way. <patterns> merging fails. Patterns added from
the second profile are totally ignored.
I'm adding the second profile as:
<rule>
...
<result>
<profile>classes/software/server.xml</profile>
<continue config:type="boolean">true</continue>