Just to wrap this one up ...
On 10/1/2010 at 14:57, "Andreas Taschner" firstname.lastname@example.org wrote:
On 10/1/2010 at 12:41, Uwe Gansert email@example.com 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).
-- To unsubscribe, e-mail: firstname.lastname@example.org For additional commands, e-mail: email@example.com