diff options
Diffstat (limited to 'meta/recipes-bsp/qemu-config/qemu-config.bb')
| -rw-r--r-- | meta/recipes-bsp/qemu-config/qemu-config.bb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-bsp/qemu-config/qemu-config.bb b/meta/recipes-bsp/qemu-config/qemu-config.bb index 70a113e8dc..ebf957a06a 100644 --- a/meta/recipes-bsp/qemu-config/qemu-config.bb +++ b/meta/recipes-bsp/qemu-config/qemu-config.bb | |||
| @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYING.GPL;md5=751419260aa954499f7abaabaa | |||
| 5 | 5 | ||
| 6 | COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemumips|qemuppc)" | 6 | COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemumips|qemuppc)" |
| 7 | 7 | ||
| 8 | PR = "r21" | 8 | PR = "r22" |
| 9 | 9 | ||
| 10 | SRC_URI = "file://distcc.sh \ | 10 | SRC_URI = "file://distcc.sh \ |
| 11 | file://anjuta-remote-run \ | 11 | file://anjuta-remote-run \ |
| @@ -32,6 +32,11 @@ do_install() { | |||
| 32 | install qemu-autostart ${D}/etc/init.d/ | 32 | install qemu-autostart ${D}/etc/init.d/ |
| 33 | } | 33 | } |
| 34 | 34 | ||
| 35 | pkg_postinst_${PN} () { | ||
| 36 | grep -q qemuarm $D${sysconfdir}/hostname && \ | ||
| 37 | sed -i $D${datadir}/applications/shutdown.desktop -e 's/^Exec=halt/Exec=reboot/' | ||
| 38 | } | ||
| 39 | |||
| 35 | RDEPENDS_${PN} = "distcc dbus-x11 task-core-nfs-server oprofileui-server rsync bash" | 40 | RDEPENDS_${PN} = "distcc dbus-x11 task-core-nfs-server oprofileui-server rsync bash" |
| 36 | 41 | ||
| 37 | inherit update-rc.d allarch | 42 | inherit update-rc.d allarch |
