diff options
Diffstat (limited to 'yocto-poky/meta/recipes-sato/shutdown-desktop')
-rw-r--r-- | yocto-poky/meta/recipes-sato/shutdown-desktop/shutdown-desktop.bb | 25 | ||||
-rw-r--r-- | yocto-poky/meta/recipes-sato/shutdown-desktop/shutdown-desktop/shutdown.desktop | 10 |
2 files changed, 0 insertions, 35 deletions
diff --git a/yocto-poky/meta/recipes-sato/shutdown-desktop/shutdown-desktop.bb b/yocto-poky/meta/recipes-sato/shutdown-desktop/shutdown-desktop.bb deleted file mode 100644 index ebdd6d123..000000000 --- a/yocto-poky/meta/recipes-sato/shutdown-desktop/shutdown-desktop.bb +++ /dev/null @@ -1,25 +0,0 @@ -SUMMARY = "Provides an icon to shut down the system cleanly" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \ - file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" - -SRC_URI = "file://shutdown.desktop" - -PR = "r1" - -S = "${WORKDIR}" - -do_install() { - install -d ${D}${datadir}/applications - install -m 0644 shutdown.desktop ${D}${datadir}/applications/ - - sed -i ${D}${datadir}/applications/shutdown.desktop -e 's#^Exec=\(.*\)#Exec=${base_sbindir}/\1#' -} - -pkg_postinst_${PN} () { - grep -q qemuarm $D${sysconfdir}/hostname && \ - sed -i $D${datadir}/applications/shutdown.desktop -e 's#^Exec=\(.*\)/halt#Exec=\1/reboot#' \ - || true -} - -inherit allarch diff --git a/yocto-poky/meta/recipes-sato/shutdown-desktop/shutdown-desktop/shutdown.desktop b/yocto-poky/meta/recipes-sato/shutdown-desktop/shutdown-desktop/shutdown.desktop deleted file mode 100644 index 662659afc..000000000 --- a/yocto-poky/meta/recipes-sato/shutdown-desktop/shutdown-desktop/shutdown.desktop +++ /dev/null @@ -1,10 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Type=Application -Name=Shutdown -Comment=Close down the machine safely -Exec=poweroff -Icon=system-shutdown -Terminal=false -Categories=Utility; -StartupNotify=true |