Fixed
Created: Sep 10, 2018
Updated: Dec 3, 2018
Resolved Date: Oct 15, 2018
Previous ID: LIN9-7430
Found In Version: 10.17.41.10
Fix Version: 10.17.41.12
Severity: Standard
Applicable for: Wind River Linux LTS 17
Component/s: Build & Config
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.
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)} \
# "
-----------
$ 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)
---------