Mailinglist Archive: zypp-devel (58 mails)

< Previous Next >
Re: [zypp-devel] [Fwd: SuSEconfig and PackageKit]
  • From: Jiri Srain <jsrain@xxxxxxx>
  • Date: Fri, 23 Jan 2009 10:14:40 +0100
  • Message-id: <200901231014.40670.jsrain@xxxxxxx>
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@xxxxxxx
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@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >