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] [RFC v2 0/5] common service startup files
Date: Mon, 6 Apr 2015 10:51:22 +0200	[thread overview]
Message-ID: <20150406105122.4b13f5b0@free-electrons.com> (raw)
In-Reply-To: <cover.1428263859.git.alex.suykov@gmail.com>

Dear Alex Suykov,

On Mon, 6 Apr 2015 01:01:19 +0300, Alex Suykov wrote:
> This series is intended to simplify and clean up installation routine
> for daemon-like applications, merging sysv and systemd startup files
> and moving much of the common code out of per-package .mk files.

Thanks a lot for working on this.

To be honest, my feeling is that I don't really like Buildroot to
invent its own "abstract" language to describe the initialization of
services, then used to generate SysV and Systemd unit files.

There are two main reasons for this feeling.

First of all, because the philosophy of Buildroot is to not invent new
language, or add layers on top of what exists: we use Kconfig for the
configuration, make for the package building logic, shell and Python
scripts in some situations. This is all standard, and generally well
known by most Linux developers. Even though the language you propose
for describing the initialization of services is certainly not very
complicated, it remains a layer on top of what really happens.

Second, such abstract languages usually appear simple initially. But
then, some corner cases show up, with cases that can easily be solved
in shell scripts or systemd unit files, but were not planned in this
small abstract language. So it has to be extended. Again, and again. To
finally become as complicated as the shell scripts or systemd unit
files.

Of course, my opinion is just one amongst many other Buildroot
developers, and if all other Buildroot developers are convinced that
this is the way to go, then we'll do it. But since not many people
gave their opinion about this, I thought I would simply give mine.

Best regards,

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

  parent reply	other threads:[~2015-04-06  8:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-05 22:01 [Buildroot] [RFC v2 0/5] common service startup files Alex Suykov
2015-04-05 22:01 ` [Buildroot] [RFC v2 1/6] " Alex Suykov
2015-04-05 22:02 ` [Buildroot] [RFC v2 2/6] squid: common service startup Alex Suykov
2015-04-05 22:02 ` [Buildroot] [RFC v2 3/6] dropbear: " Alex Suykov
2015-04-05 22:03 ` [Buildroot] [RFC v2 4/6] samba4: " Alex Suykov
2015-04-05 22:04 ` [Buildroot] [RFC v2 5/6] gpsd: " Alex Suykov
2015-04-05 22:04 ` [Buildroot] [RFC v2 6/6] acpid: " Alex Suykov
2015-04-06  8:51 ` Thomas Petazzoni [this message]
2015-04-21 22:00   ` [Buildroot] [RFC v2 0/5] common service startup files Yann E. MORIN
2015-04-22 12:44   ` Mike Williams
2015-04-22 21:11 ` Thomas Petazzoni
2015-04-22 22:02   ` Alex Suykov
2015-04-22 22:28     ` Arnout Vandecappelle

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=20150406105122.4b13f5b0@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