[OE-core] [PATCH][RFC] bitbake.conf: use empty SRC_URI by default

Andreas Oberritter obi at opendreambox.org
Thu Mar 8 02:51:10 UTC 2012


* Otherwise, recipes that only append to SRC_URI instead of
  overwriting it will get the full path of the recipe written
  into the Source: field of the package.

Signed-off-by: Andreas Oberritter <obi at opendreambox.org>
---
* I haven't tested this yet, I don't know whether there
  are any caveeats. What's the purpose of having ${FILE}
  in there, anyway?

 meta/conf/bitbake.conf |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index c8d9a31..216da75 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -577,7 +577,7 @@ SRCREV ??= "INVALID"
 AUTOREV = "${@bb.fetch2.get_autorev(d)}"
 SRCPV = "${@bb.fetch2.get_srcrev(d)}"
 
-SRC_URI = "file://${FILE}"
+SRC_URI = ""
 
 # Use pseudo as the fakeroot implementation
 PSEUDO_LOCALSTATEDIR ?= "${WORKDIR}/pseudo/"
-- 
1.7.5.4





More information about the Openembedded-core mailing list