systemd conflicts with resolvconf

cancel
Showing results for 
Search instead for 
Did you mean: 

systemd conflicts with resolvconf

107 Views
Contributor III

Hi, 

I am using LSDK20.04 with yocto(3.1) userland.    

I added the following features in buidl/conf/local.conf to replace sysvinit with systemd, Also I added networkmanager, modemmanager and netplan.

DISTRO_FEATURES_append += "systemd"
VIRTUAL-RUNTIME_init_manager = "systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
VIRTUAL-RUNTIME_initscripts = ""

Then I started to run: 

bitbake fsl-image-networking-full

I got the following error output:

ERROR: fsl-image-networking-full-1.0-r0 do_rootfs: Could not invoke dnf. Command '/home/kaiw/fijowave/fijowave-base/git/LSDK20_04/yocto-sdk/yocto-sdk/build_ls1012ardb/tmp/work/ls1012ardb-fsl-linux/fsl-image-networking-full/1.0-r0/recipe-sysroot-native/usr/bin/dnf -v --rpmverbosity=info -y -c /home/kaiw/fijowave/fijowave-base/git/LSDK20_04/yocto-sdk/yocto-sdk/build_ls1012ardb/tmp/work/ls1012ardb-fsl-linux/fsl-image-networking-full/1.0-r0/rootfs/etc/dnf/dnf.conf --setopt=reposdir=/home/kaiw/fijowave/fijowave-base/git/LSDK20_04/yocto-sdk/yocto-sdk/build_ls1012ardb/tmp/work/ls1012ardb-fsl-linux/fsl-image-networking-full/1.0-r0/rootfs/etc/yum.repos.d --installroot=/home/kaiw/fijowave/fijowave-base/git/LSDK20_04/yocto-sdk/yocto-sdk/build_ls1012ardb/tmp/work/ls1012ardb-fsl-linux/fsl-image-networking-full/1.0-r0/rootfs --setopt=logdir=/home/kaiw/fijowave/fijowave-base/git/LSDK20_04/yocto-sdk/yocto-sdk/build_ls1012ardb/tmp/work/ls1012ardb-fsl-linux/fsl-image-networking-full/1.0-r0/temp --repofrompath=oe-repo,/home/kaiw/fijowave/fijowave-base/git/LSDK20_04/yocto-sdk/yocto-sdk/build_ls1012ardb/tmp/work/ls1012ardb-fsl-linux/fsl-image-networking-full/1.0-r0/oe-rootfs-repo --nogpgcheck install dpdk lsb-release modemmanager netplan networkmanager openssl-bin openssl-engines packagegroup-core-boot packagegroup-core-buildessential packagegroup-core-eclipse-debug packagegroup-core-full-cmdline packagegroup-core-nfs-server packagegroup-core-ssh-openssh packagegroup-core-tools-debug packagegroup-core-tools-profile packagegroup-fsl-benchmark-core packagegroup-fsl-benchmark-extended packagegroup-fsl-devtools packagegroup-fsl-mfgtools packagegroup-fsl-multimedia-gstreamer1.0-core packagegroup-fsl-networking-core packagegroup-fsl-networking-extended packagegroup-fsl-tools-audio packagegroup-fsl-tools-core packagegroup-fsl-tools-extended packagegroup-fsl-virtualization run-postinsts udev-extraconf udev-rules-qoriq' returned 1:
DNF version: 4.2.2
cachedir: /home/kaiw/fijowave/fijowave-base/git/LSDK20_04/yocto-sdk/yocto-sdk/build_ls1012ardb/tmp/work/ls1012ardb-fsl-linux/fsl-image-networking-full/1.0-r0/rootfs/var/cache/dnf
Added oe-repo repo from /home/kaiw/fijowave/fijowave-base/git/LSDK20_04/yocto-sdk/yocto-sdk/build_ls1012ardb/tmp/work/ls1012ardb-fsl-linux/fsl-image-networking-full/1.0-r0/oe-rootfs-repo
repo: using cache for: oe-repo
not found other for:
not found modules for:
not found deltainfo for:
not found updateinfo for:
oe-repo: using metadata from Tue 18 Aug 2020 07:27:27 PM UTC.
Last metadata expiration check: 0:00:01 ago on Tue 18 Aug 2020 07:27:27 PM UTC.
No module defaults found
--> Starting dependency resolution
--> Finished dependency resolution
Error:
Problem: package systemd-1:244.3-r0.aarch64 conflicts with resolvconf provided by resolvconf-1.82-r0.noarch
- package packagegroup-fsl-networking-extended-1.0-r0.ls1012ardb requires resolvconf, but none of the providers can be installed
- package packagegroup-core-boot-1.0-r17.ls1012ardb requires systemd, but none of the providers can be installed
- conflicting requests
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

ERROR: Logfile of failure stored in: /home/kaiw/fijowave/fijowave-base/git/LSDK20_04/yocto-sdk/yocto-sdk/build_ls1012ardb/tmp/work/ls1012ardb-fsl-linux/fsl-image-networking-full/1.0-r0/temp/log.do_rootfs.31233
ERROR: Task (/home/kaiw/fijowave/fijowave-base/git/LSDK20_04/yocto-sdk/yocto-sdk/sources/meta-qoriq/recipes-fsl/images/fsl-image-networking-full.bb:do_rootfs) failed with exit code '1'

Any suggestion?

Thak you!

Labels (2)
0 Kudos
1 Reply

58 Views
NXP TechSupport
NXP TechSupport

Please try the following configuration in local.conf .

DISTRO_FEATURES_append = " systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
VIRTUAL-RUNTIME_init_manager = "systemd"
VIRTUAL-RUNTIME_initscripts = "systemd-compat-units"