Wind River Support Network

HomeDefectsLIN1019-4827
Fixed

LIN1019-4827 : Wrong permissions on module.tgz file.

Created: Jun 9, 2020    Updated: Jul 2, 2020
Resolved Date: Jun 11, 2020
Found In Version: 10.19.45.1
Fix Version: 10.19.45.9
Severity: Severe
Applicable for: Wind River Linux LTS 19
Component/s: Build & Config

Description

When building WRL 8 with RCPL 30, with *lttng* as a feature.
 The directory *lib* inside the modules.tgz compressed file is bundled as user and not root.

Steps to Reproduce

--enable-board=qemuppc --enable-kernel=standard --enable-rootfs=glibc_std --enable-parallel-pkgbuilds=40 --enable-jobs=40 --with-package=gdb --enable-reconfig=yes --with-template=feature/lttng --with-rcpl-version=0030

add IMAGE_FSTYPES = "tar.gz" to local.conf


build

 tar --numeric-owner -tzvf qemuppc-linux-modules-WR8.0.0.30_standard.tgz

 tar --numeric-owner -tzvf qemuppc-wrlinux-image-glibc-std-standard-dist.tar.gz


For some reason, inside *qemuppc-linux-modules-WR8.0.0.30_standard.tgz* the lib directory is bundled as the user that created the build and in *qemuppc-wrlinux-image-glibc-std-standard-dist.tar.gz* lib is bundled as root root.
Live chat
Online