From 12fc939cde971ea2094201e48fe095c41138f4aa Mon Sep 17 00:00:00 2001 From: Patrick Williams Date: Fri, 6 Aug 2021 09:16:53 -0500 Subject: meta-phosphor: prep for new override syntax Signed-off-by: Patrick Williams Change-Id: I588025b614416c43aa2d053765ab53bacf890cb5 --- .../certificate/phosphor-nslcd-authority-cert-config.bb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'meta-phosphor/recipes-phosphor/certificate/phosphor-nslcd-authority-cert-config.bb') diff --git a/meta-phosphor/recipes-phosphor/certificate/phosphor-nslcd-authority-cert-config.bb b/meta-phosphor/recipes-phosphor/certificate/phosphor-nslcd-authority-cert-config.bb index 07302d657..c847b6d7b 100644 --- a/meta-phosphor/recipes-phosphor/certificate/phosphor-nslcd-authority-cert-config.bb +++ b/meta-phosphor/recipes-phosphor/certificate/phosphor-nslcd-authority-cert-config.bb @@ -5,26 +5,26 @@ PR = "r1" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" -RDEPENDS_${PN} = "phosphor-certificate-manager" +RDEPENDS:${PN} = "phosphor-certificate-manager" inherit allarch SRC_URI = "file://env" -FILES_${PN} = "${datadir}" +FILES:${PN} = "${datadir}" do_install() { install -D ${WORKDIR}/env ${D}/${datadir}/phosphor-certificate-manager/authority } -pkg_postinst_${PN}() { +pkg_postinst:${PN}() { LINK="$D$systemd_system_unitdir/multi-user.target.wants/phosphor-certificate-manager@authority.service" TARGET="../phosphor-certificate-manager@.service" mkdir -p $D$systemd_system_unitdir/multi-user.target.wants ln -s $TARGET $LINK } -pkg_prerm_${PN}() { +pkg_prerm:${PN}() { LINK="$D$systemd_system_unitdir/multi-user.target.wants/phosphor-certificate-manager@authority.service" rm $LINK } -- cgit v1.2.3