Wind River Support Network

HomeDefectsLIN8-3436
Fixed

LIN8-3436 : RPM package and export/dist (tarball) don't contain the bundled kernel image if feature/initramfs-integrated used

Created: May 3, 2016    Updated: Dec 3, 2018
Resolved Date: May 19, 2016
Found In Version: 8.0.0.4
Fix Version: 8.0.0.6
Severity: Severe
Applicable for: Wind River Linux 8
Component/s: Kernel

Description

After a build, check file size of bzImage (without initramfs) and bzImage.initramfs:

$ ls -l export/images/bzImage-intel-x86-64.bin
lrwxrwxrwx 1 xxxxxxx users 50  5?  4 10:31 export/images/bzImage-intel-x86-64.bin -> bzImage--4.1-r0.87-intel-x86-64-20160504021605.bin
$ ls -l export/images/bzImage--4.1-r0.87-intel-x86-64-20160504021605.bin
-rw-r--r-- 2 xxxxxxx users 7273384  5?  4 10:31 export/images/bzImage--4.1-r0.87-intel-x86-64-20160504021605.bin
$ ls -l export/images/bzImage-initramfs-intel-x86-64.bin
lrwxrwxrwx 1 xxxxxxx users 56  5?  4 10:31 export/images/bzImage-initramfs-intel-x86-64.bin -> bzImage-initramfs-4.1-r0-intel-x86-64-20160504021605.bin
$ ls -l export/images/bzImage-initramfs-4.1-r0-intel-x86-64-20160504021605.bin
-rw-r--r-- 2 xxxxxxx users 27806280  5?  4 10:31 export/images/bzImage-initramfs-4.1-r0-intel-x86-64-20160504021605.bin
$ rpm -qpl --dump export/RPMS/intel_x86_64/kernel-image-bzimage-4.1.21-wr8.0.0.0-standard-4.1-r0.86.intel_x86_64.rpm  2>/dev/null
/boot 4096 1462328769 0000000000000000000000000000000000000000000000000000000000000000 040755 root root 0 0 0 X
/boot/bzImage-4.1.21-WR8.0.0.0_standard 7273384 1462328779 fc94a936d4d78c24c9940325a3a824437fed7527ae2b4dcce60818c185fe2abd 0100644 root root 0 0 0 X

As observed above, the RPM for kernel bzImage contains the bzImage without initramfs. This is unexpected result.

$ ls -l export/dist/boot/
total 186544
lrwxrwxrwx 1 xxxxxxx users        39  5?  4 10:31 bzImage -> /boot/bzImage-4.1.21-WR8.0.0.0_standard
-rw-r--r-- 1 xxxxxxx users   7273384  5?  4 10:26 bzImage-4.1.21-WR8.0.0.0_standard
drwxr-xr-x 3 xxxxxxx users      4096  5?  4 10:17 efi
-rw-r--r-- 1 xxxxxxx users 183543264  5?  4 10:26 vmlinux-4.1.21-WR8.0.0.0_standard

the bundled kernel image is also unavailable in export/dist.

Other Downloads


Live chat
Online