summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-08 23:48:55 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-08 23:49:36 -0800
commit2f4d784699fa82bf4a0abec226e85868cb4d9cde (patch)
treecd6763fe0e7c540f9846a8212bc2711e52553c89 /meta
parent6bd23e0faf329f086bb4885991ce5f5d095dac56 (diff)
downloadpoky-2f4d784699fa82bf4a0abec226e85868cb4d9cde.tar.gz
package_ipk.bbclass: Ensure Source is set to something else packaging can fail
(From OE-Core rev: a91d7a0c27d0ec763cb794be5282f7d34a3135fe) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/package_ipk.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass
index ff8b5b488a..565ef93315 100644
--- a/meta/classes/package_ipk.bbclass
+++ b/meta/classes/package_ipk.bbclass
@@ -388,7 +388,7 @@ python do_package_ipk () {
388 ctrlfile.write("Replaces: %s\n" % bb.utils.join_deps(rreplaces)) 388 ctrlfile.write("Replaces: %s\n" % bb.utils.join_deps(rreplaces))
389 if rconflicts: 389 if rconflicts:
390 ctrlfile.write("Conflicts: %s\n" % bb.utils.join_deps(rconflicts)) 390 ctrlfile.write("Conflicts: %s\n" % bb.utils.join_deps(rconflicts))
391 src_uri = localdata.getVar("SRC_URI", True) 391 src_uri = localdata.getVar("SRC_URI", True) or "None"
392 if src_uri: 392 if src_uri:
393 src_uri = re.sub("\s+", " ", src_uri) 393 src_uri = re.sub("\s+", " ", src_uri)
394 ctrlfile.write("Source: %s\n" % " ".join(src_uri.split())) 394 ctrlfile.write("Source: %s\n" % " ".join(src_uri.split()))