[Buildroot] [PATCH v2 2/6] sysvinit: depend on SysV selected as init system.
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sat Nov 2 18:07:49 UTC 2013
Dear Eric Le Bihan,
On Fri, 20 Sep 2013 14:24:03 +0200, Eric Le Bihan wrote:
> In order to prevent sysvinit and systemd to be selected at the same
> time, sysvinit can now only be selected if SysV is chosen as init
> system.
>
> Signed-off-by: Eric Le Bihan <eric.le.bihan.dev at free.fr>
> ---
> package/sysvinit/Config.in | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/package/sysvinit/Config.in b/package/sysvinit/Config.in
> index 34ec391..d91c643 100644
> --- a/package/sysvinit/Config.in
> +++ b/package/sysvinit/Config.in
> @@ -1,5 +1,6 @@
> config BR2_PACKAGE_SYSVINIT
> bool "sysvinit"
> + depends on BR2_INIT_SYSV
> help
> /sbin/init - parent of all processes
Hum, isn't this causing a circular dependency?
BR2_INIT_SYSV selects BR2_PACKAGE_SYSVINIT
BR2_PACKAGE_SYSVINIT depends on BR2_INIT_SYSV
but apparently, Kconfig doesn't complain, so it looks fine to me:
Acked-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list