summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVishwanatha Subbanna <vishwa@linux.vnet.ibm.com>2017-02-02 14:51:42 +0530
committerVishwanatha Subbanna <vishwa@linux.vnet.ibm.com>2017-02-16 18:01:47 +0530
commita1c7f6adfbdeaab24478ae44f0874d6314ba9ea5 (patch)
tree5114bde2bd7957ecada20c00d76e3eb8cac84e65
parent513f58eed1c6493a5eba4f0a408087079373d0f1 (diff)
downloadphosphor-led-manager-a1c7f6adfbdeaab24478ae44f0874d6314ba9ea5.zip
phosphor-led-manager-a1c7f6adfbdeaab24478ae44f0874d6314ba9ea5.tar.gz
Adhere to freedesktop naming convention for service and object path
Fixes openbmc/openbmc#1039 Change-Id: I995168828a187671072f761668c873c2b1936874 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
-rw-r--r--configure.ac8
-rwxr-xr-xparse_led.py2
2 files changed, 5 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index 9fd3720..0286aa6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -49,13 +49,13 @@ AC_CHECK_HEADER(sdbusplus/server.hpp, ,[AC_MSG_ERROR([Could not find sdbusplus/s
# Dbus service name
AC_ARG_VAR(BUSNAME, [The Dbus busname to own])
-AS_IF([test "x$BUSNAME" == "x"], [BUSNAME="xyz.openbmc_project.ledmanager"])
+AS_IF([test "x$BUSNAME" == "x"], [BUSNAME="xyz.openbmc_project.LED.GroupManager"])
AC_DEFINE_UNQUOTED([BUSNAME], ["$BUSNAME"], [The Dbus busname to own])
# Service dbus root
-AC_ARG_VAR(OBJPATH, [The Ledmanager Dbus root])
-AS_IF([test "x$OBJPATH" == "x"], [OBJPATH="/xyz/openbmc_project/ledmanager/groups"])
-AC_DEFINE_UNQUOTED([OBJPATH], ["$OBJPATH"], [The Ledmanager Dbus root])
+AC_ARG_VAR(OBJPATH, [The LED group Dbus root])
+AS_IF([test "x$OBJPATH" == "x"], [OBJPATH="/xyz/openbmc_project/led/groups"])
+AC_DEFINE_UNQUOTED([OBJPATH], ["$OBJPATH"], [The LED group Dbus root])
# Handling configuration files
AC_ARG_VAR(YAML_PATH, [The path to the yaml config files.])
diff --git a/parse_led.py b/parse_led.py
index 552ad67..af81d62 100755
--- a/parse_led.py
+++ b/parse_led.py
@@ -49,7 +49,7 @@ if __name__ == '__main__':
ledset = ifile[group]
ofile.write(
' {\"' +
- "/xyz/openbmc_project/ledmanager/groups/" +
+ "/xyz/openbmc_project/led/groups/" +
group +
'\",{\n')
OpenPOWER on IntegriCloud