[opensuse-autoinstall] Packages in add-on product do not get installed

Hi Have enjoyed the YaST add-on-creator and built an add-on with a hello-world package. Impressing tool BTW - must be popular. (Only changed the vendor from the default in the wizard). Including it in the autoyast profile (for SLES11SP1) <add_on_products config:type="list"> <listentry> <media_url>http://atw510.nts.com/Andreas-add-on</media_url> <product>Andreas-add-on</product> <product_dir>/</product_dir> <name>Hello-world-name-addon-product</name> </listentry> </add_on_products> results in the following : 0) The Add-On product is not shown in the package installation window 1) zypper products lists the product, but not as installed 2) The service and repository for the add-on are enabled 3) The package does not get installed automatically Have I done something wrong in the creation of the add-on, or do I need to modify the profile to explicitly request installation of all/every package in the add-on repo ? Related question : Is it possible to have the add-on on a separate DVD (customer needs to install on isolated servers in outposts with no infrastructure) and get the installation flow to eject the installation medium and ask for another DVD ? Thanks. Best regards Andreas -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org

on Thursday 30 September 2010 Andreas Taschner wrote:
Have I done something wrong in the creation of the add-on, or do I need to modify the profile to explicitly request installation of all/every package in the add-on repo ?
you have to specify every package you want to install and that is not covered by a pattern that you install already. So you have to add the packages your want to install to your packages list in the XML file.
Related question : Is it possible to have the add-on on a separate DVD (customer needs to install on isolated servers in outposts with no infrastructure) and get the installation flow to eject the installation medium and ask for another DVD ?
should work if you set <ask_on_error config:type="boolean">true</ask_on_error> for the add-on Autoyast should stop then when it can't find the add-on and you can make it available. -- ciao, Uwe Gansert Uwe Gansert SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org

On 10/1/2010 at 12:41, Uwe Gansert <ug@suse.de> wrote: on Thursday 30 September 2010 Andreas Taschner wrote:
Have I done something wrong in the creation of the add-on, or do I need to modify the profile to explicitly request installation of all/every package in the add-on repo ?
you have to specify every package you want to install and that is not covered by a pattern that you install already. So you have to add the packages your want to install to your packages list in the XML file.
Great - thanks for the inspiration. In the add-on I created a mandatory pattern with all packages marked as recommended and then added that pattern in the list in the profile. This way it is not necessary to update the profile every time new packages are added to the add-on. The packages do get installed now, but the product still remains as not installed to zypper (minor problem though). One more down :)
Related question : Is it possible to have the add-on on a separate DVD (customer needs to install on isolated servers in outposts with no infrastructure) and get the installation flow to eject the installation medium and ask for another DVD ?
should work if you set <ask_on_error config:type="boolean">true</ask_on_error> for the add-on Autoyast should stop then when it can't find the add-on and you can make it available.
OK, but what would the media_url be if it is on a DVD (or on a USB stick if that is what we end up choosing) ? I have a really hard time finding the right urls (keep getting "unsupported URI scheme" when trying with the add-on directory in the root of a USB stick). Thanks. //Andreas -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org

on Friday 01 October 2010 Andreas Taschner wrote:
OK, but what would the media_url be if it is on a DVD (or on a USB stick if that is what we end up choosing) ?
you can use cd:///my_addon relurl:///my_addon should work too which is relative to the installation source. I had a bugreport though, that this sometimes does not work. I had success storys too, so it's worth a try ;) I'll look closer into this when I find the time. -- ciao, Uwe Gansert Uwe Gansert SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org

On 10/4/2010 at 10:24, Uwe Gansert <ug@suse.de> wrote: on Friday 01 October 2010 Andreas Taschner wrote:
OK, but what would the media_url be if it is on a DVD (or on a USB stick if that is what we end up choosing) ?
you can use cd:///my_addon
Thanks - that works =) However this leads to a number of DVD swaps during the installation. So I would like to have it on a USB stick (the same one that I have the info file on). It is not a bootable USB stick - we install from an unmodified SLES DVD. I can still not find a way to access it (tried usb:///my_addon, disk:///my_addon, relurl:///my_addon) Is there at all a way to accomplish that when one is not booting/installing from the USB device ? Best regards Andreas -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org

Just to wrap this one up ...
On 10/1/2010 at 14:57, "Andreas Taschner" <ataschner@novell.com> wrote:
On 10/1/2010 at 12:41, Uwe Gansert <ug@suse.de> wrote: on Thursday 30 September 2010 Andreas Taschner wrote:
Have I done something wrong in the creation of the add-on, or do I need to modify the profile to explicitly request installation of all/every package in the add-on repo ?
you have to specify every package you want to install and that is not covered by a pattern that you install already. So you have to add the packages your want to install to your packages list in the XML file.
Great - thanks for the inspiration. In the add-on I created a mandatory pattern with all packages marked as recommended and then added that pattern in the list in the profile. This way it is not necessary to update the profile every time new packages are added to the add-on. The packages do get installed now, but the product still remains as not installed to zypper (minor problem though).
This turned out to be caused by https://bugzilla.novell.com/show_bug.cgi?id=646060 which is about that YaST add-on-creator silently fails to create the release packages if the NAME field of the content file contains spaces. In the current version of the add-on-creator, this field is pre-populated with whatever the user enters as the product name in the first dialog. Novell R&D has created a patch, but it will most likely not be released until SLE11 SP2, since it is possible to work around the issue by populating the fields correctly. I will try to get this documented to the public. If anybody is interested I have a PDF with screenshots of the whole process of creating an add-on.
One more down :)
Related question : Is it possible to have the add-on on a separate DVD (customer needs to install on isolated servers in outposts with no infrastructure) and get the installation flow to eject the installation medium and ask for another DVD ?
should work if you set <ask_on_error config:type="boolean">true</ask_on_error> for the add-on Autoyast should stop then when it can't find the add-on and you can make it available.
OK, but what would the media_url be if it is on a DVD (or on a USB stick if that is what we end up choosing) ? I have a really hard time finding the right urls (keep getting "unsupported URI scheme" when trying with the add-on directory in the root of a USB stick).
Thanks. //Andreas
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (2)
-
Andreas Taschner
-
Uwe Gansert