I have made the following changes intended for : CE:MW:Shared / dsme Please review and accept or decline. BOSS has already run some checks on this request. See the "Messages from BOSS" section below.
https://build.pub.meego.com//request/show/6047 Thank You, Marko Saukko [This message was auto-generated] --- Request # 6047: Messages from BOSS: WARNING check_yaml_matches_spec (dsme) failed: Spec file changed by specify: + Name: dsme - Name: dsme + if [ "$1" -eq 0 ]; then + systemctl stop %{name}.service + fi State: review at 2012-08-23T12:45:03 by bossbot Reviews: accepted by bossbot : Prechecks succeeded. new for CE-maintainers : Please replace this text with a review and approve/reject the review (not the SR). BOSS will take care of the rest Changes: submit: Project:MTF:MW / dsme -> CE:MW:Shared / dsme changes files: -------------- --- dsme.changes +++ dsme.changes @@ -0,0 +1,3 @@ +* Wed Aug 23 2012 Simonas Leleiva <[email protected]> - 0.62.1.1 +- Fixes NEMO#334: device does not poweroff + new: ---- 0009-NEMO_334-Make-device-poweroff.patch spec files: ----------- --- dsme.spec +++ dsme.spec @@ -26,6 +26,7 @@ Patch5: 0006-Add-missing-include.patch Patch6: 0007-Fix-compilation-of-tests.patch Patch7: 0008-HACK-disable-credential-check-for-clients.patch +Patch8: 0009-NEMO_334-Make-device-poweroff.patch Requires: systemd Requires(preun): systemd Requires(post): systemd @@ -64,6 +65,8 @@ %patch6 -p1 # 0008-HACK-disable-credential-check-for-clients.patch %patch7 -p1 +# 0009-NEMO_334-Make-device-poweroff.patch +%patch8 -p1 # >> setup # << setup other changes: -------------- ++++++ 0009-NEMO_334-Make-device-poweroff.patch (new) --- 0009-NEMO_334-Make-device-poweroff.patch +++ 0009-NEMO_334-Make-device-poweroff.patch @@ -0,0 +1,13 @@ +diff --git a/modules/runlevel.c b/modules/runlevel.c +index 12500ec..74ff72a 100644 +--- a/modules/runlevel.c ++++ b/modules/runlevel.c +@@ -51,7 +51,7 @@ static bool change_runlevel(dsme_runlevel_t runlevel) + { + char command[32]; + +- snprintf(command, sizeof(command), "telinit -t 0 %i", runlevel); ++ snprintf(command, sizeof(command), "telinit %i", runlevel); + dsme_log(LOG_NOTICE, "Issuing telinit %i", runlevel); + + if (system(command) != 0) { ++++++ dsme.yaml --- dsme.yaml +++ dsme.yaml @@ -31,6 +31,7 @@ - 0006-Add-missing-include.patch - 0007-Fix-compilation-of-tests.patch - 0008-HACK-disable-credential-check-for-clients.patch + - 0009-NEMO_334-Make-device-poweroff.patch PkgConfigBR: - glib-2.0
