[Fedora-livecd-list] 3 commits - imgcreate/yuminst.py livecd-tools.spec Makefile tools/livecd-iso-to-disk.sh

Jeremy Katz katzj at redhat.com
Fri Oct 10 20:00:50 UTC 2008


On Sat, 2008-10-11 at 01:26 +0530, Rahul Sundaram wrote:
> Jeremy Katz wrote:
> > commit c80a302bda3cc1fc55fac088613bbaa86467fe86
> > Author: Jeremy Katz <katzj at redhat.com>
> > 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




More information about the Fedora-livecd-list mailing list