Acknowledged
Created: Aug 27, 2024
Updated: Sep 3, 2024
Found In Version: 10.24.33.1
Severity: Standard
Applicable for: Wind River Linux LTS 24
Component/s: Userspace
Build a qemuriscv64 with strace installed. Run strace:
root@qemuriscv64:~# strace -c -e trace=open -o tmpfile cat /dev/null
strace: invalid system call 'open'
1) build
--machine qemuriscv64 --dl-layers --distros wrlinux --templates feature/LAMP feature/grpc feature/ipv6 feature/mariadb feature/ntp feature/package-management feature/sftp-server feature/syslog-ng feature/system-stats feature/target-toolchain feature/tcpslice
2)
source environment-setup-x86_64-wrlinuxsdk-linux
source oe-init-build-env build
3) modify conf/local.conf
IMAGE_INSTALL:append=" strace"
4) bitbake wrlinux-image-std
5) boot the qemu
$ QB_NET="none" runqemu qemuriscv64 slirp nographic qemuparams=" -device virtio-net-pci,netdev=net0 -netdev user,id=net0,hostfwd=tcp::5340-:22 -m 2048 -smp cpus=4" bootparams="selinux=0 enforcing=0" ext4 snapshot
6) Run following cmd
$ strace -c -e trace=open -o tmpfile cat /dev/null
$ cat tmpfile