diff options
Diffstat (limited to 'meta-google/recipes-core')
-rw-r--r-- | meta-google/recipes-core/os-release/os-release.bbappend | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-google/recipes-core/os-release/os-release.bbappend b/meta-google/recipes-core/os-release/os-release.bbappend new file mode 100644 index 000000000..ec6d64fcf --- /dev/null +++ b/meta-google/recipes-core/os-release/os-release.bbappend @@ -0,0 +1,10 @@ +python() { + # Instead of using BB_ENV_EXTRAWHITE, we can get info from the + # shell environment this way. + origenv = d.getVar("BB_ORIGENV", False) + memo = origenv.getVar("BUILD_MEMO", False) + if memo: + d.setVar("BUILD_MEMO", memo) +} + +OS_RELEASE_FIELDS_append = " BUILD_MEMO" |