generic-poky/meta/recipes-sato
Chen Qi 21b4548661 shutdown-desktop: use poweroff for the Exec field in the shutdown.desktop
Use 'poweroff' instead of 'halt' for the Exec field in the shutdown.desktop.

The purpose of this patch is to make the 'shutdown' icon on on our sato
images work as expected for both sysvinit and systemd images. Previously,
the Exec field was 'halt'. The `halt' command could poweroff the system
in sysvinit images but it only could halt the system in systemd images.
The difference is due to the different implementations of the `halt' command.

In sysvinit, the `halt' command will effective execute `/sbin/init 0'. This
is for the compatibility with sysvinit 2.4, as stated in the comments of the
source code. In systemd, the `halt' command will effectively execute the
reboot(RB_HALT_SYSTEM).

As the 'shutdown' icon is expected to actually shutdown the system, we should
use poweroff instead of halt for its Exec field.

[YOCTO #4347]

(From OE-Core rev: c87d44a079c13a98734f9f726ec1b55d86793f8c)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-15 12:25:21 +00:00
..
gaku Replace one-line DESCRIPTION with SUMMARY 2014-01-02 12:50:18 +00:00
gtk-engines Replace one-line DESCRIPTION with SUMMARY 2014-01-02 12:50:18 +00:00
images packagegroup-core-tools-debug: split out Eclipse packages 2013-03-23 11:48:52 +00:00
leafpad Replace one-line DESCRIPTION with SUMMARY 2014-01-02 12:50:18 +00:00
libowl Replace one-line DESCRIPTION with SUMMARY 2014-01-02 12:50:18 +00:00
matchbox-config-gtk Replace one-line DESCRIPTION with SUMMARY 2014-01-02 12:50:18 +00:00
matchbox-desktop Replace one-line DESCRIPTION with SUMMARY 2014-01-02 12:50:18 +00:00
matchbox-desktop-sato Replace one-line DESCRIPTION with SUMMARY 2014-01-02 12:50:18 +00:00
matchbox-keyboard Replace one-line DESCRIPTION with SUMMARY 2014-01-02 12:50:18 +00:00
matchbox-panel-2 Replace one-line DESCRIPTION with SUMMARY 2014-01-02 12:50:18 +00:00
matchbox-sato Replace one-line DESCRIPTION with SUMMARY 2014-01-02 12:50:18 +00:00
matchbox-terminal Replace one-line DESCRIPTION with SUMMARY 2014-01-02 12:50:18 +00:00
matchbox-theme-sato Replace one-line DESCRIPTION with SUMMARY 2014-01-02 12:50:18 +00:00
midori Replace one-line DESCRIPTION with SUMMARY 2014-01-02 12:50:18 +00:00
owl-video-widget Replace one-line DESCRIPTION with SUMMARY 2014-01-02 12:50:18 +00:00
packagegroups web-webkit: Drop, we have midori now 2013-08-30 17:27:08 +01:00
pcmanfm Replace one-line DESCRIPTION with SUMMARY 2014-01-02 12:50:18 +00:00
puzzles Basic recipe formatting fixes 2014-01-02 12:50:21 +00:00
rxvt-unicode Add missing SUMMARY values 2014-01-02 12:50:18 +00:00
sato-icon-theme Replace one-line DESCRIPTION with SUMMARY 2014-01-02 12:50:18 +00:00
sato-screenshot Replace one-line DESCRIPTION with SUMMARY 2014-01-02 12:50:18 +00:00
settings-daemon Replace one-line DESCRIPTION with SUMMARY 2014-01-02 12:50:18 +00:00
shutdown-desktop shutdown-desktop: use poweroff for the Exec field in the shutdown.desktop 2014-01-15 12:25:21 +00:00
webkit Replace one-line DESCRIPTION with SUMMARY 2014-01-02 12:50:18 +00:00