Wind River Support Network

HomeDefectsLINCD-8574
Fixed

LINCD-8574 : File /etc/resolv.conf is missing on nodistro image

Created: Mar 17, 2022    Updated: Apr 23, 2022
Resolved Date: Mar 29, 2022
Found In Version: 10.22.13.0
Fix Version: 10.22.17.0
Severity: Standard
Applicable for: Wind River Linux CD
Component/s: Userspace

Description

$ setup.sh  --machine intel-x86-64 --dl-layers --distro nodistro
Add the following line to conf/local.conf
LICENSE_FLAGS_ACCEPTED += " commercial_windriver"
$ bitbake core-image-base

On target:
root@intel-x86-64:/opt/wr-test# ls /etc/resolv*
/etc/resolv-conf.NetworkManager /etc/resolv-conf.systemd

There is no /etc/resolv.conf.

 

Workaround

wrlinux 

Steps to Reproduce

1) setup.sh
 
 /lpg-build/cdc/fast_prod/WRLINUX_MASTER_WR/MASTER_WR_GIT/wrlinux-10/setup.sh  --machine intel-x86-64 --dl-layers --distro nodistro --templates feature/LAMP feature/aws feature/azure feature/gcc-sanitizers feature/gperftools feature/grpc feature/ipv6 feature/krb5 feature/lttng feature/mariadb feature/network-bond-libteam feature/nfsd feature/ntp feature/opencv feature/package-management feature/pam-faillock feature/podman feature/python-tkinter feature/sftp-server feature/snmp feature/software-entropy feature/stig feature/sysklogd feature/system-stats feature/target-toolchain feature/tcpslice feature/xfce --layers meta-filesystems meta-iot-cloud meta-security-compliance meta-virtualization --dl-layers
 
2). ./environment-setup-x86_64-wrlinuxsdk-linux
 
3) . ./oe-init-build-env
 
4) vim conf/local.conf IMAGE_INSTALL:append = " wget"

LICENSE_FLAGS_ACCEPTED += " commercial_windriver"
 
5) bitbake core-image-base
 
6)boot the target and run commands per problem description
Live chat
Online