]> code.ossystems Code Review - openembedded-core.git/commit
qemu-config: use pkg_postinst to generate the proper shutdown.desktop
authorDexuan Cui <dexuan.cui@intel.com>
Thu, 22 Sep 2011 08:38:35 +0000 (16:38 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 22 Sep 2011 20:47:36 +0000 (21:47 +0100)
commit3cd1a7d8ef381ed81c458f3e5e6f2e3774342b57
treea0227d00522c3d582741c2fea7df261c756caac2
parent94bff3e5885cf30464a45609586b141ee2afca1e
qemu-config: use pkg_postinst to generate the proper shutdown.desktop

[YOCTO #1507]

We need to remove the file qemuarm/shutdown.desktop, or else, on qemuarm,
due to the PACKAGE_ARCH overriding from all to qemuarm in base.bbclass,
the generated deb file will be stored at
tmp/deploy/deb/qemuarm/qemu-config_1.0-r21_allarch.deb rather than
tmp/deploy/deb/all/qemu-config_1.0-r21_all.deb, and the package qemu-config
won't be installable -- task-base finally rdepends on qemu-config, so we get
the do_rootfs failure:

The following packages have unmet dependencies:
|   task-base-extended: Depends: task-base but it is not going to be installed
| E: Broken packages

There is also a generic shutdown.desktop, we can keep it and use a proper
pkg_postinst to cope with the case of qemuarm.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-bsp/qemu-config/qemu-config.bb
meta/recipes-bsp/qemu-config/qemu-config/qemuarm/shutdown.desktop [deleted file]