Add network manager component in the BSP Fail

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Add network manager component in the BSP Fail

2,409 Views
hankwang
Contributor V

HI, My BSP is L5.4.47_2.2.0 version. we would like to add network manager (nmcli) in the BSP.

Below is our conf file.

# Add additional software
IMAGE_INSTALL_append = " packagegroup-qt5-webengine nginx spawn-fcgi qtvirtualkeyboard networkmanager"

But we bitbake the imx-image-full has error messages.

The root cause is packagegroup-core-tools-testapps needs connman-client component.

As I know, the connman component and network manager component cannot exists at the same time.

How can we fix this problem?

ERROR: imx-image-full-1.0-r0 do_rootfs: Unable to install packages. Command '/home/hank/WP6000/build-xwayland/tmp/work/wp6000-poky-linux/imx-image-full/1.0-r0/recipe-sysroot-native/usr/bin/apt-get install --force-yes --allow-unauthenticated --no-remove apt dpkg jailhouse networkmanager nginx opencv-apps opencv-samples packagegroup-base-extended packagegroup-core-boot packagegroup-core-full-cmdline packagegroup-core-nfs-server packagegroup-core-ssh-dropbear packagegroup-core-tools-debug packagegroup-core-tools-profile packagegroup-core-tools-testapps packagegroup-fsl-gstreamer1.0 packagegroup-fsl-gstreamer1.0-full packagegroup-fsl-tools-audio packagegroup-fsl-tools-benchmark packagegroup-fsl-tools-gpu packagegroup-fsl-tools-gpu-external packagegroup-fsl-tools-testapps packagegroup-imx-ml packagegroup-qt5-imx packagegroup-qt5-webengine packagegroup-tools-bluetooth psplash python3-opencv libqt5virtualkeyboard5 run-postinsts spawn-fcgi weston-init weston-xwayland xterm' returned 100:
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
packagegroup-core-tools-testapps : Depends: connman-client but it is not going to be installed
Depends: connman-tools but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

ERROR: Logfile of failure stored in: /home/hank/WP6000/build-xwayland/tmp/work/wp6000-poky-linux/imx-image-full/1.0-r0/temp/log.do_rootfs.21162
ERROR: Task (/home/hank/WP6000/sources/meta-imx/meta-sdk/dynamic-layers/qt5-layer/recipes-fsl/images/imx-image-full.bb:do_rootfs) failed with exit code '1'

 

0 Kudos
Reply
1 Reply

2,405 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

 

I tried successfully with add following to local.conf  :

IMAGE_INSTALL += "networkmanager networkmanager-nmtui networkmanager-bash-completion"

 

BR

Zhiming

0 Kudos
Reply