Skip to contentSkip to conversation

Fix issue re-running sqlite configure step

PATCH New Anders Darander 1 participant 2 messages Apr 11, 2012

lore
Share & tools
lore
#0 lore raw

v2 cover Fix issue re-running sqlite configure step

A recent update of meta-oe and oe-core force a rebuild of e.g. sqlite in my tree. This made sqlite error out in the configure step, as it couldn't find sqlite.pc, which had already been moved in a prior run of do_configure.

V2: I'm resending this, the only differences is that I this time remembered
to add meta-oe to the subject and that this one is rebased...

Otavio ack'ed the original submission.

The following changes since commit 8a9e1dc63d9aadb3da17edfd31da9ccf833bfeb1:

midori: add librsvg-native to DEPENDS (2012-04-10 09:35:45 +0200)

are available in the git repository at:
git://github.com/darander/meta-oe sqlite-configure
https://github.com/darander/meta-oe/tree/sqlite-configure

Anders Darander (1):
sqlite: cp instead of mv in do_configure

 meta-oe/recipes-support/sqlite/sqlite_2.8.17.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Signature · 1 line
1.7.5.4
#1 lore raw

PATCH v2 1/1 sqlite: cp instead of mv in do_configure

The use of mv in do_configure() made bitbake error out if a second run of do_configure was requested. Copy the file instead.

---
 meta-oe/recipes-support/sqlite/sqlite_2.8.17.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta-oe/recipes-support/sqlite/sqlite_2.8.17.bb +1 -1
index b8e03c4..733bb9e 100644
@@ -22,7 +22,7 @@ inherit autotools pkgconfig
 do_configure() {
     echo "main.mk is patched, no need to configure"
     # make pkgconfig.bbclass pick this up
-    mv ${WORKDIR}/sqlite.pc ${S}
+    cp ${WORKDIR}/sqlite.pc ${S}
 }
 
 do_compile() {
Signature · 1 line
1.7.5.4