Wind River Support Network


LIN5-1740 : package remove via fs-expand and not working in LX-

Created: Jul 17, 2013    Updated: Dec 19, 2017
Resolved Date: Sep 28, 2013
Found In Version: 5.0.1
Fix Version:
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: Build & Config


The published workflow for removing packages for wrlinux-5.0.1 is not working as of RCPL0005. 

Specifically, the package list changes asserted to the end of "" do not reflect in the generated file system

I followed the "remove perl" use case, and also tried trying to remove "man" and "which" as simpler cases.

The "" files are attached as evidence.


1) apply a bundle of patches ( attached file remove-package.tgz ) 
2) test on a small filesystem
$configure --enable-board=qemux86-64 --enable-rootfs=glibc_small --enable-kernel=standard

$echo PACKAGE_EXCLUDE += \"perl\" >>
$make fs
$make start-target
$which perl
no find perl

Steps to Reproduce

  $ /wrlinux-5/wrlinux/configure --enable-board=intel-xeon-core --enable-build=production --enable-jobs=4 --enable-kernel=standard --enable-rootfs=glibc_std --with-rcpl-version=0005
  $ make fs
  $ make fs-expand OPTS="--remove-pkg perl" >>
  $ make fs
  $ ls export/dist/usr/bin/perl*
  export/dist/usr/bin/perl        export/dist/usr/bin/perlbug  export/dist/usr/bin/perlivp
  export/dist/usr/bin/perl5.14.2  export/dist/usr/bin/perldoc  export/dist/usr/bin/perlthanks 

Other Downloads

Live chat