Hello,
From 5.5.1 of
http://www.suse.de/~nashif/autoinstall/8.1/autoyast2.pdf there are two ways of building SuSE 8.1 repository: 1. Single directory. If generated from merging CDs, create_packages_descr have to be run to rebuild packages database. 2. Many directory (one per CD). I'm performing tests with the second configuration, but I have some questions: 1. Do I need to run create_packages_descr inside each CD directory? For example cd /data/SUSE81/CD1/suse /usr/lib/YaST/bin/create_package_descr cd /data/SUSE81/CD2/suse /usr/lib/YaST/bin/create_package_descr cd /data/SUSE81/CD3/suse /usr/lib/YaST/bin/create_package_descr ... 2. Section 4.1.5.3 explains how to add custom packages to the repository, adding it to the appropriated subdirectory (noarch, i386, i586, etc.) and then running create_package_descr. In the case of just one directory, there is no doubt about where to place the .rpm, but what about when having per-CD directories? For example, what 'noarch' (CD1/suse/noarch, CD2/suse/noarch/, etc) to use? 3. What is a how to use the EXTRA_PROV_FILE file (-x switch of create_package_descr)? 4. When I'm trying to autoinstall using the per-CD repository (install=nfs://server/data/SUSE81/CD1/ autoyast=nfs://server/data/profile.xml and the like) I seems like the autoinstaller couldn't see .rpms not in CD1 (that is, .rpms in CD2, CD3, CD4 and CD5). Maybe a problem building the packages database? What packages databases are used by the autoinstaller (only CD1/suse/setup/descr or also CD2/suse/setup/descr, CD3/suse/setup/descr, etc.)? Thanks in advance! --------- Fermín
Hello! I'm doing some tests resp. I'm learning in the same direction, (with SLES8) and I recommend you to read carefully 6.1. Creating NFS directory for UL/SLES from distribution CDs and to take 6.1.3. Example using SLES 8 and UnitedLinux 1.0 CDs as a starting procedure (from Nashif's autoinstall pdf). The ".../yast/order" and ".../yast/instorder" files show autoyast the "CDs" which are to install. If you want to install your own packages (from your "CD" directory), then you have to specify your "CD" directory in the order resp. instorder file and you have to provide a subdirectory of .../yast containing a suited "content" file and a "media.1" directory with files "media" and "products". For your "CD" you have to run create_package_descr. Let /CDX be your exported nfs directory with your packages residing in /CDX/yourproduct/fsc/i386 (fsc has no special meaning here) Then mkdir -p /CDX/yast/yourproduct/fsc/setup/descr /usr/lib/YaST2/bin/create_package_descr \ -d /CDX/yourproduct \ -l english -l german \ -o /RTP-SAF/yast/yourproduct/fsc/setup/descr does create you the packages database for your packages. Moreover you must setup the order and instorder files, for example .../yast/order (use TABs!): --------------------------------------- /yast/servicepack2 /servicepack2 /yast/sles8 /sles8 /yast/unitedlinux1 /unitedlinux1 /yast/yourproduct /yourproduct for example .../yast/instorder (use TABs!): ------------------------------------------- /yast/unitedlinux1 /unitedlinux1 /yast/sles8 /sles8 /yast/servicepack2 /servicepack2 /yast/yourproduct /yourproduct you must create the files /CDX/yast/yourproduct/content /CDX/yast/yourproduct/media.1/media /CDX/yast/yourproduct/media.1/products and copy these files to /CDX/yourproduct/content /CDX/yourproduct/media.1/media /CDX/yourproduct/media.1/products Example of the content file: (remove commentaries!) --------------------------------------------------------- PRODUCT XXX 1.0 Alfred's Edition # shows up in the yast screen VERSION 1 # corresponds to version in .../products DISTPRODUCT XXX-i386 # corresponds to product name in .../products DISTVERSION 1 BASEPRODUCT UnitedLinux BASEVERSION YOUTYPE business YOUPATH i386/update/XXX/1.0 YOUURL http://www.YYY.com VENDOR YYY ARCH.i686 i686 i586 i486 i386 noarch ARCH.i586 i586 i486 i386 noarch ARCH.i486 i486 i386 noarch ARCH.i386 i386 noarch DEFAULTBASE i386 REQUIRES distribution-release LINGUAS de en LABEL XXX V1.0 DESCRDIR fsc/setup/descr # path to packages database DATADIR fsc # rpms in /CDX/yourproduct/fsc/i386 LANGUAGE en_US TIMEZONE America/Los_Angeles That's more or less my understanding of the matter. So read carefully Nashif's pdf and try yourself. For me it was some hard work and I'm not yet through with it. Regards Alfred At 17:04 22.10.03 +0200, Fermín Galán wrote:
Hello,
From 5.5.1 of
http://www.suse.de/~nashif/autoinstall/8.1/autoyast2.pdf
there are two ways of building SuSE 8.1 repository:
1. Single directory. If generated from merging CDs, create_packages_descr have to be run to rebuild packages database. 2. Many directory (one per CD).
I'm performing tests with the second configuration, but I have some questions:
1. Do I need to run create_packages_descr inside each CD directory? For example
cd /data/SUSE81/CD1/suse /usr/lib/YaST/bin/create_package_descr cd /data/SUSE81/CD2/suse /usr/lib/YaST/bin/create_package_descr cd /data/SUSE81/CD3/suse /usr/lib/YaST/bin/create_package_descr ...
2. Section 4.1.5.3 explains how to add custom packages to the repository, adding it to the appropriated subdirectory (noarch, i386, i586, etc.) and then running create_package_descr. In the case of just one directory, there is no doubt about where to place the .rpm, but what about when having per-CD directories? For example, what 'noarch' (CD1/suse/noarch, CD2/suse/noarch/, etc) to use?
3. What is a how to use the EXTRA_PROV_FILE file (-x switch of create_package_descr)?
4. When I'm trying to autoinstall using the per-CD repository (install=nfs://server/data/SUSE81/CD1/ autoyast=nfs://server/data/profile.xml and the like) I seems like the autoinstaller couldn't see .rpms not in CD1 (that is, .rpms in CD2, CD3, CD4 and CD5). Maybe a problem building the packages database? What packages databases are used by the autoinstaller (only CD1/suse/setup/descr or also CD2/suse/setup/descr, CD3/suse/setup/descr, etc.)?
Thanks in advance!
--------- Fermín
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
participants (2)
-
Alfred Isele
-
Fermín Galán