RE: [suse-autoinstall] applying patches
Hey Eric, I stopped trying it, because of a lack of time. In my oppinon, the format of the file common.pkd does matter. When I try to install, for example during the installation of the file aaa_base-xxx.rpm and some other packages there comes an error. On other packages not... If Anas has a solution I would be very happy! Regards Thorsten -----Original Message----- From: Eric Whiting To: suse-autoinstall@suse.com Cc: nashif@suse.de; Kugelberg, Thorsten Sent: 26.09.2002 19:45 Subject: Re: [suse-autoinstall] applying patches Thorsten/Anas, Has there been any more changes or activity on these concepts? http://lists.suse.com/archive/suse-autoinstall/2002-Aug/0043.html Patching a clean 8.0 NFS install tree with files from ftp.anywhere.com:/*/suse/i386/update/8.0/ is not a straight forward matter, yet it would greatly simplify installs. I'd much rather just do a NFS install and be done rather than have to go back and run YOU. 2 ways to do this were mentioned. I have a few questions: ===Option 1 -- this option was to overwrite rpm files with the new 'fixed' one. In the 8.0 updates tree I can see the following sysconfig updates: sysconfig-0.23.14-54.i386.patch.rpm sysconfig-0.23.14-54.i386.rpm sysconfig-0.23.14-54.i386_de.info sysconfig-0.23.14-54.i386_en.info In the tree from the suse 8.0 DVD I see this file: sysconfig-0.23.14-30.i386.rpm In this case I assume I could just take sysconfig-0.23.14-54.i386.rpm and overwrite the sysconfig-0.23.14-30.i386.rpm file. Do I need to do anything with the .patch and .info files? I can write a short perl script to do this. ===Option 2 -- this option involved copied the updates (which ones? all or just the main .rpm file?) This also means you must remove the 'old' package that is being replace right? The makeCommon.sh script needs to generate a new common.pkd file. I tried this on my clean suse 8.0 tree and it generated a common.pkd file that seemed quite different from the file originally in the suse/setup/descr tree... How critical is the format of that file? The size field is different. Other things seem different as well. Is there a 'new/improved' way to build the common.pkd file? Or is the specific not that critical? I was able to get a common.pkd file that looks mostly ok. Thanks, eric
* Kugelberg, Thorsten <thorsten.kugelberg@realtech.de> [Sep 27. 2002 11:16]:
Hey Eric,
I stopped trying it, because of a lack of time.
In my oppinon, the format of the file common.pkd does matter. When I try to install, for example during the installation of the file aaa_base-xxx.rpm and some other packages there comes an error. On other packages not...
If Anas has a solution I would be very happy!
The thing is, for 8.0 it is very difficult to provide the original tools used for creating these files. These scripts rely heavily on internal databases which contain external (no rpm) package data. For 8.1, which should be available by now, we have included a script to do this. Format has changed and it is much more powerfull. I am trying currently to make these script work stand-alone. Otherwise, you can use the script provided by Christian Stoltze :) Anas P.S. The script provided by Christian does not generate all needed data. I will provide the data missing ASAP.
Regards Thorsten
-- Anas Nashif <nashif@suse.com>, SuSE Linux AG Montreal (Laval), Canada
Thank you for the good news. I am happy to see that 8.1 will have some improved features this way. eric Anas Nashif wrote:
The thing is, for 8.0 it is very difficult to provide the original tools used for creating these files. These scripts rely heavily on internal databases which contain external (no rpm) package data.
For 8.1, which should be available by now, we have included a script to do this. Format has changed and it is much more powerfull.
I am trying currently to make these script work stand-alone. Otherwise, you can use the script provided by Christian Stoltze :)
Anas
P.S. The script provided by Christian does not generate all needed data. I will provide the data missing ASAP.
Anas,
For 8.1, which should be available by now, we have included a script to do this. Format has changed and it is much more powerfull.
That's a good idea to provide such a script in 8.1.
P.S. The script provided by Christian does not generate all needed data. I will provide the data missing ASAP.
I have included your file "extra_provides" in my script to improve the "Provides-line" in common.pkd (thank you for the tip and the file). http://www.inf.uni-konstanz.de/~stoltze/projekte/autoinstall/index.html Regards CS -- Christian Stoltze Computer Science, University of Constance (Lake Constance/SW-Germany) Email: Christian.Stoltze@uni-konstanz.de Voice: +49 (0)7531 88-4448 Fax: +49 (0)7531 88-3577
participants (4)
-
Anas Nashif
-
Christian Stoltze
-
eric whiting
-
Kugelberg, Thorsten