[poky] [PATCH 2/2] libc-package.bbclass: should not rm scsi/*.h

Cui, Dexuan dexuan.cui at intel.com
Sat Jan 15 03:50:26 PST 2011


Koen Kooi wrote:
> Op 15 jan 2011, om 12:23 heeft Dexuan Cui het volgende geschreven:
> 
>> {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.
> 
> As some background info: There's a conflict between
> linux-libc-headers-dev and libc-dev when installing on the target. In
> OE we do this instead:  
> 
> koen at dominion:/OE/org.openembedded.dev$ grep scsi
> recipes/linux-libc-headers/ -rn 
> recipes/linux-libc-headers/linux-libc-headers_2.6.32.bb:23:     rm -f
> ${D}${exec_prefix}/include/scsi/scsi.h
> recipes/linux-libc-headers/linux-libc-headers_2.6.31.bb:23:     rm -f
> ${D}${exec_prefix}/include/scsi/scsi.h
> recipes/linux-libc-headers/linux-libc-headers_2.6.34.bb:42:     rm -f
> ${D}${exec_prefix}/include/scsi/scsi.h   
My understanding is:
Linux kernel should not export these files: in OE side see 91d3d92a acked by you. :-)
So {e}glibc should supply the files -- previously poky did supply, but 7379ee77 removed the files -- I think this is incorrect.

BTW: in poky, we can see linux-libc-headers_2.6.36.bb also correctly removes the file.

thanks
-- Dexuan


More information about the poky mailing list