Dne čtvrtek 22 Leden 2009 17:56:56 Stanislav Brabec napsal(a):
Duncan Mac-Vicar Prett wrote:
Hi, I'm unsure about what our general policy is regarding when SuSEconfig should be run and also specifically regarding PackageKit zypp backend. Does PackageKit need to run this on system updates or individual package installs? Does libzypp take care of this under the covers ( for instance does zypp:ZYpp:commit call SuSEconfig at the end of the method?)
You need to call SuSEconfig just once before you "return updated system to the user".
It makes sense run SuSEconfig in YaST after installing distro, since the same scripts would have been run several times (e.g. some stuff related to post- install scripts of fonts, IIRC), and YaST also sets the YAST_IS_RUNNING variable so that packages can know that SuSEconfig will be run. There is nothing similar in zypper or PackageKit; since when doing update, you typically update a few packages, it does not make much sense to change it IMO. Additionally, plain 'rpm -U' has to work as well. Jiri -- Regards, Jiri Srain YaST Team Leader --------------------------------------------------------------------- SUSE LINUX, s.r.o. e-mail: jsrain@suse.cz Lihovarska 1060/12 tel: +420 284 028 959 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org