[OE-core] [PATCH] [thud][PATCH] mdadm: add init and service scripts
Burton, Ross
ross.burton at intel.com
Tue Jan 22 11:07:11 UTC 2019
On Fri, 18 Jan 2019 at 03:08, Hong Liu <hongl.fnst at 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
More information about the Openembedded-core
mailing list