diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-08 23:48:55 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-08 23:49:12 -0800 |
commit | a91d7a0c27d0ec763cb794be5282f7d34a3135fe (patch) | |
tree | 49765cfae16b7142c35d1e8f7b4eafbce0377a77 /meta | |
parent | 9c52fe75b7f77feda075e9c5296448dea6ff7922 (diff) | |
download | openembedded-core-a91d7a0c27d0ec763cb794be5282f7d34a3135fe.tar.gz openembedded-core-a91d7a0c27d0ec763cb794be5282f7d34a3135fe.tar.bz2 openembedded-core-a91d7a0c27d0ec763cb794be5282f7d34a3135fe.tar.xz openembedded-core-a91d7a0c27d0ec763cb794be5282f7d34a3135fe.zip |
package_ipk.bbclass: Ensure Source is set to something else packaging can fail
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/package_ipk.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
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())) |