[yocto] yocto handles conflict files?

João Henrique Freitas joaohf at gmail.com
Thu Jan 6 16:08:09 PST 2011


Hi,

I am trying to use my owns BSP layer. Every thing is ok.

I have a task-via-boot.bb and a task-via-basic.bb. This two task are
used in via-swp-image.bb. I am following some examples and based on
yocto.

In file task-via-boot.bb I added 'base-files'; and In
task-via-basic.bb, 'procps'.

The following log show a problem:

+ rm -f /home/joaohf/tmp/yocto-poky/build/tmp/work/mpg-tp-linux/via-image-swp-1.0-r3/rootfs/var/lib/opkg/lists/oe
/home/joaohf/tmp/yocto-poky/build/tmp/work/mpg-tp-linux/via-image-swp-1.0-r3/rootfs/var/lib/opkg/lists/oe-all
/home/joaohf/tmp/yocto-poky/build/tmp/work/mpg-tp-linux/via-image-swp-1.0-r3/rootfs/var/lib/opkg/lists/oe-mpg
/home/joaohf/tmp/yocto-poky/build/tmp/work/mpg-tp-linux/via-image-swp-1.0-r3/rootfs/var/lib/opkg/lists/oe-mpg-x86
+ log_check rootfs
+ set +x
log_check: Using
/home/joaohf/tmp/yocto-poky/build/tmp/work/mpg-tp-linux/via-image-swp-1.0-r3/temp/log.do_rootfs.27068
as logfile
log_check: There were error messages in the logfile
log_check: Matched keyword: [Collected errors]

Configuring task-via-initscripts.
Configuring task-via-machine-base.
Configuring task-via-base-serial.
Configuring task-via-basic.
Configuring opkg-collateral.
Collected errors:
 * resolve_conffiles: Existing conffile
/home/joaohf/tmp/yocto-poky/build/tmp/work/mpg-tp-linux/via-image-swp-1.0-r3/rootfs/etc/sysctl.conf
is different from the conffile in the new package. The new conffile
will be placed at
/home/joaohf/tmp/yocto-poky/build/tmp/work/mpg-tp-linux/via-image-swp-1.0-r3/rootfs/etc/sysctl.conf-opkg.
+ '[' '!' -z '' ']'
+ export D=/home/joaohf/tmp/yocto-poky/build/tmp/work/mpg-tp-linux/via-image-swp-1.0-r3/rootfs
+ D=/home/joaohf/tmp/yocto-poky/build/tmp/work/mpg-tp-linux/via-image-swp-1.0-r3/rootfs
+ export OFFLINE_ROOT=/home/joaohf/tmp/yocto-poky/build/tmp/work/mpg-tp-linux/via-image-swp-1.0-r3/rootfs


To solve it I removed procps from task-via-basic.bb. Works and I can
get the final image.

Is the file etc/sysctl.conf conflict with base-files or procps? How
yocto handles it?

Thanks

-- 
-----------------------------------------------------------
João Henrique Freitas - joaohf_at_gmail.com
Campinas-SP-Brasil
BSD051283
LPI 1
http://www.joaohfreitas.eti.br



More information about the yocto mailing list