[oe] Problems creating image for h2200
Pierre Cassimans
cazzeml at gmail.com
Tue Nov 23 08:49:03 UTC 2010
On 11/22/2010 03:43 PM, Pierre Cassimans wrote:
> I try to bitbake an image for ipaq h2200 but everytime it fails with
> following error:
>
> Collected errors:
> * check_data_file_clashes: Package udev wants to install
> file /home/pc/oe/build/tmp-angstrom_2008_1/rootfs/console-image/etc/udev/rules.d/50-hostap_cs.rules
> But that file is already provided by package *
> udev-hostap-cs-vcc-workaround
> * opkg_install_cmd: Cannot install package task-base.
> * resolve_conffiles: Existing
> conffile /home/pc/oe/build/tmp-angstrom_2008_1/rootfs/console-image/etc/device_table is different from the conffile in the new package. The new conffile will be placed at /home/pc/oe/build/tmp-angstrom_2008_1/rootfs/console-image/etc/device_table-opkg.
> * check_data_file_clashes: Package udev wants to install
> file /home/pc/oe/build/tmp-angstrom_2008_1/rootfs/console-image/etc/udev/rules.d/50-hostap_cs.rules
> But that file is already provided by package *
> udev-hostap-cs-vcc-workaround
> * opkg_install_cmd: Cannot install package udev.
>
> Only change with the master tree is the patch i previously posted about
> the udev-compat141 hack for h2200
>
> Any Idea?
>
> Cazze
>
Ok, if found the problem but need some advice to patch it.
It was a double declaration of a file inclusion for the h2200 udev rule
50-hostap
It is done in the machine conf by including a recipe that adds the file:
MACHINE_EXTRA_RDEPENDS = " udev-hostap-cs-vcc-workaround "
and
it is done in the different udev packages:
do_install_append_h2200() {
install -m 0644 ${WORKDIR}/50-hostap_cs.rules
${D}${sysconfdir}/udev/rules.d/50-hostap_cs.rules
}
Now what is the preferred way so I can patch out the other :-)
More information about the Openembedded-devel
mailing list