All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: "Jérôme Pouiller" <jezz@sysmic.org>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/lxc: add systemd optional dependency
Date: Mon, 7 Nov 2022 23:13:06 +0100	[thread overview]
Message-ID: <20221107231306.216743c8@windsurf> (raw)
In-Reply-To: <20221106153803.276223-1-fontaine.fabrice@gmail.com>

On Sun,  6 Nov 2022 16:38:03 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> Fix the following build failure raised since bump to version 5.0.1 in
> commit db19998035701d08bf1b5fd366e0b5aa9adb8e57:
> 
> Run-time dependency systemd found: NO (tried pkgconfig and cmake)
> 
> ../output-1/build/lxc-5.0.1/config/init/systemd/meson.build:11:4: ERROR: Dependency "systemd" not found, tried pkgconfig and cmake
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/495175c367084093bc01c40290736c738d876894
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---

Applied to master... but...

> +ifeq ($(BR2_PACKAGE_SYSTEMD),y)
> +LXC_CONF_OPTS += -Dsd-bus=enabled
> +LXC_DEPENDENCIES += systemd
> +else
> +LXC_CONF_OPTS += -Dsd-bus=disabled
> +endif
> +
> +ifeq ($(BR2_INIT_SYSTEMD),y)
> +LXC_CONF_OPTS += -Dinit-script=systemd
> +else ifeq ($(BR2_INIT_SYSV),y)
> +LXC_CONF_OPTS += -Dinit-script=sysvinit

What is this doing exactly? Should it also be set for BR2_INIT_BUSYBOX,
which also uses sysv-style init scripts? Is the init script provided by
LXC actually usable in the context of Buildroot?

Thanks!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      reply	other threads:[~2022-11-07 22:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-06 15:38 [Buildroot] [PATCH 1/1] package/lxc: add systemd optional dependency Fabrice Fontaine
2022-11-07 22:13 ` Thomas Petazzoni via buildroot [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=20221107231306.216743c8@windsurf \
    --to=buildroot@buildroot.org \
    --cc=fontaine.fabrice@gmail.com \
    --cc=jezz@sysmic.org \
    --cc=thomas.petazzoni@bootlin.com \
    /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.