Hello,
I think there is a typo in AutoInstallRules.ycp (version 1.34.4.9
that comes with SLES9 SP2): the xsltproc to merge classes is called
with the following param there (line 733):
--param dontmerge \"'package, addon'\"
and I'm quite sure that it sould be:
--param dontmerge \"'package'\" --param dontmerge2 \"'addon'\"
The result of this typo is that neither <package> nor <addon> are
correctly aggregated, which is the desired effect I believe and I
also hope.
Quick demonstration:
idhpb02:/ # cat /tmp/a.xml
<?xml version="1.0"?>
<!DOCTYPE profile SYSTEM "/usr/share/autoinstall/dtd/profile.dtd">
<profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://
www.suse.com/1.0/configns">
<install>
<software>
<addons config:type="list">
<addon>addon-A</addon>
</addons>
<packages config:type="list">
<package>package-A</package>
</packages>
</software>
</install>
</profile>
idhpb02:/ # cat /tmp/b.xml
<?xml version="1.0"?>
<!DOCTYPE profile SYSTEM "/usr/share/autoinstall/dtd/profile.dtd">
<profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://
www.suse.com/1.0/configns">
<install>
<software>
<addons config:type="list">
<addon>addon-B</addon>
</addons>
<packages config:type="list">
<package>package-B</package>
</packages>
</software>
</install>
</profile>
Calling it the wrong way:
idhpb02:/ # xsltproc --novalid --param replace "'false'" --param
dontmerge "'package, addon'" --param with "'/tmp/b.xml'" /usr/share/
autoinstall/xslt/merge.xslt /tmp/a.xml
<?xml version="1.0"?>