[oe] [meta-oe] do_rootfs fails with networkmanager (was network-manager-applet) included

Andreas Müller schnitzeltony at gmx.de
Sun Sep 25 13:06:30 UTC 2011


On Thursday, September 22, 2011 11:37:30 PM Andreas Müller wrote:
> Hi
> 
> For my xfce-image ( lives in meta-angstrom/recipes-angstrom/images )  I want to make use of network-manager-applet which came in meta oe few days ago. 
> 
> It seems that as soon as I add network-manager-applet do_rootfs fails with something like:
> 
> 
> | Configuring openssh-sftp.
> | Configuring xf86-input-evdev.
> | Configuring cpufrequtils.
> | Configuring systemd-compat-units.
> | Configuring gvfsd-ftp.
> | Collected errors:
> |  * extract_archive: Cannot create symlink from ./var/run to 'volatile/run': File exists.
> | + '[' '!' -z '' ']'
> | + package_tryout_install_multilib_ipk
> | + multilib_tryout_dirs=
> | + '[' '!' -z /home/Superandy/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/xfce-base-image-1.0-r0/multilib_check.py ']'
> | 
> | ERROR: Function 'do_rootfs' failed (see /home/Superandy/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/xfce-base-image-1.0-r0/temp/log.do_rootfs.28313 for further information)
> NOTE: package xfce-base-image-1.0-r0: task do_rootfs: Failed
> ERROR: Task 8 (/home/Superandy/data/oe-core/sources/meta-angstrom/recipes-angstrom/images/xfce-base-image.bb, do_rootfs) failed with exit code '1'
> ERROR: '/home/Superandy/data/oe-core/sources/meta-angstrom/recipes-angstrom/images/xfce-base-image.bb' failed
> 
Looked around a bit for this issue. As soon as there is networkmanager included, do_rootfs fails with with something like

| Collected errors:
|  * extract_archive: Cannot create symlink from ./var/run to 'volatile/run': File exists.

In 'image'-folder of networkmanager I find a folder 'var/run/NetworkManager'. At do_rootfs this folder has moved to '/var/volatile/run/NetworkManager' ( see <build>/<machine>-angstrom-linux-gnueabi/<image>-1.0-r0/rootfs/var/volatile).

Seems as do_rootfs tries to setup a link 'var/run' where still a (remaining) folder is present - or the transition from var/run -> var/volatile/run is somehow incomplete.

Any ideas how - or especially where to fix ( not only for networkmanager I guess ). Maybe this is an oe-core issue but there no networkmanager is available...

Andreas




More information about the Openembedded-devel mailing list