[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rpmorg-maint
Subject:    [Rpm-maint] discussion on problems of RPM in real life packaging
From:       katzj () redhat ! com (Jeremy Katz)
Date:       2008-06-17 15:41:30
Message-ID: 1213717290.12817.43.camel () aglarond ! local
[Download RAW message or body]

On Tue, 2008-06-17 at 15:38 +0200, Stanislav Brabec wrote:
> 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.

That pre-supposes that you're splitting transactions.  Which can't be
guaranteed unless that's implemented in rpm (as 'rpm --root=/tmp/newroot
-ivh *rpm' will need to continue to work as long as /bin/rpm continues
to exist).  Which promises to be ... "exciting"

Jeremy



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic