Wind River Support Network


LIN5-2152 : wrlinux target installer: incorrect status is displayed when installing RPMs to disk

Created: Feb 27, 2013    Updated: Dec 19, 2017
Resolved Date: Apr 25, 2013
Found In Version: 5.0.1
Fix Version:
Severity: Low
Applicable for: Wind River Linux 5
Component/s: Build & Config


Problem Description
When boot wrlinux from ISO and install it to disk, the console output of RPM install progress is incorrect.
From the attached pictures, two issues can be seen:

#1, it displays "Installing all RPMs... (package 18 of 18)" from the beginning of rpm installation.
And it is impossible that only 18 packages will be installed.

#2, it always display "0% complete" during the rpm installation, and jump to 100% at when it is finished.
The intermit percents (0%~99%) will never be seen.

Expected Behavior
Display the rpm installation progress correctly.

Observed Behavior
See Problem Description.


Misc Info 

Steps to Reproduce

step 1; Build iso image
configure \
--enable-board=qemux86-64 \
--enable-kernel=standard \
--enable-rootfs=glibc-std \
--with-sstate-dir=/qemux86-64-sstates/ \
--enable-parallel-pkgbuilds=5 \

make fs

configure --enable-board=qemux86-64 --enable-kernel=standard --enable-rootfs=glibc-small --enable-parallel-pkgbuilds=5 --enable-jobs=5 --enable-target-installer=yes --with-installer-target-build=/path/to/prj1

make fs

It generates iso in export dir, such as: export/qemux86-64-glibc-small-standard-dist.iso

step 2; boot wrlinux from ISO and install it on disk
host-cross/usr/bin/qemu-img create -f qcow hd0.vdisk 5000M

make start-target \
    TOPTS="-cd export/qemux86-64-glibc-small-standard-dist.iso \
    -no-kernel -disk hd0.vdisk -gc"

Keep the default settings to partiton the hard disk and install wrlinux.
Check the progress of RPM installation.

Other Downloads

Live chat