On Sat, 2008-10-11 at 01:26 +0530, Rahul Sundaram wrote: > Jeremy Katz wrote: > > commit c80a302bda3cc1fc55fac088613bbaa86467fe86 > > Author: Jeremy Katz <[EMAIL PROTECTED]> > > Date: Fri Oct 10 10:18:19 2008 -0400 > > > > Clean up rpmdb locks after installing packages also > > > > With new versions of RPM, people can otherwise run into things they > > don't > > expect inside of their %post scripts. So make things simpler for them > > Can you explain what you mean "things they don't expect" ? Not sure what > problem is being solved here.
If you built an image that had a different version of rpm inside the chroot vs out (eg, say building a Fedora 9 live image on a rawhide box or vice versa) you end up with rpm telling you that the db versions don't match. And since we can safely know that the rpmdb isn't being accessed at that point, it is safe to remove /var/lib/rpm/__db* which are the lock files Jeremy -- Fedora-livecd-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/fedora-livecd-list
