Hi, On Thu, Aug 29, Andreas Taschner wrote:
Hi
In an attempt to create SLES11SP2/3 installation images, which contain various repositories with some in-house developed RPMs, some questions have popped up from my customer.
Although I have searched in the "usual places"++ (admit not being very good at that) I have not been able to find clear answers.
My question is how can I refer to a repository in an autoyast file, when the repository resides in the same medium as the installation files?
In my autoyast file I have <add-on> <add_on_products config:type="list"> <listentry> <media_url>cd:///repos/my_repo1</media_url> <product>my_product1</product> <product_dir>/</product_dir> <name>my_product1</name> </listentry> </add_on_products> </add-on>
Should the media_url be cd:///<path> or can I use file:///<path>? If I use a usb disk instead of a CD, should I change the cd:///<path> to usb:///<path>? Would it be possible to use relurl:///<path>? In that case what is considered the root of the SuSE DVD installation media, the root directory or some other path?
It seems that cd:/// works for installation with a DVD. I didn't find this in the documentation and I don't know if file:/// is supposed to work or not.
I once had a case about location of the info file for linuxrc (where one could refer to info=disk:/info?device=*usb*), but I am not sure this applies to AutoYaST. Also the paths available during installation are not clear to me.
Is anybody willing to elaborate or point to sources that document the naming schemes and paths.
Unfortunately all the mentioned urls are handled at completely different places (linuxrc, autoyast, zypper). For autoyast xml control file you can use something like "autoyast=device:/autoinst.xml" or "usb:/autoinst.xml" which will search on all disk or usb devices for the mentioned path. The methods to specify the autoyast control file are in Chapter "7.3.1 Command Line Options" of autoyast Documentation ("Table 7.2"). The add-on section of autoyast control file is handled by yast2-add-on and the urls ultimately by zypper. I am adding Ladislav Slezak and Michael Andres as the respective maintainers to CC: if they have a pointer to such a document for the URLs usable by zypper. Tschuess, Thomas Fehr -- Thomas Fehr, SuSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Tel: +49-911-74053-0, Fax: +49-911-74053-482, Email: fehr@suse.de GPG public key available. -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org