| Summary: | poky-tiny core-image-tiny-initramfs WIC image is not built correctly for meta-intel | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] BSPs | Reporter: | Alejandro Hernandez <alejandro.hernandez> |
| Component: | bsps-meta-intel | Assignee: | Alejandro Hernandez <alejandro.hernandez> |
| Status: | RESOLVED NOTABUG | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | libertad.gonzalez.de.la.cruz, randy.macleod |
| Version: | unspecified | ||
| Target Milestone: | 2.4 M2 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Alejandro Hernandez
2017-06-23 16:39:19 UTC
This is where the issue happens:
# $WKS_FILE [3 operations]#
set? /home/aehernan/yocto/poky/meta-intel/conf/machine/intel-corei7-64.conf:37
# "${@bb.utils.contains_any("EFI_PROVIDER", "systemd-boot rmc-boot", "systemd-bootdisk.wks", "mkefidisk.wks", d)}"
# set /home/aehernan/yocto/poky/meta/classes/image_types_wic.bbclass:8
# [_defaultval] "${IMAGE_BASENAME}.${MACHINE}.wks"
# override[poky-tiny]:set? /home/aehernan/yocto/poky/meta-intel/common/recipes-core/images/core-image-tiny-initramfs.bbappend:14
# "${@wks_intel(d)}"
# pre-expansion value:
# "${@bb.utils.contains_any("EFI_PROVIDER", "systemd-boot rmc-boot", "systemd-bootdisk.wks", "mkefidisk.wks", d)}"
WKS_FILE="systemd-bootdisk.wks"
This is indicating that WKS_FILE was assigned the value of "systemd-bootdisk.wks"
where it should have been assigned whatever was returned from "${@wks_intel(d)}"
So, for some reason the override[poky-tiny] stopped working.
The override for poky-tiny is working correctly, it seems that you can't assign DISTRO ?= "poky-tiny", it has to be set as DISTRO = "poky-tiny". So the DISTRO was being assinged incorrectly, hence why DISTROOVERRIDES wasnt working. |