summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/rest-dbus/files/resources-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/rest-dbus/files/resources-path.patch')
-rw-r--r--meta-phosphor/common/recipes-phosphor/rest-dbus/files/resources-path.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/rest-dbus/files/resources-path.patch b/meta-phosphor/common/recipes-phosphor/rest-dbus/files/resources-path.patch
new file mode 100644
index 000000000..dee44046f
--- /dev/null
+++ b/meta-phosphor/common/recipes-phosphor/rest-dbus/files/resources-path.patch
@@ -0,0 +1,13 @@
+diff --git a/rest-dbus b/rest-dbus
+index 56ec1f9..078b1cf 100755
+--- a/rest-dbus
++++ b/rest-dbus
+@@ -40,7 +40,7 @@ class DBusRestResourceResponse(DBusRestResponse):
+ 'png': 'image/png',
+ 'gif': 'image/gif',
+ }
+- resource_base = 'resources'
++ resource_base = '/usr/share/rest-dbus/resources'
+
+ def __init__(self, name):
+ (_, ext) = os.path.splitext(name)
OpenPOWER on IntegriCloud