summaryrefslogtreecommitdiffstats
path: root/meta/classes/package_ipk.bbclass
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2014-02-06 13:33:45 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-11 11:56:56 +0000
commitf9623968f078758eb8fb8ebad0b4595b15f8cb42 (patch)
tree7b4deaa82164064c584172053a1229c721beeb8d /meta/classes/package_ipk.bbclass
parent2882b132cc50af9fae13f0cbdbf6b690f8479287 (diff)
downloadpoky-f9623968f078758eb8fb8ebad0b4595b15f8cb42.tar.gz
conf/bitbake.conf: default HOMEPAGE to blank instead of unknown
The default value for HOMEPAGE of "unknown" has been in place since the early OE-Classic days, but it doesn't really make sense - "unknown" is not a valid URL and it just means we have to explicitly check for this hardcoded string if we're displaying the value in some form of UI, such as Toaster. This has required some changes to the packaging classes as they previously did not expect the value to be blank. (From OE-Core rev: 244e1d73ef58e92d73c098044c66bd784644b933) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package_ipk.bbclass')
-rw-r--r--meta/classes/package_ipk.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass
index 68c8580761..516ec4b3d2 100644
--- a/meta/classes/package_ipk.bbclass
+++ b/meta/classes/package_ipk.bbclass
@@ -95,7 +95,8 @@ python do_package_ipk () {
95 fields.append(["License: %s\n", ['LICENSE']]) 95 fields.append(["License: %s\n", ['LICENSE']])
96 fields.append(["Architecture: %s\n", ['PACKAGE_ARCH']]) 96 fields.append(["Architecture: %s\n", ['PACKAGE_ARCH']])
97 fields.append(["OE: %s\n", ['PN']]) 97 fields.append(["OE: %s\n", ['PN']])
98 fields.append(["Homepage: %s\n", ['HOMEPAGE']]) 98 if d.getVar('HOMEPAGE', True):
99 fields.append(["Homepage: %s\n", ['HOMEPAGE']])
99 100
100 def pullData(l, d): 101 def pullData(l, d):
101 l2 = [] 102 l2 = []