Custom RPMs SLED 10 RC3
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. 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> to the xml file. It's not working and I will spare the details because I think I am doing something wrong. Do I need to add more to the xml file? Like a selection? The docs are a pretty secretive on this, could someone shine a bit of light on this?. Cheers, Goetz
Ok, I am really confused. So no selections anymore, but how are the add-ons supposed to work? And where is this catalog? The content file? Goetz
Do I need to add more to the xml file? Like a selection? The docs are a pretty secretive on this, could someone shine a bit of light on this?.
Cheers, Goetz
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
-- ---------------------------------- OSS: Open Systems Specialists Ltd phone: 09-984-3000 fax: 09-984-3001 mobile: 021-308047 email: grieger@oss.co.nz web: www.oss.co.nz post: P.O. Box 8833, Auckland ---------------------------------- CAUTION: The information contained in this message and any attachment is confidential between Open Systems Specialists Ltd and the intended recipient. Any other person receiving this message in error is asked to respect that confidentiality and not disclose, copy or make use of its contents. If this message has been received in error please notify the sender by return and delete the message from your database. Thank you.
Hm, a monolog. I found the instructions to create the content file in the create_update script. But I still get "Failed to add add-on product". Goetz
Ok, I am really confused. So no selections anymore, but how are the add-ons supposed to work? And where is this catalog? The content file?
Goetz
Do I need to add more to the xml file? Like a selection? The docs are a pretty secretive on this, could someone shine a bit of light on this?.
Cheers, Goetz
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
-- ---------------------------------- OSS: Open Systems Specialists Ltd phone: 09-984-3000 fax: 09-984-3001 mobile: 021-308047 email: grieger@oss.co.nz web: www.oss.co.nz post: P.O. Box 8833, Auckland ----------------------------------
CAUTION: The information contained in this message and any attachment is confidential between Open Systems Specialists Ltd and the intended recipient. Any other person receiving this message in error is asked to respect that confidentiality and not disclose, copy or make use of its contents. If this message has been received in error please notify the sender by return and delete the message from your database. Thank you.
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
-- ---------------------------------- OSS: Open Systems Specialists Ltd phone: 09-984-3000 fax: 09-984-3001 mobile: 021-308047 email: grieger@oss.co.nz web: www.oss.co.nz post: P.O. Box 8833, Auckland ---------------------------------- CAUTION: The information contained in this message and any attachment is confidential between Open Systems Specialists Ltd and the intended recipient. Any other person receiving this message in error is asked to respect that confidentiality and not disclose, copy or make use of its contents. If this message has been received in error please notify the sender by return and delete the message from your database. Thank you.
On Friday 07 July 2006 11:45, Goetz Rieger wrote:
Hm, a monolog. I found the instructions to create the content file in the create_update script. But I still get "Failed to add add-on product".
send me your y2log please -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany Business: http://www.suse.de/~ug now playing :Wumpscut: - Dr. Thodt
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
Hallo Frank, danke. Hilfe aus Toronto ist immer willkommen. I got it finally running myself late last night. My problems where mainly due to not following docs to the letter and reading Uwe's scripts helped, too. So anybody trying to do the same: Frank's instructions are good, the link to OpenSUSE is helpful. But Uwe's docs alone are sufficient if you follow them step-by-step and don't stay awake for too long... ;-) Cheers, Goetz
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
Am Freitag, 7. Juli 2006 02:57 schrieb Goetz Rieger: 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
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
-- ---------------------------------- OSS: Open Systems Specialists Ltd phone: 09-984-3000 fax: 09-984-3001 mobile: 021-308047 email: grieger@oss.co.nz web: www.oss.co.nz post: P.O. Box 8833, Auckland ---------------------------------- CAUTION: The information contained in this message and any attachment is confidential between Open Systems Specialists Ltd and the intended recipient. Any other person receiving this message in error is asked to respect that confidentiality and not disclose, copy or make use of its contents. If this message has been received in error please notify the sender by return and delete the message from your database. Thank you.
participants (3)
-
frank balzer
-
Goetz Rieger
-
Uwe Gansert