All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 03/13] system/Config.in: add new init - openrc
Date: Sat, 18 May 2019 23:18:43 +0200	[thread overview]
Message-ID: <20190518231843.021bf74b@windsurf> (raw)
In-Reply-To: <20190512195550.24457-3-michal.lyszczek@bofc.pl>

Hello,

On Sun, 12 May 2019 21:55:40 +0200
Micha? ?yszczek <michal.lyszczek@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@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

  reply	other threads:[~2019-05-18 21:18 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-12 19:55 [Buildroot] [PATCH v2 01/13] package/openrc: new package (v0.41.2) Michał Łyszczek
2019-05-12 19:55 ` [Buildroot] [PATCH v2 02/13] package/skeleton-init-openrc: basic skeleton for openrc Michał Łyszczek
2019-05-18 20:57   ` Thomas Petazzoni
2019-05-12 19:55 ` [Buildroot] [PATCH v2 03/13] system/Config.in: add new init - openrc Michał Łyszczek
2019-05-18 21:18   ` Thomas Petazzoni [this message]
2019-05-12 19:55 ` [Buildroot] [PATCH v2 04/13] package/openrc: add support for spawning getty Michał Łyszczek
2019-05-18 21:20   ` Thomas Petazzoni
2019-05-19  8:32     ` michal.lyszczek at bofc.pl
2019-05-12 19:55 ` [Buildroot] [PATCH v2 05/13] package/pkg-generic.mk: add _INSTALL_INIT_OPENRC Michał Łyszczek
2019-05-18 21:21   ` Thomas Petazzoni
2019-05-12 19:55 ` [Buildroot] [PATCH v2 06/13] package/skeleton-init-openrc: add support to remount rootfs as rw Michał Łyszczek
2019-05-18 21:22   ` Thomas Petazzoni
2019-05-19  8:32     ` michal.lyszczek at bofc.pl
2019-07-23 10:50       ` michal.lyszczek at bofc.pl
2019-05-12 19:55 ` [Buildroot] [PATCH v2 07/13] package/openrc-netifrc: net package (v0.6.1) Michał Łyszczek
2019-05-12 19:55 ` [Buildroot] [PATCH v2 08/13] package/openrc-netifrc/openrc-netifrc.mk: add support for BR2_SYSTEM_DHCP Michał Łyszczek
2019-05-12 19:55 ` [Buildroot] [PATCH v2 09/13] package/openrc: add patch to support busybox version of sysctl Michał Łyszczek
2019-05-18 21:25   ` Thomas Petazzoni
2019-05-12 19:55 ` [Buildroot] [PATCH v2 10/13] package/openrc: change /run/lock from root:uucp to root:daemon Michał Łyszczek
2019-05-18 21:26   ` Thomas Petazzoni
2019-05-12 19:55 ` [Buildroot] [PATCH v2 11/13] package/openrc: add support to set terminal encoding Michał Łyszczek
2019-05-12 19:55 ` [Buildroot] [PATCH v2 12/13] package/openrc: add support for setting terminal keymap Michał Łyszczek
2019-05-12 19:55 ` [Buildroot] [PATCH v2 13/13] package/skeleton-init-openrc: add support for starting sysv scripts Michał Łyszczek
2019-05-18 20:54 ` [Buildroot] [PATCH v2 01/13] package/openrc: new package (v0.41.2) Thomas Petazzoni

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=20190518231843.021bf74b@windsurf \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /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.