From: Jackie Huang <[email protected]> The code relies on hardware specific memory locations to access and modify the keyboard repeat rate. It also requires read/write access to /dev/port which doesn't exist on every architecture's root fs. The defect was raised for Qemu PowerPC but it also fails on ARM. The keyboard emulation in qemuppc is for an ADB (Apple Desktop Bus) device and not compatible with an Intel driver. There's also no indication in the documentation that the code should work on anything other than Intel architecture but it also works on MIPS.
Signed-off-by: Jackie Huang <[email protected]> --- meta/recipes-core/kbd/kbd_1.15.2.bb | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/meta/recipes-core/kbd/kbd_1.15.2.bb b/meta/recipes-core/kbd/kbd_1.15.2.bb index 79ea468..25ca8be 100644 --- a/meta/recipes-core/kbd/kbd_1.15.2.bb +++ b/meta/recipes-core/kbd/kbd_1.15.2.bb @@ -28,3 +28,11 @@ inherit update-alternatives ALTERNATIVE_${PN} = "chvt deallocvt fgconsole openvt" ALTERNATIVE_PRIORITY = "100" + +do_install_append() { + # Limit the kbdrate application to x86, mips and sparc. + if [ ${TARGET_ARCH} != "i586" -a ${TARGET_ARCH} != "x86_64" -a ${TARGET_ARCH} != "mips" \ + -a ${TARGET_ARCH} != "mips64" -a ${TARGET_ARCH} != "sparc" ]; then + rm ${D}/${bindir}/kbdrate + fi +} -- 1.7.4.1 _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
