summaryrefslogtreecommitdiff
path: root/meta-google/recipes-core/os-release/os-release.bbappend
blob: 635f7c5ae41b0e5aa3c2b11014c397a32b8eefc8 (plain)
1
2
3
4
5
6
7
8
9
10
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)
}

IMAGE_TYPE = "${GBMC_CONFIG}"
OS_RELEASE_FIELDS:append:gbmc = " BUILD_MEMO IMAGE_TYPE"