summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-core/meta/signing-keys.bb6
1 files changed, 2 insertions, 4 deletions
diff --git a/meta/recipes-core/meta/signing-keys.bb b/meta/recipes-core/meta/signing-keys.bb
index e843301b2e..ea7400b012 100644
--- a/meta/recipes-core/meta/signing-keys.bb
+++ b/meta/recipes-core/meta/signing-keys.bb
@@ -12,6 +12,8 @@ inherit allarch deploy
12EXCLUDE_FROM_WORLD = "1" 12EXCLUDE_FROM_WORLD = "1"
13INHIBIT_DEFAULT_DEPS = "1" 13INHIBIT_DEFAULT_DEPS = "1"
14 14
15SYSROOT_DIRS += "${sysconfdir}/pki"
16
15PACKAGES =+ "${PN}-ipk ${PN}-rpm ${PN}-packagefeed" 17PACKAGES =+ "${PN}-ipk ${PN}-rpm ${PN}-packagefeed"
16 18
17FILES_${PN}-rpm = "${sysconfdir}/pki/rpm-gpg" 19FILES_${PN}-rpm = "${sysconfdir}/pki/rpm-gpg"
@@ -54,10 +56,6 @@ do_install () {
54 fi 56 fi
55} 57}
56 58
57sysroot_stage_all_append () {
58 sysroot_stage_dir ${D}${sysconfdir}/pki ${SYSROOT_DESTDIR}${sysconfdir}/pki
59}
60
61do_deploy () { 59do_deploy () {
62 if [ -f "${B}/rpm-key" ]; then 60 if [ -f "${B}/rpm-key" ]; then
63 install -D -m 0644 "${B}/rpm-key" "${DEPLOYDIR}/RPM-GPG-KEY-${DISTRO_VERSION}" 61 install -D -m 0644 "${B}/rpm-key" "${DEPLOYDIR}/RPM-GPG-KEY-${DISTRO_VERSION}"