On Mon, 10 Dec 2007, Uwe Gansert wrote:
On Montag, 10. Dezember 2007, Dag Wieers wrote:
We created a few extra repositories (using mrepo) and add these with a rug-command during the postinstall. The next thing we would like to do is install some of the packages from these repositories in the postinstall.
Sadly, running 'yast -i' does not work, because of an error message that yast is already runing or the package database is being lock by another yast:
either run "yast -i" in an init-scripts section or set "network_needed" to true in your rug-command-script and add the packages you want to install in the post-packages section
Is there a standard way of doing this with init-scripts ? It looks very ugly to do this in an init-script that is only used one time while we could do it as part of the post-install. I do not understand the "network_needed in rug-command-script" or what the post-packages section is. Do you have a best-practices document that explains this in depth for NLD9 and SLES10 ?
So what is the best way to install packages in the postinstall from a repository without adding the packages directly to the installation media.
adding an <add-on> section to the profile and use the <packages> or <post-packages> section.
That is not possible for 2 reasons: - the create_package_descr command does not work on SLES10. Our autoinstall server is a SLES10 server and we have to deploy both NLD9 and SLES10 systems (with additional packages). - the <addons> and <addon> tags do not allow to specify another repository that is build with the genIS_PLAINcache command (which we are using for NLD9. The aim is to create a repository (on SLES10) that we can subscribe to and use during the post-install section as well as in YaST when the system is being used. -- -- dag wieers, dag@wieers.com, http://dag.wieers.com/ -- [Any errors in spelling, tact or fact are transmission errors] -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org