diff options
author | Jonathan Maw <jonathan.maw@codethink.co.uk> | 2015-06-26 15:07:35 +0000 |
---|---|---|
committer | Jonathan Maw <jonathan.maw@codethink.co.uk> | 2015-10-14 09:06:07 +0000 |
commit | 2049845505705309077af601621f08487cf299d3 (patch) | |
tree | 2071edaadc4db2fb036ff922f6b9af52fd0dccfe /strata | |
parent | 42b396b444abcd1f0bb6ff85a9da6dde7fcb0fe0 (diff) | |
download | definitions-2049845505705309077af601621f08487cf299d3.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
Diffstat (limited to 'strata')
-rw-r--r-- | strata/weston-genivi/weston-gdp.morph | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/strata/weston-genivi/weston-gdp.morph b/strata/weston-genivi/weston-gdp.morph index 71f3c84d..9cb4f16b 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 |