summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Maw <jonathan.maw@codethink.co.uk>2015-05-05 15:24:44 +0000
committerJames Thomas <james.thomas@codethink.co.uk>2015-06-16 15:18:39 +0000
commitd9bea4309d9284b9b3b201215382fcf691c19cde (patch)
treef8b5cab56b807e0d7b57d24f693ad95aa5b1bab1
parentd6bfab6dfdb5d208a2ef33318ad86d3ab922ae2e (diff)
downloaddefinitions-d9bea4309d9284b9b3b201215382fcf691c19cde.tar.gz
gdp-hmi: Fix images failing to install to destination
The destination must be the same for all three dirs, even if that means files overwrite each other. Since `cp` refuses to do that as part of the same command, I run it once for each subdir.
-rw-r--r--strata/genivi-demo-platform/genivi-demo-platform-hmi.morph4
1 files changed, 3 insertions, 1 deletions
diff --git a/strata/genivi-demo-platform/genivi-demo-platform-hmi.morph b/strata/genivi-demo-platform/genivi-demo-platform-hmi.morph
index b30e72de..d2cee815 100644
--- a/strata/genivi-demo-platform/genivi-demo-platform-hmi.morph
+++ b/strata/genivi-demo-platform/genivi-demo-platform-hmi.morph
@@ -46,7 +46,9 @@ install-commands:
- cd app/gdp-hmi-panel && make INSTALL_ROOT=$DESTDIR install
- cd app/qml-example && make INSTALL_ROOT=$DESTDIR install
- mkdir -p $DESTDIR/usr/share/gdp
-- cp -a app/*/assets/* $DESTDIR/usr/share/gdp/
+- cp -a app/gdp-hmi-background/assets/* $DESTDIR/usr/share/gdp/
+- cp -a app/gdp-hmi-launcher2/content/images/* $DESTDIR/usr/share/gdp/
+- cp -a app/gdp-hmi-panel/assets/* $DESTDIR/usr/share/gdp/
- mkdir -p "$DESTDIR/usr/lib/systemd/user"
- |
cat >"$DESTDIR/usr/lib/systemd/user/gdp-hmi-launcher2.service" <<EOF