Wind River Support Network

HomeDefectsLIN1022-808
Acknowledged

LIN1022-808 : Improve consistency of NAME and PRETTY_NAME in /etc/os-release

Created: Jun 29, 2022    Updated: Aug 22, 2022
Found In Version: 10.22.33.1
Severity: Standard
Applicable for: Wind River Linux CD
Component/s: Userspace

Description

1. WRLinux CD Standard -config

1). intel-x86-64 + preempt-rt + wrlinux-cgl
cat /etc/os-release 
ID="wrlinux-cgl"
NAME="Wind River Linux CGL"
VERSION="10.20.14.0"
VERSION_ID="10.20.14.0"
PRETTY_NAME="Wind River Linux CGL 20.14"

Expected:
NAME="Wind River Linux CGL development"
PRETTY_NAME="Wind River Linux CGL development 20.14"

2). intel-x86-64 + preempt-rt + wrlinux (an awesome os-release)
cat /etc/os-release 
ID="wrlinux"
NAME="Wind River Linux development"
VERSION="10.20.14.0"
VERSION_ID="10.20.14.0"
PRETTY_NAME="Wind River Linux development 20.14"

3). intel-x86-64 + preempt-rt + wrlinux-ovp
cat /etc/os-release 
ID="wrlinux-ovp"
NAME="Wind River Linux OVP"
VERSION="10.20.14.0"
VERSION_ID="10.20.14.0"
PRETTY_NAME="Wind River Linux OVP 20.14"

Expected:
NAME="Wind River Linux OVP development"
PRETTY_NAME="Wind River Linux OVP development 20.14"

2. WRLinux CD Next -config

1). intel-x86-64_standard_glibc-cgl
cat /etc/os-release 
ID="wrlinux-cgl"
NAME="Wind River Linux CGL"
VERSION="10.20.15.0"
VERSION_ID="10.20.15.0"
PRETTY_NAME="Wind River Linux CGL 20.15"
root@intel-x86-64:~#

Expected:
NAME="Wind River Linux CGL development_linux-yocto-dev_toolchain-next_userspace-next"
PRETTY_NAME="Wind River Linux CGL development_linux-yocto-dev_toolchain-next_userspace-next 20.15"

2). intel-x86-64 + preempt-rt + wrlinux (an awesome os-release)
cat /etc/os-release 
ID="wrlinux"
NAME="Wind River Linux development_linux-yocto-dev_toolchain-next_userspace-next"
VERSION="10.20.15.0"
VERSION_ID="10.20.15.0"
PRETTY_NAME="Wind River Linux development_linux-yocto-dev_toolchain-next_userspace-next 20.15"

3. WRLinux CIRC

1). intel-x86-64 + preempt-rt + wrlinux-cgl

cat /etc/os-release 
ID="wrlinux-cgl"
NAME="Wind River Linux CGL"
VERSION="10.20.15.0"
VERSION_ID="10.20.15.0"
PRETTY_NAME="Wind River Linux CGL 20.15"

Expected:
NAME="Wind River Linux CGL development"
PRETTY_NAME="Wind River Linux CGL development 20.14"

2). intel-x86-64 + preempt-rt + wrlinux (an awesome os-release)

cat /etc/os-release 
ID="wrlinux"
NAME="Wind River Linux development"
VERSION="10.20.15.0"
VERSION_ID="10.20.15.0"
PRETTY_NAME="Wind River Linux development 20.15"

3). intel-x86-64 + preempt-rt + wrlinux-ovp
cat /etc/os-release 
ID="wrlinux-ovp"
NAME="Wind River Linux OVP"
VERSION="10.20.15.0"
VERSION_ID="10.20.15.0"
PRETTY_NAME="Wind River Linux OVP 20.15"

Expected:
NAME="Wind River Linux OVP development"
PRETTY_NAME="Wind River Linux OVP development 20.14"

4. WRLiunx LTS

1). intel-x86-64 + preempt-rt + wrlinux-ovp
cat /etc/os-release 
ID="wrlinux-ovp"
NAME="Wind River Linux OVP"
VERSION="10.19.45.6"
VERSION_ID="10.19.45.6"
PRETTY_NAME="Wind River Linux OVP 19.45 Update 6"

Expected:
NAME="Wind River Linux LTS OVP"
PRETTY_NAME="Wind River Linux LTS OVP 19.45 Update 6"

2). intel-x86-64 + preempt-rt + wrlinux-cgl
cat /etc/os-release 
ID="wrlinux-cgl"
NAME="Wind River Linux CGL"
VERSION="10.19.45.6"
VERSION_ID="10.19.45.6"
PRETTY_NAME="Wind River Linux CGL 19.45 Update 6

Expected:
NAME="Wind River Linux LTS CGL"
PRETTY_NAME="Wind River Linux LTS CGL 19.45 Update 6"

3). intel-x86-64 + preempt-rt + wrlinux (an awesome os-release)
cat /etc/os-release 
ID="wrlinux"
NAME="Wind River Linux LTS"
VERSION="10.19.45.6"
VERSION_ID="10.19.45.6"
PRETTY_NAME="Wind River Linux LTS 19.45 Update 6"

Steps to Reproduce

--machines intel-x86-64 --distro wrlinux|wrlinux-ovp|wrlinux-cgl --dl-layers --accept-eula=yes
bitbake wrlinux-image-std|cgl|ovp-kvm
Live chat
Online