Fermín Galán Márquez wrote:
I have a pair of questions about the package database creation process
(performed by create_package_descr script):
1. Can be used the same script for all SuSE versions (SuSE 8.1, SuSE 8.2 and SuSE 9.0) or each version have its own script file (in the autoyas2 package that comes with the version)?
Yes.
Although from create_package_descr for 8.1 to create_package_descr for 8.2 (autoyast2-2.6.42 to autoyast2-2.7.18) there is little difference (just the token describing Czech language), from 8.2 to 9.0 (autoyast-2.7.18 to autoytas-utils-2.8.14) a diff shows a lot of changes.
I wonder if these changes are just improvements or the two versions output incompatible package databases descriptions. In the former case, should I use always create_package_descr for 9.0 (due to it is the most recent and improved script version)?
The Changes are just improvements, the database created is the same.
2. Is create_package_descr a stand-alone program? (It seems that it uses the file /usr/share/autoinstall/EXTRA_PROV)
Yes, it is a standalone programm, the EXTRA_PROV file is an additional data file for calculating dependency information not available in the rpms.
So, in order to build a package database description should I use the appropriated EXTRA_PROV for that version (through -x switch)? (problems arise when in the same server there are repositories for several SuSE version).
Yes, you have to use the EXTRA_PROV provided by the distribution, this file is distribution dependent. Starting from the next release this file will be available as meta data on the media and not in a package to make it possible to manage different releases on the same server. Anas
I would like answers to booth questions, please.
Thanks in advance!
------ Fermín