Fixed
Created: Aug 22, 2024
Updated: Nov 8, 2024
Resolved Date: Nov 8, 2024
Found In Version: 10.24.33.1
Severity: Standard
Applicable for: Wind River Linux LTS 24
Component/s: Userspace
$ mkdir PUBLIC_SSTATE
# 1
$ setup.sh --machines=ti-j78xx --templates=feature/lxc,feature/nfc,feature/systemdebug,feature/yaffs2-utils --dl-layers=1 --distros=wrlinux --accept-eula=yes && source environment-setup-x86_64-wrlinuxsdk-linux && source oe-init-build-env build
$ echo 'SSTATE_DIR = "path_to/PUBLIC_SSTATE"'
$ bitbake wrlinux-image-std
# 2
$ setup.sh --machines=ti-j78xx --templates=feature/lxc,feature/nfc,feature/systemdebug,feature/yaffs2-utils --dl-layers=1 --distros=wrlinux --accept-eula=yes && source environment-setup-x86_64-wrlinuxsdk-linux && source oe-init-build-env build
$ echo 'SSTATE_DIR = "path_to/PUBLIC_SSTATE"'
$ bitbake wrlinux-image-std
The following errors are shown:
Exception: OSError: [Errno 39] Directory not empty: '[project path]/build/tmp-glibc/work/x86_64-linux/ti-k3-secdev-native/git/sstate-install-create_spdx/deploy'
Exception: FileNotFoundError: [Errno 2] No such file or directory: '[project pat]/build/tmp-glibc/work/x86_64-linux/ti-k3-secdev-native/git/sstate-install-populate_sysroot/recipe-sysroot-native'
Exception: subprocess.CalledProcessError: Command 'tar --xattrs --xattrs-include='*' -cf - -S -C
# product WRLINUX_10_24_LTS_RCPL0001
# create a public sstate
$ mkdir PUBLIC_SSTATE
# 1
$ setup.sh --machines=ti-j78xx --templates=feature/lxc,feature/nfc,feature/systemdebug,feature/yaffs2-utils --dl-layers=1 --distros=wrlinux --accept-eula=yes && source environment-setup-x86_64-wrlinuxsdk-linux && source oe-init-build-env build
$ echo 'SSTATE_DIR = "path_to/PUBLIC_SSTATE"'
$ bitbake wrlinux-image-std
# 2
$ setup.sh --machines=ti-j78xx --templates=feature/lxc,feature/nfc,feature/systemdebug,feature/yaffs2-utils --dl-layers=1 --distros=wrlinux --accept-eula=yes && source environment-setup-x86_64-wrlinuxsdk-linux && source oe-init-build-env build
$ echo 'SSTATE_DIR = "path_to/PUBLIC_SSTATE"'
$ bitbake wrlinux-image-std