diff options
Diffstat (limited to 'poky/meta/recipes-sato/shutdown-desktop')
-rw-r--r-- | poky/meta/recipes-sato/shutdown-desktop/shutdown-desktop.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poky/meta/recipes-sato/shutdown-desktop/shutdown-desktop.bb b/poky/meta/recipes-sato/shutdown-desktop/shutdown-desktop.bb index 28d509602..4bb896fc7 100644 --- a/poky/meta/recipes-sato/shutdown-desktop/shutdown-desktop.bb +++ b/poky/meta/recipes-sato/shutdown-desktop/shutdown-desktop.bb @@ -15,7 +15,7 @@ do_install() { sed -i ${D}${datadir}/applications/shutdown.desktop -e 's#^Exec=\(.*\)#Exec=${base_sbindir}/\1#' } -pkg_postinst_${PN} () { +pkg_postinst:${PN} () { grep -q qemuarm $D${sysconfdir}/hostname && \ sed -i $D${datadir}/applications/shutdown.desktop -e 's#^Exec=\(.*\)/halt#Exec=\1/reboot#' \ || true |