Wind River Support Network


LIN1021-1674 : Fails to install image with linux-yocto-rt kernel

Created: Oct 7, 2021    Updated: Dec 28, 2021
Resolved Date: Dec 2, 2021
Found In Version:
Fix Version:,
Severity: Severe
Applicable for: Wind River Linux LTS 21
Component/s: Target Installer


It fails to install bootloader for image with linux-yocto-rt kernel. The root cause is that efivars support is disabled for rt kernel by default. Enable efivars support only for installer image to make it work with rt kernel. It does not affect the target(installed) image.



Steps to Reproduce

1 setup
$ --machines=intel-x86-64 --distros=wrlinux-ovp --templates=feature/installer-support,feature/dpdk --layers meta-anaconda --dl-layers --all-layers

2 for target build
$ . oe-init-build-env build-target
$ bitbake wrlinux-image-ovp-kvm

3 for installer build
$ . oe-init-build-env build-installer
$ cat >>conf/local.conf << EOF
PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt"

DISTRO = 'wrlinux-installer'
INSTALLER_TARGET_BUILD = '/path/to/wrlinux-image-ovp-kvm'

REPLACE  '/path/to/wrlinux-image-ovp-kvm' with real path.

4 boot installer imag with UEFI mode

Build intel-x86-64 target and installer projects using attached files and a 64 core 128 GB build server minimum.

Note that the installer build produces an ISO file when commanded to produce a WIC file.

Install on a PC set to UEFI mode only.

At the end of the installation you will get the error message in the attached JPG.

All attachments are in attached ZIP file.
Live chat