From: Dexuan Cui Date: Sat, 15 Jan 2011 10:50:14 +0000 (+0800) Subject: libc-package.bbclass: should not rm scsi/*.h X-Git-Tag: 2011-1~2877 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=dca67e0bc61e7bc40c628fb1f1a41f7f756bb0bc;p=openembedded-core.git libc-package.bbclass: should not rm scsi/*.h {e}glibc should install the scsi/*.h files, which are needed by hal. Currently hal can build because eglibc-initial (which has its own do_install) installs the files. In future eglibc will have its own sysroot, so hal won't build. BTW: in OE side, eglibc's do_install also doesn't remove the files. Signed-off-by: Dexuan Cui --- diff --git a/meta/classes/libc-package.bbclass b/meta/classes/libc-package.bbclass index 4709b33c0e..733f26b85e 100644 --- a/meta/classes/libc-package.bbclass +++ b/meta/classes/libc-package.bbclass @@ -95,9 +95,6 @@ do_install() { mv ${WORKDIR}/SUPPORTED.tmp ${WORKDIR}/SUPPORTED done rm -f ${D}{sysconfdir}/rpc - rm -f ${D}${includedir}/scsi/sg.h - rm -f ${D}${includedir}/scsi/scsi_ioctl.h - rm -f ${D}${includedir}/scsi/scsi.h rm -rf ${D}${datadir}/zoneinfo rm -rf ${D}${libexecdir}/getconf }