Wind River Support Network

HomeDefectsLIN8-3627
Fixed

LIN8-3627 : initramfs: don't install the single bzImage RPM to rootfs if the bundled image used

Created: May 17, 2016    Updated: Jun 10, 2020
Resolved Date: May 29, 2016
Found In Version: 8.0.0.4
Fix Version: 8.0.0.6
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Build & Config

Description

It looks weird there are 2 bzImage images in $project/export/dist/boot if feature/initramfs-integrated or feature/initramfs-install used.

In theory, the single bzImage (meaning the bzImage without the bundled initramfs) should be not installed at all if creating the bundled image is enabled. And there is a new critical problem found:

Both RPMs will change the soft link bzImage to point to the real kernel image but the final result is determined by the installation order. If the end user intends to use the bundled image but the RPM containing the single kernel image is installed lastly, you can imagine what happens in next boot. All functions depending on initramfs will be not functional any more.

Steps to Reproduce

 Configure and build a standard wrl8 project with feature/initramfs-integrated or feature/initramfs-install

Other Downloads


Live chat
Online