Re: [OE-core] [PATCH 1/1] patch: fix CVE-2015-1196

2015-03-30 Thread Robert Yang
On 03/30/2015 06:14 PM, Richard Purdie wrote: On Wed, 2015-03-25 at 23:42 -0700, Robert Yang wrote: A directory traversal flaw was reported in patch: References: http://www.openwall.com/lists/oss-security/2015/01/18/6 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775227 https://bugzilla.r

[OE-core] [PATCH] package_manager: call createrepo with --dbpath pointing inside WORKDIR

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 during previous run of createrepo. Made createrepo to create rpm db in $WORKDIR/rpmdb/ from scratch for every build. This should po

[OE-core] [PATCH] nss: Fix build in x32 ABI

2015-03-30 Thread Aníbal Limón
When try to build nss with x32 ABI enabled fails because it need to be specified USE_X32 env var. [YOCTO #7420] Signed-off-by: Aníbal Limón --- meta/recipes-support/nss/nss.inc | 4 1 file changed, 4 insertions(+) diff --git a/meta/recipes-support/nss/nss.inc b/meta/recipes-support/nss/ns

Re: [OE-core] [PATCH 00/17] meta-core Dizzy next

2015-03-30 Thread akuster808
On 03/30/2015 11:49 AM, Martin Jansa wrote: On Mon, Mar 30, 2015 at 09:41:05AM -0700, Armin Kuster wrote: please consider these changes for Dizzy next The following changes since commit ec75238f6cc2d2d8d40e0268f6d2acc070cbe9a4: Revert "file: Update CVE patch to ensure file gets built corr

[OE-core] [PATCH] createrepo: Implement --dbpath command line option

2015-03-30 Thread Ed Bartosh
--dbpath option allows to specify path to the directory with rpm database. By default createrepo uses or creates rpm database in /var/lib/rpm/. Upstream-Status: Pending Signed-off-by: Ed Bartosh --- .../createrepo/createrepo/createrepo-dbpath.patch | 51 ++ .../createrepo/c

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] prelink_git.bb: Update to latest cross-prelink version

2015-03-30 Thread Mark Hatle
This is sent to be queued for 1.9, and for a post 1.8 update. Sorry everyone who was looking for this, I thought I sent it back in February but I dropped the ball. --Mark On 3/30/15 5:10 PM, Mark Hatle wrote: > [YOCTO #7056] > > Adds support for armhf dynamic linker > Update prelink-rtld to gli

[OE-core] [PATCH] prelink_git.bb: Update to latest cross-prelink version

2015-03-30 Thread Mark Hatle
[YOCTO #7056] Adds support for armhf dynamic linker Update prelink-rtld to glibc 2.20 base Fix testsuite to work with latest autotools Signed-off-by: Mark Hatle --- meta/recipes-devtools/prelink/prelink_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devt

Re: [OE-core] [PATCH] gcc-cross-canadian: Add inhibit of split as well was Re: [oe-core][PATCH 1/1] package.bbclass: decouple splitting and stripping

2015-03-30 Thread Mark Hatle
On 3/30/15 4:45 PM, Richard Purdie wrote: > On Mon, 2015-03-30 at 16:08 -0500, Mark Hatle wrote: >> On 3/18/15 12:44 PM, Slater, Joseph wrote: >>> I just found out that this patch will break qa for ltp packaging. The ltp >>> recipe >>> inhibits stripping which used to inhibit splitting. If split

Re: [OE-core] [PATCH] gcc-cross-canadian: Add inhibit of split as well was Re: [oe-core][PATCH 1/1] package.bbclass: decouple splitting and stripping

2015-03-30 Thread Richard Purdie
On Mon, 2015-03-30 at 16:08 -0500, Mark Hatle wrote: > On 3/18/15 12:44 PM, Slater, Joseph wrote: > > I just found out that this patch will break qa for ltp packaging. The ltp > > recipe > > inhibits stripping which used to inhibit splitting. If splitting is > > enabled, > > there are several .

Re: [OE-core] Verification on how TARGET_CFLAGS is set

2015-03-30 Thread Richard Purdie
On Mon, 2015-03-30 at 15:37 -0500, Mark Hatle wrote: > On 3/30/15 3:27 PM, Richard Purdie wrote: > > On Mon, 2015-03-30 at 13:09 +, Bryan Evenson wrote: > >> I am about to upgrade to the dizzy branch. I have a built a bootable > >> image on my test build machine, and now I'm going to be applyi

Re: [OE-core] [PATCH v2] insane.bbclass: Added Epiphany machine definitions

2015-03-30 Thread Peter Saunderson
Updated subject line. On 30/03/15 22:14, Peter Saunderson wrote: On 30/03/15 03:11, Nathan Rossi wrote: On Mon, Mar 30, 2015 at 5:17 AM, Peter Saunderson wrote: You have [meta-oe] in your subject, I believe you are after just oe-core with this patch correct? Yes, sorry wrong subject line. o

[OE-core] [PATCH] gcc-cross-canadian: Add inhibit of split as well was Re: [oe-core][PATCH 1/1] package.bbclass: decouple splitting and stripping

2015-03-30 Thread Mark Hatle
On 3/18/15 12:44 PM, Slater, Joseph wrote: > I just found out that this patch will break qa for ltp packaging. The ltp > recipe > inhibits stripping which used to inhibit splitting. If splitting is enabled, > there are several .debug directories in places packages.bbclass doesn't look, > so > t

Re: [OE-core] Verification on how TARGET_CFLAGS is set

2015-03-30 Thread Mark Hatle
On 3/30/15 3:27 PM, Richard Purdie wrote: > On Mon, 2015-03-30 at 13:09 +, Bryan Evenson wrote: >> I am about to upgrade to the dizzy branch. I have a built a bootable >> image on my test build machine, and now I'm going to be applying >> changes to the system I use for building production ima

Re: [OE-core] Verification on how TARGET_CFLAGS is set

2015-03-30 Thread Richard Purdie
On Mon, 2015-03-30 at 13:09 +, Bryan Evenson wrote: > I am about to upgrade to the dizzy branch. I have a built a bootable > image on my test build machine, and now I'm going to be applying > changes to the system I use for building production images. I'm > planning on deleting my tmp directo

Re: [OE-core] [PATCH] dpkg-native: Avoid 'file changed' errors from tar

2015-03-30 Thread Richard Purdie
On Mon, 2015-03-30 at 20:07 +0200, Andreas Oberritter wrote: > On 30.03.2015 18:21, Otavio Salvador wrote: > > On Mon, Mar 30, 2015 at 1:02 PM, Richard Purdie > > wrote: > >> On Mon, 2015-03-30 at 12:02 -0300, Otavio Salvador wrote: > >>> +When running do_package_write_deb, we have trees of symlin

Re: [OE-core] [oe-commits] Jonathan Liu : fontcache.bbclass: prepend to PACKAGEFUNCS instead of appending

2015-03-30 Thread Martin Jansa
On Mon, Mar 30, 2015 at 11:49:21AM -0700, Khem Raj wrote: > > > On Mar 30, 2015, at 11:46 AM, Martin Jansa wrote: > > > > On Mon, Mar 30, 2015 at 09:41:30AM -0700, Khem Raj wrote: > >> > >>> On Mar 30, 2015, at 3:09 AM, Burton, Ross wrote: > >>> > >>> > >>> On 29 March 2015 at 00:28, Martin

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] Not selecting as installing it would break existing dependencies

2015-03-30 Thread Alejandro del Castillo
Sounds like you hit an already reported bug: https://code.google.com/p/opkg/issues/detail?id=142 It is currently targeted for the 0.3 release, but I am not sure if Paul is going to be able to get to it on the 0.3 timeframe. Could you add details to the bug report (how to reproduce steps

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] [oe-commits] Jonathan Liu : fontcache.bbclass: prepend to PACKAGEFUNCS instead of appending

2015-03-30 Thread Khem Raj
> On Mar 30, 2015, at 11:46 AM, Martin Jansa wrote: > > On Mon, Mar 30, 2015 at 09:41:30AM -0700, Khem Raj wrote: >> >>> On Mar 30, 2015, at 3:09 AM, Burton, Ross wrote: >>> >>> >>> On 29 March 2015 at 00:28, Martin Jansa >> > wrote: >>> WEBOS_FONTCONFIG_CACHE

Re: [OE-core] [PATCH 00/17] meta-core Dizzy next

2015-03-30 Thread Martin Jansa
On Mon, Mar 30, 2015 at 09:41:05AM -0700, Armin Kuster wrote: > please consider these changes for Dizzy next > > The following changes since commit ec75238f6cc2d2d8d40e0268f6d2acc070cbe9a4: > > Revert "file: Update CVE patch to ensure file gets built correctly" > (2015-03-28 10:56:50 +) >

Re: [OE-core] [oe-commits] Jonathan Liu : fontcache.bbclass: prepend to PACKAGEFUNCS instead of appending

2015-03-30 Thread Martin Jansa
On Mon, Mar 30, 2015 at 09:41:30AM -0700, Khem Raj wrote: > > > On Mar 30, 2015, at 3:09 AM, Burton, Ross wrote: > > > > > > On 29 March 2015 at 00:28, Martin Jansa > > wrote: > > WEBOS_FONTCONFIG_CACHE = "${datadir}/fontconfig/cache" > > > > I'm sure there's a

Re: [OE-core] [PATCH] systemd: v219 with stable fixes

2015-03-30 Thread Bottazzini, Bruno
Otavio, Here it is the patch without garbage that I have told you before. Could you review it ? Best Regards, Bruno Bottazzini On Seg, 2015-03-30 at 15:13 -0300, Bruno Bottazzini wrote: > Adding patches that fix bugs for 219 version. > This will get the same consistency of the stable systemd 2

[OE-core] [PATCH] systemd: v219 with stable fixes

2015-03-30 Thread Bruno Bottazzini
Adding patches that fix bugs for 219 version. This will get the same consistency of the stable systemd 219 version. More details: http://cgit.freedesktop.org/systemd/systemd-stable/log/?h=v219-stable --- ...remote-fix-certificate-status-memory-leak.patch | 31 + ...ournal-remote-fix-client_cert-

Re: [OE-core] [PATCH] terminal: Disable shopt errexit

2015-03-30 Thread Richard Tollerton
"Burton, Ross" writes: > On 18 December 2014 at 01:02, Richard Tollerton > wrote: > >> `sh -e` causes any errors encountered during shell execution to abort >> the shell. For terminal sessions like devshell, this causes errors >> encountered while executing do_terminal to instantaneously kill th

Re: [OE-core] [PATCH] dpkg-native: Avoid 'file changed' errors from tar

2015-03-30 Thread Andreas Oberritter
On 30.03.2015 18:21, Otavio Salvador wrote: > On Mon, Mar 30, 2015 at 1:02 PM, Richard Purdie > wrote: >> On Mon, 2015-03-30 at 12:02 -0300, Otavio Salvador wrote: >>> +When running do_package_write_deb, we have trees of symlinked files Richard, did you intend to write "hardlinked" here? >>> +su

Re: [OE-core] [PATCH 4/4] systemd: v219 with stable fixes

2015-03-30 Thread Bottazzini, Bruno
On Seg, 2015-03-30 at 10:40 -0300, Otavio Salvador wrote: > On Mon, Mar 30, 2015 at 10:05 AM, Bottazzini, Bruno > wrote: > > Hello, > > > > What about this patch ? > > What is this change in util-linux? Why this is necessary? It is not. This is some garbage that it shouldn't have been in the p

Re: [OE-core] [PATCH] fontcache: allow to pass different fontconfig cache dir

2015-03-30 Thread Martin Jansa
On Mon, Mar 30, 2015 at 11:47:39AM +0100, Burton, Ross wrote: > On 29 March 2015 at 02:27, Martin Jansa wrote: > > > +FONTCONFIG_CACHE_DIR ?= "${localstatedir}/cache/fontconfig" > > > > So how is fontconfig told to read fonts from this location? I think it's the same --with-cache-dir parameter

Re: [OE-core] [PATCH] dpkg-native: Avoid 'file changed' errors from tar

2015-03-30 Thread Mark Hatle
On 3/30/15 11:37 AM, Mark Hatle wrote: > On 3/30/15 11:21 AM, Otavio Salvador wrote: >> On Mon, Mar 30, 2015 at 1:02 PM, Richard Purdie >> wrote: >>> On Mon, 2015-03-30 at 12:02 -0300, Otavio Salvador wrote: +When running do_package_write_deb, we have trees of symlinked files +such as th

Re: [OE-core] [oe-commits] Jonathan Liu : fontcache.bbclass: prepend to PACKAGEFUNCS instead of appending

2015-03-30 Thread Khem Raj
> On Mar 30, 2015, at 9:43 AM, Burton, Ross wrote: > > > On 30 March 2015 at 17:41, Khem Raj > wrote: > aren’t they variable data files ? where else should it go otherwise > > They're directory-wide caches, and caches tend to go into /var/cache. > yes /var/cache

Re: [OE-core] [oe-commits] Jonathan Liu : fontcache.bbclass: prepend to PACKAGEFUNCS instead of appending

2015-03-30 Thread Burton, Ross
On 30 March 2015 at 17:41, Khem Raj wrote: > aren’t they variable data files ? where else should it go otherwise > They're directory-wide caches, and caches tend to go into /var/cache. Ross -- ___ Openembedded-core mailing list Openembedded-core@list

Re: [OE-core] [oe-commits] Jonathan Liu : fontcache.bbclass: prepend to PACKAGEFUNCS instead of appending

2015-03-30 Thread Khem Raj
> On Mar 30, 2015, at 3:09 AM, Burton, Ross wrote: > > > On 29 March 2015 at 00:28, Martin Jansa > wrote: > WEBOS_FONTCONFIG_CACHE = "${datadir}/fontconfig/cache" > > I'm sure there's a good reason why fontconfig caches are going in datadir but > I'm not sure I

[OE-core] [PATCH 00/17] meta-core Dizzy next

2015-03-30 Thread Armin Kuster
please consider these changes for Dizzy next The following changes since commit ec75238f6cc2d2d8d40e0268f6d2acc070cbe9a4: Revert "file: Update CVE patch to ensure file gets built correctly" (2015-03-28 10:56:50 +) are available in the git repository at: git://git.yoctoproject.org/poky-

Re: [OE-core] [PATCH] dpkg-native: Avoid 'file changed' errors from tar

2015-03-30 Thread Mark Hatle
On 3/30/15 11:21 AM, Otavio Salvador wrote: > On Mon, Mar 30, 2015 at 1:02 PM, Richard Purdie > wrote: >> On Mon, 2015-03-30 at 12:02 -0300, Otavio Salvador wrote: >>> +When running do_package_write_deb, we have trees of symlinked files >>> +such as the dbg source files in ${PN}-dbg. If something

Re: [OE-core] [PATCH] dpkg-native: Avoid 'file changed' errors from tar

2015-03-30 Thread Otavio Salvador
On Mon, Mar 30, 2015 at 1:02 PM, Richard Purdie wrote: > On Mon, 2015-03-30 at 12:02 -0300, Otavio Salvador wrote: >> +When running do_package_write_deb, we have trees of symlinked files >> +such as the dbg source files in ${PN}-dbg. If something makes another >> +copy of one of those files (or de

Re: [OE-core] [PATCH] dpkg-native: Avoid 'file changed' errors from tar

2015-03-30 Thread Richard Purdie
On Mon, 2015-03-30 at 12:02 -0300, Otavio Salvador wrote: > +When running do_package_write_deb, we have trees of symlinked files > +such as the dbg source files in ${PN}-dbg. If something makes another > +copy of one of those files (or deletes one), the number of links a file > +has changes and tar

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] terminal: Disable shopt errexit

2015-03-30 Thread Burton, Ross
On 18 December 2014 at 01:02, Richard Tollerton wrote: > `sh -e` causes any errors encountered during shell execution to abort > the shell. For terminal sessions like devshell, this causes errors > encountered while executing do_terminal to instantaneously kill the > session. This is explicitly n

Re: [OE-core] [PATCH] dpkg-native: Avoid 'file changed' errors from tar

2015-03-30 Thread Otavio Salvador
On Mon, Mar 30, 2015 at 11:58 AM, Richard Purdie wrote: > On Mon, 2015-03-30 at 10:52 -0300, Otavio Salvador wrote: >> On Sat, Mar 28, 2015 at 5:50 AM, Richard Purdie >> wrote: >> > See the patch header for details. Hardlink count duing do_package_write_deb >> > can change causing dpkg-deb failur

Re: [OE-core] [PATCH] dpkg-native: Avoid 'file changed' errors from tar

2015-03-30 Thread Richard Purdie
On Mon, 2015-03-30 at 10:52 -0300, Otavio Salvador wrote: > On Sat, Mar 28, 2015 at 5:50 AM, Richard Purdie > wrote: > > See the patch header for details. Hardlink count duing do_package_write_deb > > can change causing dpkg-deb failures. We don't care about this error > > case so avoid it by chec

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

[OE-core] OE Changelog since 2015-03-22 until 2015-03-29

2015-03-30 Thread cliff . brake
Changelog since 2015-03-22 until 2015-03-29. Projects included in this report: bitbake: git://git.openembedded.org/bitbake openembedded-core: git://git.openembedded.org/openembedded-core meta-openembedded: git://git.openembedded.org/meta-openembedded meta-angstrom: git://github.com/Angstrom-distr

Re: [OE-core] [PATCH] dpkg-native: Avoid 'file changed' errors from tar

2015-03-30 Thread Otavio Salvador
On Sat, Mar 28, 2015 at 5:50 AM, Richard Purdie wrote: > See the patch header for details. Hardlink count duing do_package_write_deb > can change causing dpkg-deb failures. We don't care about this error > case so avoid it by checking the tar exit code. > > [YOCTO #7529] > > Signed-off-by: Richard

Re: [OE-core] [PATCH 4/4] systemd: v219 with stable fixes

2015-03-30 Thread Otavio Salvador
On Mon, Mar 30, 2015 at 10:05 AM, Bottazzini, Bruno wrote: > Hello, > > What about this patch ? What is this change in util-linux? Why this is necessary? -- Otavio Salvador O.S. Systems http://www.ossystems.com.brhttp://code.ossystems.com.br Mobile: +55 (53)

[OE-core] Verification on how TARGET_CFLAGS is set

2015-03-30 Thread Bryan Evenson
I am about to upgrade to the dizzy branch. I have a built a bootable image on my test build machine, and now I'm going to be applying changes to the system I use for building production images. I'm planning on deleting my tmp directory to force a re-build of everything. Since I'm rebuilding e

Re: [OE-core] [PATCH 4/4] systemd: v219 with stable fixes

2015-03-30 Thread Bottazzini, Bruno
Hello, What about this patch ? Did you guys check this out ? Best Regards, On Qua, 2015-03-25 at 18:49 -0300, Bruno Bottazzini wrote: > Adding patches that fix bugs for 219 version. > This will get the same consistency of the stable systemd 219 version. > > More details: > http://cgit.freedesk

Re: [OE-core] [PATCH] fontcache: allow to pass different fontconfig cache dir

2015-03-30 Thread Burton, Ross
On 29 March 2015 at 02:27, Martin Jansa wrote: > +FONTCONFIG_CACHE_DIR ?= "${localstatedir}/cache/fontconfig" > So how is fontconfig told to read fonts from this location? Ross -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedde

Re: [OE-core] [PATCH 1/1] patch: fix CVE-2015-1196

2015-03-30 Thread Richard Purdie
On Wed, 2015-03-25 at 23:42 -0700, Robert Yang wrote: > A directory traversal flaw was reported in patch: > > References: > http://www.openwall.com/lists/oss-security/2015/01/18/6 > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775227 > https://bugzilla.redhat.com/show_bug.cgi?id=1182154 > >

Re: [OE-core] [oe-commits] Jonathan Liu : fontcache.bbclass: prepend to PACKAGEFUNCS instead of appending

2015-03-30 Thread Burton, Ross
On 29 March 2015 at 00:28, Martin Jansa wrote: > WEBOS_FONTCONFIG_CACHE = "${datadir}/fontconfig/cache" > I'm sure there's a good reason why fontconfig caches are going in datadir but I'm not sure I want to know it :) Ross -- ___ Openembedded-core ma

Re: [OE-core] [PATCH] package_manager: Run createrepo sequentially

2015-03-30 Thread Richard Purdie
On Mon, 2015-03-30 at 12:17 +0300, Ed Bartosh wrote: > On Mon, Mar 30, 2015 at 10:11:13AM +0100, Richard Purdie wrote: > > On Mon, 2015-03-30 at 12:00 +0300, Ed Bartosh wrote: > > > Running multiple createrepo in parallel can cause raice conditions > > > when creating/accessing rpm database. Create

Re: [OE-core] [PATCH] package_manager: Run createrepo sequentially

2015-03-30 Thread Ed Bartosh
On Mon, Mar 30, 2015 at 10:11:13AM +0100, Richard Purdie wrote: > On Mon, 2015-03-30 at 12:00 +0300, Ed Bartosh wrote: > > Running multiple createrepo in parallel can cause raice conditions > > when creating/accessing rpm database. Createrepo fails with the > > error "package_manager: rpmdb: BDB006

Re: [OE-core] [PATCH] package_manager: Run createrepo sequentially

2015-03-30 Thread Richard Purdie
On Mon, 2015-03-30 at 12:00 +0300, Ed Bartosh wrote: > Running multiple createrepo in parallel can cause raice conditions > when creating/accessing rpm database. Createrepo fails with the > error "package_manager: rpmdb: BDB0060 PANIC: fatal region error detected" > in such cases. > > Running crea

[OE-core] [PATCH] package_manager: Run createrepo sequentially

2015-03-30 Thread Ed Bartosh
Running multiple createrepo in parallel can cause raice conditions when creating/accessing rpm database. Createrepo fails with the error "package_manager: rpmdb: BDB0060 PANIC: fatal region error detected" in such cases. Running createrepo sequentially should fix the race as rpm database will not

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

[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.