diff options
author | Ratan Gupta <ratagupt@in.ibm.com> | 2016-10-07 14:55:00 +0300 |
---|---|---|
committer | Ratan Gupta <ratagupt@in.ibm.com> | 2016-10-07 14:57:22 +0300 |
commit | e0501bc156b42be98fdbdcc12adc0c102674b933 (patch) | |
tree | 694ac1681d1bccb85152bb5cba0eaa82f0b56184 /meta-phosphor/classes/obmc-phosphor-discovery-service.bbclass | |
parent | 7b645d11a95a4c170fe48e025b9324edcf045ad9 (diff) | |
download | openbmc-e0501bc156b42be98fdbdcc12adc0c102674b933.tar.xz |
Removing the double quotes while creating the avahi service file.
Change-Id: I028e36db81d1109f773c819efb9da35c0a32c49c
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
Diffstat (limited to 'meta-phosphor/classes/obmc-phosphor-discovery-service.bbclass')
-rw-r--r-- | meta-phosphor/classes/obmc-phosphor-discovery-service.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-phosphor/classes/obmc-phosphor-discovery-service.bbclass b/meta-phosphor/classes/obmc-phosphor-discovery-service.bbclass index 4c9db0f70e..8dc6fdc04d 100644 --- a/meta-phosphor/classes/obmc-phosphor-discovery-service.bbclass +++ b/meta-phosphor/classes/obmc-phosphor-discovery-service.bbclass @@ -49,10 +49,10 @@ python discovery_services_postinstall() { fd.write('<?xml version="1.0" ?>\n') fd.write('<!DOCTYPE service-group SYSTEM "avahi-service.dtd">\n') fd.write('<service-group>\n') - fd.write(' <name>"%s"</name>\n' % service_name) + fd.write(' <name>%s</name>\n' % service_name) fd.write(' <service>\n') - fd.write(' <type>"%s"</type>\n' % service_type) - fd.write(' <port>"%s"</port>\n' % service_port) + fd.write(' <type>%s</type>\n' % service_type) + fd.write(' <port>%s</port>\n' % service_port) fd.write(' </service>\n') fd.write('</service-group>\n') |