On Thu, Jul 22, 2010 at 3:36 AM, <apevec at gmail.com> wrote: > + rpm.addMacro("_dbpath", "%s/var/lib/rpm" % root) NACK myself, this will use rpmdb from chroot but rpm erase will still operate on the host filesystem. Revoking this patch, please don't use it! Thanks, Alan