Wind River Support Network

HomeDefectsLIN1022-936
Fixed

LIN1022-936 : check_scripts_path: file installed by catfish contains path of build host on nodisrtro image

Created: Jul 14, 2022    Updated: Sep 20, 2022
Resolved Date: Sep 20, 2022
Found In Version: 10.22.33.1
Fix Version: 10.22.33.2
Severity: Standard
Applicable for: Wind River Linux LTS 22
Component/s: Userspace

Description

root@intel-x86-64:~# cat /proc/cmdline
kernel console=ttyS0,115200n8 root=/dev/sda1 rw nfsroot=128.224.165.20:/export/pxeboot/vlm-boards/29065/rootfs,tcp ip=dhcp selinux=0 enforcing=0 noinitrd intel_iommu=on memtest=0 kmemleak=off TARGET=Harcuvar
root@intel-x86-64:~# cat /proc/version
Linux version 5.15.52-yocto-standard (oe-user@oe-host) (x86_64-oe-linux-gcc (GCC) 11.3.0, GNU ld (GNU Binutils) 2.38.20220516) #1 SMP PREEMPT Mon Jul 11 03:01:20 UTC 2022
root@intel-x86-64:~#

root@intel-x86-64:~# cat /proc/cmdline
kernel console=ttyS0,115200n8 root=/dev/sda1 rw nfsroot=128.224.165.20:/export/pxeboot/vlm-boards/29065/rootfs,tcp ip=dhcp selinux=0 enforcing=0 noinitrd intel_iommu=on memtest=0 kmemleak=off TARGET=Harcuvar
root@intel-x86-64:~# cat /proc/version
Linux version 5.15.52-yocto-standard (oe-user@oe-host) (x86_64-oe-linux-gcc (GCC) 11.3.0, GNU ld (GNU Binutils) 2.38.20220516) #1 SMP PREEMPT Mon Jul 11 03:01:20 UTC 2022
root@intel-x86-64:~#
root@intel-x86-64:~# rpm -qf /usr/lib/python3.10/site-packages/catfish_lib/catfishconfig.py
catfish-4.16.3-r0.corei7_64
root@intel-x86-64:~#

root@intel-x86-64:~# rpm -qf /usr/lib/python3.10/site-packages/catfish_lib/catfishconfig.py
catfish-4.16.3-r0.corei7_64
root@intel-x86-64:~#

Steps to Reproduce

1) 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/nerdctl 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
. ./oe-init-build-env build_test
 
3.)echo DISTRO_FEATURES:append = \" x11\" >> conf/local.conf&& echo IMAGE_FSTYPES += \" tar.bz2\" >> conf/local.conf
&&echo BB_NO_NETWORK:pn-lmbench = \"0\" >> conf/local.conf&&echo IMAGE_FSTYPES:remove += \" wic wic.bmap live\" >> conf/local.conf
&&ech  LICENSE_FLAGS_ACCEPTED = "commercial_windriver"  >> conf/local.conf
 
 
5) bitbake core-image-base
 
5) boot the target on hard disk and run commands per problem description
Live chat
Online