8 Jul
2006
8 Jul
'06
15:52
Am Freitag, 7. Juli 2006 02:57 schrieb Goetz Rieger: > Hi list, > > I'm trying to add some custom RPM's to a SLED10 autoinstall using a > customized DVD. The basic autoinstall works well. > > I understand that the simple recreation of the package database and the > <package>rpm</package> section in autoinst.xml is not working for this > anymore. > > So I have created a directory in the DVD root with a new tree using the > create_update_source.sh script, copied a test RPM there and build the > package database. As stated in the docs. And I even disabled the > signature check Point your browser to http://en.opensuse.org/Creating_YaST_Installation_Sources#YaST_Sources Here is a description of how to setup an additional YaST source. I you want to create an additional source in your DVD , you should perform the following steps: 1. create your directory $myproducts # in root of your DVD source 2. cd $myproducts 3. mkdir media.1 4. $EDITOR media.1/media #see above URL for explanation 5. $EDITOR content #see above URL for explanation 6. mkdir RPMS 7. mkdir RPMS/noarchs || mkdir RPMS/i586 || mkdir whatever( depends on your architecture 8. copy your rpms to RPMS/$ARCH 9. ls -A1 > directory.yast 10. create_package_descr -d RPMS/ You have now an additional yast source. Test it with yast ( Software --> Add-on-Product ). . > > The add_on_products file in the DVD root looks like > > dvd:///updates > > It is not really clear to me how the add-on stuff works. So I did add a > > <addons config:type="list"> > <addon>updates</addon> > </addons> > Add the follwing parts to you autoinst.xml: --------------------- <general> <signature-handling> <accept_unsigned_file config:type="boolean">true</accept_unsigned_file> <accept_file_without_checksum config:type="boolean">true</accept_file_without_checksum> <accept_verification_failed config:type="boolean">true</accept_verification_failed> <accept_unknown_gpg_key config:type="boolean">true</accept_unknown_gpg_key> <import_gpg_key config:type="boolean">true</import_gpg_key> </signature-handling> <mode> <confirm config:type="boolean">false</confirm> <forceboot config:type="boolean">true</forceboot> <second_stage config:type="boolean">true</second_stage> </mode> </general> <add-on> <add_on_products config:type="list"> <listentry> <media_url>CD:///myproducts/</media_url> <product></product> <product_dir>/</product_dir> </listentry> </add_on_products> </add-on> ------------------------------ and for your software selection: ------------------------------ <software> <packages config:type="list"> <package>Goetz</package> // for Goetz-1.0-1.i586.rpm ;) <package>Babsi</package> // for Babsi-1.0-1.i586.rpm ;) <package>Max</package> // for Max-1.0-1.noarch.rpm :) </packages> <patterns config:type="list"> <pattern>x11</pattern> <pattern>base</pattern> <pattern>ccb</pattern> </patterns> </software> ------------------------------ That's it. Greetings to Auckland. Frank