Not to be fixed
Created: Feb 27, 2013
Updated: Apr 28, 2018
Resolved Date: Apr 17, 2018
Previous ID: LIN5-2166
Found In Version: 6.0
Severity: Low
Applicable for: Wind River Linux 6
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.
Logs
======================
Attached.
Misc Info
======================
N/A
step 1; Build iso image
prj1:
configure \
--enable-board=qemux86-64 \
--enable-kernel=standard \
--enable-rootfs=glibc-std \
--with-sstate-dir=/qemux86-64-sstates/ \
--enable-parallel-pkgbuilds=5 \
--enable-jobs=5
make fs
prj2:
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.