diff options
author | Brad Bishop <bradleyb@us.ibm.com> | 2015-09-22 00:07:52 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@us.ibm.com> | 2015-09-22 00:07:52 +0300 |
commit | 62ae0bfc4241589b2a3de79c4d4bd8a170854a1c (patch) | |
tree | c18e36cefb00f4178288ef2222e4e371fde6c0a0 | |
parent | f01fcd79f49ff922acf21a0057c6dfaaabb5d82e (diff) | |
download | openbmc-62ae0bfc4241589b2a3de79c4d4bd8a170854a1c.tar.xz |
Check for empty DBUS_SERVICES
-rw-r--r-- | meta-phosphor/classes/obmc-phosphor-dbus-service.bbclass | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/meta-phosphor/classes/obmc-phosphor-dbus-service.bbclass b/meta-phosphor/classes/obmc-phosphor-dbus-service.bbclass index 9e757bcaa..4aacca496 100644 --- a/meta-phosphor/classes/obmc-phosphor-dbus-service.bbclass +++ b/meta-phosphor/classes/obmc-phosphor-dbus-service.bbclass @@ -3,9 +3,10 @@ # Class users should define DBUS_SERVICES prior to including. python() { - services = d.getVar('DBUS_SERVICES', True).split() - uris = " ".join( [ 'file://' + s + '.conf' for s in services ] ) - d.appendVar('SRC_URI', uris) + services = d.getVar('DBUS_SERVICES', True) + if services: + uris = " ".join( [ 'file://' + s + '.conf' for s in services.split() ] ) + d.appendVar('SRC_URI', uris) } do_install_append() { |