On Fri, 18 Jan 2019 at 03:08, Hong Liu 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 delet
Add init script and service file for sysvinit and systemd.
Signed-off-by: Hong Liu
---
meta/recipes-extended/mdadm/files/mdadm.init | 72
meta/recipes-extended/mdadm/mdadm_4.0.bb | 23 ++-
2 files changed, 93 insertions(+), 2 deletions(-)
create mode 100644 meta/rec