]> code.ossystems Code Review - openembedded-core.git/commitdiff
classes: drop image dependencies on TOPDIR variable
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 25 Sep 2017 11:23:35 +0000 (00:23 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 Sep 2017 13:15:10 +0000 (14:15 +0100)
We don't need a dependency on this variable changing, and having one
causes locked signature warnings during eSDK installation if you have
INITRAMFS_IMAGE_* set (since TOPDIR will always be different between
the eSDK and the environment in which it was built).

Relates to [YOCTO #12102].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image_types_wic.bbclass
meta/classes/qemuboot.bbclass
meta/classes/rootfs-postcommands.bbclass

index b825b47ce548dbc1e80b041d2b57899ff36746a2..e60dca7237ac2733d83f81182c3c3a01d510dcf9 100644 (file)
@@ -33,7 +33,7 @@ IMAGE_CMD_wic () {
        mv "$out/$(basename "${wks%.wks}")"*.direct "$out${IMAGE_NAME_SUFFIX}.wic"
        rm -rf "$out/"
 }
-IMAGE_CMD_wic[vardepsexclude] = "WKS_FULL_PATH WKS_FILES"
+IMAGE_CMD_wic[vardepsexclude] = "WKS_FULL_PATH WKS_FILES TOPDIR"
 
 # Rebuild when the wks file or vars in WICVARS change
 USING_WIC = "${@bb.utils.contains_any('IMAGE_FSTYPES', 'wic ' + ' '.join('wic.%s' % c for c in '${CONVERSIONTYPES}'.split()), '1', '', d)}"
index bd2f01db23d9e87921cb46738b58f33d0e1915c6..7243cc525765335c14475ea79bcb28a5bdf8a669 100644 (file)
@@ -79,6 +79,7 @@ def qemuboot_vars(d):
     return build_vars + [k for k in d.keys() if k.startswith('QB_')]
 
 do_write_qemuboot_conf[vardeps] += "${@' '.join(qemuboot_vars(d))}"
+do_write_qemuboot_conf[vardepsexclude] += "TOPDIR"
 python do_write_qemuboot_conf() {
     import configparser
 
index f6d31a00f7294a5ec7eb5cbd390b4c0ca0a167ed..3755f94090efc491c5ff7aac1f2d22896497670e 100644 (file)
@@ -307,6 +307,7 @@ python write_image_test_data() {
            os.remove(testdata_link)
         os.symlink(os.path.basename(testdata), testdata_link)
 }
+write_image_test_data[vardepsexclude] += "TOPDIR"
 
 # Check for unsatisfied recommendations (RRECOMMENDS)
 python rootfs_log_check_recommends() {