diff options
-rw-r--r-- | meta-google/recipes-core/os-release/os-release.bbappend | 11 |
1 files changed, 11 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..33d434afb --- /dev/null +++ b/meta-google/recipes-core/os-release/os-release.bbappend @@ -0,0 +1,11 @@ + +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"
\ No newline at end of file |