From c099ac09b21145be1b6f60fbf6999dea60016521 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Mon, 31 Mar 2014 13:39:17 +0200 Subject: [PATCH] emacs: remove infodir * doesn't use autotools.bbclass which removes infodir automatically * fixes QA warning: emacs-23.4: The /usr/share/info/dir file is not meant to be shipped in a particular package. (From meta-openembedded rev: 10b899a23e121561ad569a520a7213e3d1d187b7) Signed-off-by: Martin Jansa Signed-off-by: Patrick Ohly --- meta-openembedded/meta-oe/recipes-support/emacs/emacs.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-openembedded/meta-oe/recipes-support/emacs/emacs.inc b/meta-openembedded/meta-oe/recipes-support/emacs/emacs.inc index d7d281f..a1a4965 100644 --- a/meta-openembedded/meta-oe/recipes-support/emacs/emacs.inc +++ b/meta-openembedded/meta-oe/recipes-support/emacs/emacs.inc @@ -140,6 +140,10 @@ do_install_append() { # freaks package.bbclass and whole bitbake call returns error code # ERROR: runstrip: ''arm-oe-linux-gnueabi-strip' '/var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/emacs-23.4-r0/package/usr/share/emacs/23.4/etc/tutorials/TUTORIAL.ko'' strip command failed mv ${D}${datadir}/${BPN}/${PV}/etc/tutorials/TUTORIAL.ko ${D}${datadir}/${BPN}/${PV}/etc/tutorials/TUTORIAL.KO + # Info dir listing isn't interesting at this point so remove it if it exists. + if [ -e "${D}${infodir}/dir" ]; then + rm -f ${D}${infodir}/dir + fi } EXTRA_OEMAKE += 'QEMU="${QEMU}"' -- 2.7.4