diff options
author | Jonathan Maw <jonathan.maw@codethink.co.uk> | 2015-10-20 09:05:08 +0000 |
---|---|---|
committer | Jonathan Maw <jonathan.maw@codethink.co.uk> | 2015-10-20 09:05:08 +0000 |
commit | da4c2142940872659ea8f7bfcff53f79281e214c (patch) | |
tree | daf50889316181d4d7444cc7c66be692a64bdd63 /strata | |
parent | 39bc875880d3ca2d0617f84a213d536f210d28be (diff) | |
download | definitions-da4c2142940872659ea8f7bfcff53f79281e214c.tar.gz |
gdp-HMI: implement poweroff buttonbaserock/jonathanmaw/k1.0-fixes
Diffstat (limited to 'strata')
-rw-r--r-- | strata/genivi-demo-platform/genivi-demo-platform-hmi.morph | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/strata/genivi-demo-platform/genivi-demo-platform-hmi.morph b/strata/genivi-demo-platform/genivi-demo-platform-hmi.morph index 767ea3ce..4e545f6c 100644 --- a/strata/genivi-demo-platform/genivi-demo-platform-hmi.morph +++ b/strata/genivi-demo-platform/genivi-demo-platform-hmi.morph @@ -147,3 +147,11 @@ install-commands: [Service] ExecStart=/usr/bin/qml-example EOF +- | + cat > "$DESTDIR/usr/lib/systemd/user/PowerOff.service" <<EOF + [Unit] + Description=HMI poweroff + + [Service] + ExecStart=/bin/systemctl poweroff + EOF |