summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Maw <jonathan.maw@codethink.co.uk>2015-06-26 15:07:35 (GMT)
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-10-13 16:45:03 (GMT)
commit52cd75dce0bc8ccbf0f589a28d2ffea85d39d3bb (patch)
tree4a94e75efd78bd412312ac679d3e79c5afdc50c4
parent2a0a1d21af3f26b0e9033c01d8fa78ca44980fda (diff)
downloaddefinitions-52cd75dce0bc8ccbf0f589a28d2ffea85d39d3bb.tar.gz
Fix weston.ini not appearing on the target when updating
the /root directory is a "state" directory which is not modified by updates. Instead, install weston.ini into /etc
-rw-r--r--strata/weston-genivi/weston-gdp.morph4
1 files changed, 2 insertions, 2 deletions
diff --git a/strata/weston-genivi/weston-gdp.morph b/strata/weston-genivi/weston-gdp.morph
index 71f3c84..9cb4f16 100644
--- a/strata/weston-genivi/weston-gdp.morph
+++ b/strata/weston-genivi/weston-gdp.morph
@@ -24,8 +24,8 @@ post-install-commands:
- install -d "$DESTDIR/usr/share/weston"
- install -m 0644 data/*.png "$DESTDIR/usr/share/weston/"
- sed -i 's/hmi-controller.so/ivi-controller.so/' ivi-shell/weston.ini
-- install -d "$DESTDIR/root/.config"
-- install -m 0644 ivi-shell/weston.ini "$DESTDIR/root/.config/weston.ini"
+- install -d "$DESTDIR/etc/xdg/weston"
+- install -m 0644 ivi-shell/weston.ini "$DESTDIR/etc/xdg/weston/weston.ini"
- mkdir -p "$DESTDIR/lib/systemd/system/multi-user.target.wants/"
- |
cat > "$DESTDIR/lib/systemd/system/weston.service" <<EOF