From: Peter Kjellerstedt Date: Thu, 12 May 2016 08:37:56 +0000 (+0200) Subject: signing-keys: Use SYSROOT_DIRS to add dirs to stage in sysroot X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~25926 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a37960e504d6c0bbd0f4c088bef8f3a99beab6a;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git signing-keys: Use SYSROOT_DIRS to add dirs to stage in sysroot Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/meta/signing-keys.bb b/meta/recipes-core/meta/signing-keys.bb index e843301b2e0..ea7400b012b 100644 --- a/meta/recipes-core/meta/signing-keys.bb +++ b/meta/recipes-core/meta/signing-keys.bb @@ -12,6 +12,8 @@ inherit allarch deploy EXCLUDE_FROM_WORLD = "1" INHIBIT_DEFAULT_DEPS = "1" +SYSROOT_DIRS += "${sysconfdir}/pki" + PACKAGES =+ "${PN}-ipk ${PN}-rpm ${PN}-packagefeed" FILES_${PN}-rpm = "${sysconfdir}/pki/rpm-gpg" @@ -54,10 +56,6 @@ do_install () { fi } -sysroot_stage_all_append () { - sysroot_stage_dir ${D}${sysconfdir}/pki ${SYSROOT_DESTDIR}${sysconfdir}/pki -} - do_deploy () { if [ -f "${B}/rpm-key" ]; then install -D -m 0644 "${B}/rpm-key" "${DEPLOYDIR}/RPM-GPG-KEY-${DISTRO_VERSION}"