[Buildroot] [PATCH v2 03/13] system/Config.in: add new init - openrc
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Sat May 18 21:18:43 UTC 2019
Hello,
On Sun, 12 May 2019 21:55:40 +0200
Michał Łyszczek <michal.lyszczek at bofc.pl> wrote:
> This is very basic settings for openrc init.
>
> * system/Config.in
> Allows to select openrc as init system (which auto selects
> openrc-skeleton and openrc package).
>
> * package/ifupdown-scripts/Config.in
> openrc has its own service to bring up/down interfaces, so
> ifupdown-scripts should not be enabled when openrc is enabled to
> prevent service clash.
>
> Signed-off-by: Michał Łyszczek <michal.lyszczek at bofc.pl>
I've applied, with some changes, see below.
> diff --git a/package/openrc/Config.in b/package/openrc/Config.in
> index 4baeed60ae..f79279533f 100644
> --- a/package/openrc/Config.in
> +++ b/package/openrc/Config.in
> @@ -1,6 +1,7 @@
> config BR2_PACKAGE_OPENRC
> bool "OpenRC"
> select BR2_PACKAGE_NCURSES
> + depends on BR2_INIT_OPENRC
"depends on" must be before selects, otherwise "make check-package"
complains.
> +config BR2_INIT_OPENRC
> + bool "OpenRC"
> + depends on BR2_USE_MMU
I have replicated this BR2_USE_MMU dependency on the openrc package.
Also, a !BR2_STATIC_LIBS dependency was missing, which I have added to
both BR2_PACKAGE_OPENRC and BR2_INIT_OPENRC.
And due to this !BR2_STATIC_LIBS dependency, I've added a Config.in
comment as well.
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list