[Rpm-maint] discussion on problems of RPM in real life packaging

Stanislav Brabec sbrabec at suse.cz
Tue Jun 17 13:38:11 UTC 2008


Seth Vidal wrote:
> 
> On Tue, 17 Jun 2008, Stanislav Brabec wrote:
> 
> > Seth Vidal wrote:
> >
> >> %pretans plays all sorts of hell with chroot installs. We tend to
> >> discourage them as much as possible.
> >
> > Why they are different than %post in chroot?
> 
> b/c %post happens AFTER the chroot exists. %pretrans would happen before 
> it exists.

In theory, adding some PreReq tags should split installation to more
transactions, but AFAIK, "Requires(pretrans): glibc" is not implemented
yet. I did never experiment with it.

-- 
Best Regards / S pozdravem,

Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o.                          e-mail: sbrabec at suse.cz
Lihovarská 1060/12           tel: +420 284 028 966, +49 911 740538747
190 00 Praha 9                                  fax: +420 284 028 951
Czech Republic                                    http://www.suse.cz/




More information about the Rpm-maint mailing list