Not to be fixed
Created: Oct 30, 2019
Updated: Apr 29, 2021
Resolved Date: Apr 29, 2021
Found In Version: 10.19.45.1
Severity: Standard
Applicable for: Wind River Linux LTS 19
Component/s: Userspace
1) setup.sh
--machine xilinx-zynqmp --dl-layers --distro wrlinux --templates feature/LAMP feature/gdb feature/ids-basic feature/ipv6 feature/krb5 feature/lttng feature/mariadb feature/nfsd feature/ntp feature/software-entropy feature/syslog-ng feature/system-stats feature/target-toolchain feature/tcpslice feature/test --layers meta-filesystems meta-security-compliance meta-virtualization --dl-layers
2) . ./oe-init-build-env
3) vim conf/local.conf
IMAGE_INSTALL_append += " lockfile-progs"
4) bitbake wrlinux-image-glibc-std
5) boot the target by NFS boot and run command per problem description
root@xilinx-zynqmp:~# lockfile-create ./temp
root@xilinx-zynqmp:~# ls
temp temp.lock
root@xilinx-zynqmp:~# lockfile-check ./temp
root@xilinx-zynqmp:~# lockfile-create --retry 3 ./temp
root@xilinx-zynqmp:~# echo $?
0
we expected error info as "lockfile creation failed: exceeded maximum number of lock attempts", but the command execute successfully.
1) setup.sh
--machine xilinx-zynqmp --dl-layers --distro wrlinux --templates feature/LAMP feature/gdb feature/ids-basic feature/ipv6 feature/krb5 feature/lttng feature/mariadb feature/nfsd feature/ntp feature/software-entropy feature/syslog-ng feature/system-stats feature/target-toolchain feature/tcpslice feature/test --layers meta-filesystems meta-security-compliance meta-virtualization --dl-layers
2) . ./oe-init-build-env
3) vim conf/local.conf
IMAGE_INSTALL_append += " lockfile-progs"
4) bitbake wrlinux-image-glibc-std
5) boot the target by NFS boot and run command per problem description