Wind River Support Network

HomeDefectsLIN9-7429
Fixed

LIN9-7429 : build error when configure project to build with sysvinit

Created: Sep 7, 2018    Updated: Dec 3, 2018
Resolved Date: Sep 19, 2018
Found In Version: 9.0.0.15
Fix Version: 9.0.0.18
Severity: Standard
Applicable for: Wind River Linux 9
Component/s: Userspace

Description

When configure wrlinux9 project to enable sysvinit, as described in the platform developer guide, I see build error about the ''cgroup-lite'.

comment the line in conf/local.conf:
-------------
# use systemd as the default init manager
# comment the following lines to use 'sysvinit' as the init manager
#VIRTUAL-RUNTIME_init_manager = "systemd"
#DISTRO_FEATURES_append = " systemd"
#DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
#KERNEL_FEATURES_append = " cfg/systemd.scc"
--------------

Build the project will get the following error:
---------
ERROR: Nothing RPROVIDES 'cgroup-lite' (but /b/Workspace/DCB_udev/wrlsdk/build-project/layers/meta-virtualization/recipes-containers/docker/docker_git.bb RDEPENDS on or otherwise requires it)
---------


Please look into this issue and provide fix ASAP.

Workaround

comment the lines in layers/meta-virtualization/recipes-containers/docker/docker_git.bb, the build completed:
-----------

#RDEPENDS_${PN} = "curl aufs-util git util-linux iptables \

#                  ${@bb.utils.contains('DISTRO_FEATURES','systemd','','cgroup-lite',d)} \

#                 "

-----------

Steps to Reproduce

$ wrlinux-9/setup.sh --dl-layers --distros wrlinux-ovp --machines intel-x86-64 --templates feature/initramfs,feature/kdump,feature/kexec,feature/kernel-ovp-kvm,feature/sysklogd,feature/dpdk,feature/package-management --layers wr-kernel wr-ovp

comment the line in conf/local.conf:
-------------
# use systemd as the default init manager
# comment the following lines to use 'sysvinit' as the init manager
#VIRTUAL-RUNTIME_init_manager = "systemd"
#DISTRO_FEATURES_append = " systemd"
#DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
#KERNEL_FEATURES_append = " cfg/systemd.scc"
--------------

Build the project will get the following error:
---------
ERROR: Nothing RPROVIDES 'cgroup-lite' (but /b/Workspace/DCB_udev/wrlsdk/build-project/layers/meta-virtualization/recipes-containers/docker/docker_git.bb RDEPENDS on or otherwise requires it)
---------

Other Downloads


Live chat
Online