aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/sign_rpm.bbclass
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2016-03-21 16:37:05 +0200
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2016-03-21 18:22:45 +0200
commitd238eafa48aa8f294d2c3f07b6e01a16d0e41f3b (patch)
tree51c3a47c578538c90db6551227bb21261864407f /meta/classes/sign_rpm.bbclass
parentef398438aec0692bf98e2e6e75194f18beae3169 (diff)
downloadopenembedded-core-contrib-d238eafa48aa8f294d2c3f07b6e01a16d0e41f3b.tar.gz
openembedded-core-contrib-d238eafa48aa8f294d2c3f07b6e01a16d0e41f3b.tar.bz2
openembedded-core-contrib-d238eafa48aa8f294d2c3f07b6e01a16d0e41f3b.zip
package signing: mak tasks depend on GPG_* variablesmarquiz/rpmsign2
Use an explicit vardeps dependency. Bitbake is not able to find these dependeny as the variables are only used inside the constructor of LocalSigner class. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'meta/classes/sign_rpm.bbclass')
-rw-r--r--meta/classes/sign_rpm.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/sign_rpm.bbclass b/meta/classes/sign_rpm.bbclass
index c21e3f09af..6183370664 100644
--- a/meta/classes/sign_rpm.bbclass
+++ b/meta/classes/sign_rpm.bbclass
@@ -47,5 +47,7 @@ python sign_rpm () {
d.getVar('RPM_GPG_PASSPHRASE_FILE', True))
}
+sign_rpm[vardeps] += " GPG_BIN GPG_PATH"
+
do_package_index[depends] += "signing-keys:do_deploy"
do_rootfs[depends] += "signing-keys:do_populate_sysroot"