Bug 11621

Summary: Can't reference the user exported variable in the poky/build/conf/local.conf
Product: [Build System, Metadata & Runtime] BitBake Reporter: Liu Song <liusong>
Component: bitbakeAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED OBSOLETE QA Contact:
Severity: major    
Priority: Undecided CC: liusong, poky.bs.watcher, poky.watcher
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: arm64   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Liu Song 2017-06-07 10:41:09 UTC
I am trying to define a BOOTDEV variable, which is referenced another variable "BOOT_PARTITION", the code just shows as bellow:

file: poky/build/conf/local.conf

# Boot device Selection
BOOTDEV = "${BOOT_PARTITION}"

and, I will export BOOT_PARTITION=/dev/sda2, then run bitbake.
But it seems that BOOTDEV still be empty.
Comment 1 Liu Song 2017-06-08 05:31:37 UTC
Fixed by a hack way, close it now if no more comments.