Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/4] initscripts: new package
Date: Tue, 14 Jul 2015 01:55:34 +0200	[thread overview]
Message-ID: <20150714015534.04420154@free-electrons.com> (raw)
In-Reply-To: <1436821211-4446-1-git-send-email-maxime.hadjinlian@gmail.com>

Dear Maxime Hadjinlian,

On Mon, 13 Jul 2015 23:00:08 +0200, Maxime Hadjinlian wrote:
> The folder init.d is currently installed by default since it's part of
> our skeleton.
> This patch creates a package out of it and make busybox/sysvinit depends
> on it.
> 
> This way, if you chose another init, you don't end up with a useless
> init.d folder.
> 
> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
> ---
> v4 -> v5:
>     - Move inittab to their specifi packages (sysvinit and busybox)
>     - Make BR2_INIT_SYSV and BR2_INIT_BUSYBOX select initscripts
>     - Initscripts depends on BR2_INIT_SYSV or BR2_INIT_BUSYBOX so it
>       can't be selected by anything else.
> v3 -> v4:
>     - Fix bug with busybox
> v2 -> v3:
>     - Fix rebase issues
> v1 -> v2:
>     - Redo the patch using git format-patch -M
> ---
>  package/Config.in                                         |  1 +
>  package/busybox/busybox.mk                                |  7 +++++++
>  {system/skeleton/etc => package/busybox}/inittab          |  0
>  package/initscripts/Config.in                             |  5 +++++
>  .../etc => package/initscripts}/init.d/S20urandom         |  0
>  .../etc => package/initscripts}/init.d/S40network         |  0
>  {system/skeleton/etc => package/initscripts}/init.d/rcK   |  0
>  {system/skeleton/etc => package/initscripts}/init.d/rcS   |  0
>  package/initscripts/initscripts.mk                        | 15 +++++++++++++++
>  package/sysvinit/sysvinit.mk                              |  6 ++----
>  system/Config.in                                          |  2 ++
>  11 files changed, 32 insertions(+), 4 deletions(-)
>  rename {system/skeleton/etc => package/busybox}/inittab (100%)
>  create mode 100644 package/initscripts/Config.in
>  rename {system/skeleton/etc => package/initscripts}/init.d/S20urandom (100%)
>  rename {system/skeleton/etc => package/initscripts}/init.d/S40network (100%)
>  rename {system/skeleton/etc => package/initscripts}/init.d/rcK (100%)
>  rename {system/skeleton/etc => package/initscripts}/init.d/rcS (100%)
>  create mode 100644 package/initscripts/initscripts.mk

Applied after some changes:

    [Thomas:
      - make the initscripts package selectable via a hidden bool
      - remove some unneeded changes in sysvinit.mk.]

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

      parent reply	other threads:[~2015-07-13 23:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-13 21:00 [Buildroot] [PATCH 1/4] initscripts: new package Maxime Hadjinlian
2015-07-13 21:00 ` [Buildroot] [PATCH 2/4] pkg-generic: Package can't depends on themselves Maxime Hadjinlian
2015-07-13 21:00 ` [Buildroot] [PATCH 3/4] skeleton: New package Maxime Hadjinlian
2015-07-13 22:29   ` Danomi Manchego
2015-07-14  3:46   ` Baruch Siach
2015-07-14 11:11     ` Maxime Hadjinlian
2015-07-13 21:00 ` [Buildroot] [PATCH 4/4] pkg-generic: skeleton: Add dependency to all Maxime Hadjinlian
2015-07-13 23:55 ` Thomas Petazzoni [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=20150714015534.04420154@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox