[OE-core] [PATCH] rootfs.py: Remove rpm database from staging area

2015-03-30 Thread Ed Bartosh
Rpm database in staging area is used only by createrepo. createrepo fails with the error "rpmdb: BDB0060 PANIC: fatal region error detected" if rpm database is broken from the previous run of createrepo. Removing the databae before running createrepo can hopefully prevent this failure to happen.

Re: [OE-core] [PATCH] rootfs.py: Remove rpm database from staging area

2015-03-30 Thread Richard Purdie
On Mon, 2015-03-30 at 11:30 +0300, Ed Bartosh wrote: > Rpm database in staging area is used only by createrepo. > createrepo fails with the error > "rpmdb: BDB0060 PANIC: fatal region error detected" > if rpm database is broken from the previous run of createrepo. > > Removing the databae before r

Re: [OE-core] [PATCH] rootfs.py: Remove rpm database from staging area

2015-03-30 Thread Mark Hatle
On 3/30/15 3:53 AM, Richard Purdie wrote: > On Mon, 2015-03-30 at 11:30 +0300, Ed Bartosh wrote: >> Rpm database in staging area is used only by createrepo. >> createrepo fails with the error >> "rpmdb: BDB0060 PANIC: fatal region error detected" >> if rpm database is broken from the previous run o

Re: [OE-core] [PATCH] rootfs.py: Remove rpm database from staging area

2015-03-30 Thread Mark Hatle
On 3/30/15 3:53 AM, Richard Purdie wrote: > On Mon, 2015-03-30 at 11:30 +0300, Ed Bartosh wrote: >> Rpm database in staging area is used only by createrepo. >> createrepo fails with the error >> "rpmdb: BDB0060 PANIC: fatal region error detected" >> if rpm database is broken from the previous run o

Re: [OE-core] [PATCH] rootfs.py: Remove rpm database from staging area

2015-03-30 Thread Ed Bartosh
On Mon, Mar 30, 2015 at 10:14:36AM -0500, Mark Hatle wrote: > On 3/30/15 3:53 AM, Richard Purdie wrote: > > On Mon, 2015-03-30 at 11:30 +0300, Ed Bartosh wrote: > >> Rpm database in staging area is used only by createrepo. > >> createrepo fails with the error > >> "rpmdb: BDB0060 PANIC: fatal regio

Re: [OE-core] [PATCH] rootfs.py: Remove rpm database from staging area

2015-03-30 Thread Mark Hatle
On 3/30/15 2:00 PM, Ed Bartosh wrote: > On Mon, Mar 30, 2015 at 10:14:36AM -0500, Mark Hatle wrote: >> On 3/30/15 3:53 AM, Richard Purdie wrote: >>> On Mon, 2015-03-30 at 11:30 +0300, Ed Bartosh wrote: Rpm database in staging area is used only by createrepo. createrepo fails with the erro

Re: [OE-core] [PATCH] rootfs.py: Remove rpm database from staging area

2015-03-30 Thread Ed Bartosh
On Mon, Mar 30, 2015 at 10:14:36AM -0500, Mark Hatle wrote: > On 3/30/15 3:53 AM, Richard Purdie wrote: > > On Mon, 2015-03-30 at 11:30 +0300, Ed Bartosh wrote: > >> Rpm database in staging area is used only by createrepo. > >> createrepo fails with the error > >> "rpmdb: BDB0060 PANIC: fatal regio