From: "Bruce Ashfield" <bruce.ashfield@gmail.com>
To: Leon Anavi <leon.anavi@konsulko.com>
Cc: meta-virtualization@lists.yoctoproject.org
Subject: Re: [meta-virtualization][PATCH 1/3] docker: Fix for sysvinit
Date: Tue, 20 Jul 2021 22:51:40 -0400 [thread overview]
Message-ID: <20210721025138.GA44485@gmail.com> (raw)
In-Reply-To: <20210716154148.18909-3-leon.anavi@konsulko.com> <20210716154148.18909-2-leon.anavi@konsulko.com> <20210716154148.18909-1-leon.anavi@konsulko.com>
merged!
Bruce
In message: [meta-virtualization][PATCH 1/3] docker: Fix for sysvinit
on 16/07/2021 Leon Anavi wrote:
> Fix for rare legacy systems which still use simultaneously both
> sysvinit and systemd in DISTRO_FEATURES. This fix avoids issues
> during do_rootfs with postinstall scriptlets of ['docker-ce'].
>
> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
> ---
> recipes-containers/docker/docker.inc | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/recipes-containers/docker/docker.inc b/recipes-containers/docker/docker.inc
> index cd4d27b..610da56 100644
> --- a/recipes-containers/docker/docker.inc
> +++ b/recipes-containers/docker/docker.inc
> @@ -120,7 +120,8 @@ do_install() {
> # replaces one copied from above with one that uses the local registry for a mirror
> install -m 644 ${S}/src/import/contrib/init/systemd/docker.service ${D}/${systemd_unitdir}/system
> rm -f ${D}/${systemd_unitdir}/system/docker.service.rpm
> - else
> + fi
> + if ${@bb.utils.contains('DISTRO_FEATURES','sysvinit','true','false',d)}; then
> install -d ${D}${sysconfdir}/init.d
> install -m 0755 ${WORKDIR}/docker.init ${D}${sysconfdir}/init.d/docker.init
> fi
> --
> 2.17.1
>
>
>
>
prev parent reply other threads:[~2021-07-21 2:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-16 15:41 [meta-virtualization][PATCH 1/3] docker: Fix for sysvinit Leon Anavi
2021-07-16 15:41 ` [meta-virtualization][PATCH 2/3] python3-bugsnag: Upgrade 4.0.2 -> 4.1.0 Leon Anavi
2021-07-16 15:41 ` [meta-virtualization][PATCH 3/3] python3-docker-compose: Upgrade 1.29.1 -> 1.29.2 Leon Anavi
2021-07-21 2:51 ` Bruce Ashfield [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210721025138.GA44485@gmail.com \
--to=bruce.ashfield@gmail.com \
--cc=leon.anavi@konsulko.com \
--cc=meta-virtualization@lists.yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.