zypper in yast2-add-on-creator inst-source-utils
rpm -q -R datei.i386.rpm
  <add-on>
    <add_on_products config:type="list">
      <listentry>
        <media_url>cd:///add-on</media_url>
        <product>d4e</product>
        <product_dir>/</product_dir>
      </listentry>
    </add_on_products>
  </add-on>
  <software>
    <packages config:type="list">
      <package>maxima</package>
    </packages>
    <patterns config:type="list">
      <pattern>base</pattern>
      <pattern>console</pattern>
      <pattern>enhanced_base</pattern>
      <pattern>enhanced_base_opt</pattern>
      <pattern>sw_management</pattern>
      <pattern>yast2_basis</pattern>
      <pattern>yast2_install_wf</pattern>
    </patterns>
  </software>
#!/bin/bash

rm -rf /daten/d4e2009/add-on
rm -rf /daten/d4e2009/iso/add-on
/sbin/yast2 add-on-creator create rpm_dir=/daten/d4e2009/rpms \
content=/daten/d4e2009/content output_dir=/daten/d4e2009/add-on do_not_sign verbose
cp -a /daten/d4e2009/add-on /daten/d4e2009/iso