Problems creating image for h2200
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
Quoted 17 lines · Pierre Cassimans
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_tableis 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.
Quoted 7 lines
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 :-)