Wind River Support Network

HomeDefectsLIN5-1740
Fixed

LIN5-1740 : package remove via fs-expand and default-image.bb not working in LX-5.0.1.5

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

Description

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 "default-image.bb" 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 "default-image.bb" files are attached as evidence.

Workaround

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\" >> default-image.bb
$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" >> default-image.bb
  $ 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
Online