Re: Add-on product URI naming scheme
"Andreas Taschner" <[email protected]>
| Newsgroups | gmane.linux.suse.autoinstall |
|---|---|
| Message-ID | <[email protected]> |
Hi >>> On 8/29/2013 at 11:22, Thomas Fehr <[email protected]> wrote: > 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. Thank you both ! Considering the hint to search for 'Supported URI formats:' in man zypper, we now know that zypper does not support USB devices directly. Would it then be possible to use the "hd:/subdir?device=/dev/sda1&filesystem=reiserfs" approach ? E.g. hd:/repository1?device=/dev/sdb1&filesystem=ext3 or am I over-/misinterpreting ? Best regards Andreas -- To unsubscribe, e-mail: [email protected] To contact the owner, e-mail: [email protected]