1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

qemu-config: Add shutdown desktop file for qemu images

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3573 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie
2008-01-22 22:01:39 +00:00
parent e06f2c7839
commit 8840cd25ee
4 changed files with 30 additions and 2 deletions
+10 -2
View File
@@ -1,11 +1,13 @@
DESCRIPTION = "Adds scripts to use distcc on the host system under qemu"
LICENSE = "GPL"
RDEPENDS = "distcc task-poky-nfs-server fakeroot"
PR = "r5"
PR = "r6"
SRC_URI = "file://distcc.sh \
file://anjuta-remote-run \
file://exports"
file://exports \
file://shutdown.desktop \
file://shutdown.png"
S = "${WORKDIR}"
@@ -20,4 +22,10 @@ do_install() {
install -d ${D}${bindir}
install -m 0755 anjuta-remote-run ${D}${bindir}/
install -d ${D}${datadir}/applications
install -m 0644 shutdown.desktop ${D}${datadir}/applications/
install -d ${D}${datadir}/pixmaps
install -m 0644 shutdown.png ${D}${datadir}/pixmaps/
}
@@ -0,0 +1,10 @@
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Shutdown
Comment=Close down the machine safely
Exec=reboot
Icon=shutdown.png
Terminal=false
Categories=Utility;
StartupNotify=true
@@ -0,0 +1,10 @@
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Shutdown
Comment=Close down the machine safely
Exec=halt
Icon=shutdown.png
Terminal=false
Categories=Utility;
StartupNotify=true
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB