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] How to provide one default skeleton per init system?
Date: Tue, 10 Jun 2014 11:50:04 +0200	[thread overview]
Message-ID: <20140610115004.63c68d6a@free-electrons.com> (raw)
In-Reply-To: <CAGduivxeet2u3KqTZfNYPy7bi6ddtmYYLovc5b_cNLvFuNz0pA@mail.gmail.com>

Dear Maxime Hadjinlian,

On Tue, 10 Jun 2014 09:21:39 +0200, Maxime Hadjinlian wrote:

> > But if a new package target-skeleton is added, what would be the dependency
> > chain? Would `make target-skeleton-rebuild` rebuild... the whole rootfs?
> >
> Actually the package that I have introduced after discussing it with
> Thomas Petazzoni was a package called initscripts and busybox/systemv
> only depends on it. This way, when you chose an init system, it will
> copy the files to the target directory.
> 
> This seems to be less intrusive as the end users would not even notice
> (except the disappearance of the init.d folder when systemd is
> chosen).
> 
> If you have any comments regarding this idea, they are welcomed.
> I'll try and send this patch tonight so we can discuss on the idea
> with some code.

After thinking more about it, I believe it would be even better to have
the whole skeleton as a package. This way, everything installed to
$(TARGET_DIR) comes from a package, and things like my "graph-size"
script do not need to special case the skeleton.

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

  reply	other threads:[~2014-06-10  9:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-09 21:13 [Buildroot] How to provide one default skeleton per init system? Eric Le Bihan
2014-06-10  7:21 ` Maxime Hadjinlian
2014-06-10  9:50   ` Thomas Petazzoni [this message]
2014-06-10 15:33     ` Jérôme Pouiller
2014-06-10  7:34 ` Thomas Petazzoni
2014-06-10  8:01 ` Maxime Ripard
2014-06-10  9:52   ` 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=20140610115004.63c68d6a@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