Wind River Support Network


LIN8-7806 : image contains binaries from users build environment

Created: Sep 19, 2017    Updated: Dec 6, 2018
Resolved Date: Oct 12, 2017
Found In Version:
Fix Version:
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Build & Config


There appears to be some cross-contamination in wrlinux-8 with the user work area and the images that are created. I am seeing the following path installed on any image I create:

wrsupport@xxxxx:~/Desktop/DATA_DISK/WR_PROJECTS/WRL8/pp_jci$ ls export/dist/home/wrsupport/Desktop/DATA_DISK/WR_PROJECTS/WRL8/pp_jci/bitbake_build/tmp/sysroots/x86_64-linux/var/lib/opkg/alternatives/
addgroup   dircolors      ifdown         nm           rx                 tac
addr2line  dirname        ifup           nohup        rz                 tail
adduser    dmesg          init           nproc        sb                 tar

It can also be seen on the target with the deployed images :

root@localhost:~# ls -l /home/wrsupport/Desktop/DATA_DISK/WR_PROJECTS/WRL8/pp_jc
-rw-r--r-- 1 root root 39 Sep 18 23:30 /home/wrsupport/Desktop/DATA_DISK/WR_PROJ

Where /home/wrsupport is my user account that i performed the build with. The image has all the ./var/lib utilities that are found under the corresponding sysroots folder (250+ binaries). 

Steps to Reproduce

1. Configure a wrlinux-8 project as follow :

configure --with-board=fsl-imx6 --with-template=feature/debug --enable-sdkmachine=auto,x86_64-mingw32 --enable-build=production --enable-kernel=standard --enable-rootfs=glibc-std --enable-package-manager=ipk --enable-unsupported-config=yes --enable-rm-oldimgs=yes --enable-checkout-all-layers=yes --enable-internet-download=yes --enable-reconfig --with-rcpl-version=0018

2. Make

3. verify the path on the host rootfs : 
ls project_dir/export/dist/home/wrsupport/Desktop/DATA_DISK/WR_PROJECTS/WRL8/pp_jci/bitbake_build/tmp/sysroots/x86_64-linux/var/lib/opkg/alternatives/

4. Optimally, deploy the image and verify the same path exists on the target :

root@localhost:~# ls -l /home/wrsupport/Desktop/DATA_DISK/WR_PROJECTS/WRL8/pp_jc

Other Downloads

Live chat