Commit 64c1486f authored by Florent Revest's avatar Florent Revest

dsme: allows ceres to reboot or shutdown the watch

parent 6b9ccc49
...@@ -18,6 +18,7 @@ B = "${WORKDIR}/git" ...@@ -18,6 +18,7 @@ B = "${WORKDIR}/git"
EXTRA_OECONF= " --disable-poweron-timer --disable-upstart --enable-systemd --enable-runlevel --enable-pwrkeymonitor --disable-static --includedir=${STAGING_INCDIR} --oldincludedir=${STAGING_INCDIR}" EXTRA_OECONF= " --disable-poweron-timer --disable-upstart --enable-systemd --enable-runlevel --enable-pwrkeymonitor --disable-static --includedir=${STAGING_INCDIR} --oldincludedir=${STAGING_INCDIR}"
do_configure_prepend() { do_configure_prepend() {
sed -i "s@<policy user=\"root\">@<policy user=\"ceres\">@" dsme/dsme.conf
sed -i "s@-L/lib -lsystemd-daemon@-lsystemd@" dsme/Makefile.am sed -i "s@-L/lib -lsystemd-daemon@-lsystemd@" dsme/Makefile.am
sed -i "s@LDFLAGS \= \-pthread@LDFLAGS \= \-L${STAGING_DIR_TARGET}/usr/lib \-pthread@" modules/Makefile.am sed -i "s@LDFLAGS \= \-pthread@LDFLAGS \= \-L${STAGING_DIR_TARGET}/usr/lib \-pthread@" modules/Makefile.am
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment