summaryrefslogtreecommitdiffstats
path: root/fuel/build/patch-packages/novnc/fix-missing.sh
diff options
context:
space:
mode:
authorMichal Skalski <mskalski@mirantis.com>2015-05-18 14:57:00 +0000
committerMichal Skalski <mskalski@mirantis.com>2015-05-18 16:04:42 +0000
commitcae1a185c6d66f34b1f16f9f0e20f55e8d330346 (patch)
tree2b98d45fe8487e8a774bfaf2903cd7a609bdc88b /fuel/build/patch-packages/novnc/fix-missing.sh
parent2debee7a4f97a6a9d90aa55877264b3c62e3e2df (diff)
Patch novnc ubuntu package
Patch novnc ubuntu package by adding missing files. Related bug: https://bugs.launchpad.net/fuel/+bug/1433894 Change-Id: Iba413c664bb93dea26245c9ed4471fff30e43968 Jira: - Signed-off-by: Michal Skalski <mskalski@mirantis.com>
Diffstat (limited to 'fuel/build/patch-packages/novnc/fix-missing.sh')
-rwxr-xr-xfuel/build/patch-packages/novnc/fix-missing.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/fuel/build/patch-packages/novnc/fix-missing.sh b/fuel/build/patch-packages/novnc/fix-missing.sh
new file mode 100755
index 0000000..61ef1db
--- /dev/null
+++ b/fuel/build/patch-packages/novnc/fix-missing.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+MISSING_FILES="keyboard.js keysymdef.js keysym.js"
+NOVNC_SOURCE="http://raw.githubusercontent.com/kanaka/noVNC/v0.5.1/include"
+
+for file in $MISSING_FILES
+do
+ wget -P package/usr/share/novnc/include/ "$NOVNC_SOURCE/$file"
+done