On Fri, 18 Jan 2019 at 03:08, Hong Liu <hongl.f...@cn.fujitsu.com> wrote:
> +do_install_append() {
> +    install -d ${D}/${sysconfdir}/
> +    install -m 644 ${S}/mdadm.conf-example ${D}${sysconfdir}/mdadm.conf
> +    if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; 
> then

systemd.bbclass will delete these if systemd isn't enabled, so there's
no need to guard them.

> ++FILES_${PN} += " \
> +    ${systemd_unitdir} \
> +"

I believe systemd.bbclass does this too.

Ross
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to