From a91d7a0c27d0ec763cb794be5282f7d34a3135fe Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 8 Mar 2012 23:48:55 -0800 Subject: package_ipk.bbclass: Ensure Source is set to something else packaging can fail Signed-off-by: Richard Purdie --- meta/classes/package_ipk.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta') diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass index ff8b5b488..565ef9331 100644 --- a/meta/classes/package_ipk.bbclass +++ b/meta/classes/package_ipk.bbclass @@ -388,7 +388,7 @@ python do_package_ipk () { ctrlfile.write("Replaces: %s\n" % bb.utils.join_deps(rreplaces)) if rconflicts: ctrlfile.write("Conflicts: %s\n" % bb.utils.join_deps(rconflicts)) - src_uri = localdata.getVar("SRC_URI", True) + src_uri = localdata.getVar("SRC_URI", True) or "None" if src_uri: src_uri = re.sub("\s+", " ", src_uri) ctrlfile.write("Source: %s\n" % " ".join(src_uri.split())) -- cgit v1.2.3