summaryrefslogtreecommitdiffstats
path: root/package/orbit/orbit-01-fix-installation.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/orbit/orbit-01-fix-installation.patch')
-rw-r--r--package/orbit/orbit-01-fix-installation.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/package/orbit/orbit-01-fix-installation.patch b/package/orbit/orbit-01-fix-installation.patch
new file mode 100644
index 0000000000..ae50ad9fe5
--- /dev/null
+++ b/package/orbit/orbit-01-fix-installation.patch
@@ -0,0 +1,26 @@
+Fix installation commands
+
+The installation commands did not match the location of the source
+files within the Orbit source tree.
+
+Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+
+Index: b/Makefile
+===================================================================
+--- a/Makefile
++++ b/Makefile
+@@ -11,12 +11,9 @@
+ mkdir -p $(LUA_DIR)
+ cp src/orbit.lua $(LUA_DIR)
+ mkdir -p $(LUA_DIR)/orbit
+- cp src/model.lua $(LUA_DIR)/orbit
+- cp src/cache.lua $(LUA_DIR)/orbit
+- cp src/pages.lua $(LUA_DIR)/orbit
+- cp src/ophandler.lua $(LUA_DIR)/orbit
++ cp src/orbit/*.lua $(LUA_DIR)/orbit
+ mkdir -p $(BIN_DIR)
+- cp src/orbit $(BIN_DIR)
++ cp src/launchers/* $(BIN_DIR)
+ if [ -f ./wsapi/Makefile ]; then \
+ cd wsapi && make install; \
+ fi
OpenPOWER on IntegriCloud