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:52:12 +0200	[thread overview]
Message-ID: <20140610115212.4f63938b@free-electrons.com> (raw)
In-Reply-To: <20140610080123.GF9791@lukather>

Dear Maxime Ripard,

On Tue, 10 Jun 2014 10:01:23 +0200, Maxime Ripard wrote:

> > a) Move system/skeleton to system/skeleton/busybox, then add
> >    system/skeleton/systemd, and maybe system/skeleton/sysv. The menu in
> >    system/Config.in will be updated to select BR2_ROOTFS_SKELETON_BUSYBOX,
> >    or BR2_ROOTFS_SKELETON_CUSTOM.
> > b) Add a new virtual package: target-skeleton, with some providers:
> >    target-skeleton-busybox, target-skeleton-systemd and
> >    target-skeleton-custom (path to the custom skeleton would be handled in the
> >    configuration menu).
> 
> And you also have:
> 
>   c) Move the files in the skeleton at the package level. Each package
>      would be providing whatever file it needs and is not shared by
>      all the init systems.

I don't think (b) and (c) are mutually exclusive actually. We can
have a "skeleton" package that installs all the files that are common
to all situations, and then have busybox, systemd and sysvinit install
the files that they need.

Best regards,

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

      reply	other threads:[~2014-06-10  9:52 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
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 [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=20140610115212.4f63938b@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