From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package: Fix overwrite inittab w/ default skeleton
Date: Thu, 16 Jul 2015 23:07:22 +0200 [thread overview]
Message-ID: <20150716230722.304e5f9a@free-electrons.com> (raw)
In-Reply-To: <1437064235-32432-1-git-send-email-maxime.hadjinlian@gmail.com>
Dear Maxime Hadjinlian,
On Thu, 16 Jul 2015 18:30:35 +0200, Maxime Hadjinlian wrote:
> If you select a custom skeleton, and have busybox or sysvinit as init,
> the install of their inittab would trigger, rendering yours useless.
>
> The hooks doing the sed in the skeleton package would only trigger for a
> default skeleton.
>
> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
> ---
> package/busybox/busybox.mk | 2 +-
> package/sysvinit/sysvinit.mk | 8 +++++++-
> 2 files changed, 8 insertions(+), 2 deletions(-)
Unfortunately, even if Gustavo gave his Acked-by, I'm tempted to not
apply this patch. There are *tons* of other stuff that we don't install
conditionally. For example, we used to install init scripts only if an
init script was not already installed to allow a custom skeleton to
provide such init scripts. But a while ago, we decided to get rid of
this policy, and install init scripts and configuration files
unconditionally. Just a few commits related to that:
649a6a64290ea214a034e5fb138d5c205eb44d98 mpd: install configuration file unconditionally
f1557b855c57c2f0dd24230213b3875ae75ef341 inadyn: install configuration file unconditionally
e07c97adcb55629dc0cc72aed2bb652f7af640a5 php: install configuration file unconditionally
e3d6179bb767c4a6d726cf897d47a076892357db usbmount: install configuration file unconditionally
963bbf266bfebc240888cf8bce502a2fadb38c48 screen: install configuration file unconditionally
428f1e7e70c6bc410b12bbb6f8137eae1fffaa6e sysklogd: install configuration file unconditionally
5ad5d55924bcc7086f834a28db9c227371728470 ifplugd: install configuration files unconditionally
0a28ed55f84ac75ac1b3f2374ef0b10aafb61d7f logrotate: install configuration file unconditionally
e0e56499354d41a3512b674004d84f9e82f98b15 samba: install configuration file unconditionally
0e18b0a4e12e739aed6eb892a246d3d27a007a38 proftpd: install configuration file unconditionally
82f82117eeebb2694565d26c1d76019823c7c057 fluxbox: install session file unconditionally
19c8fa96b5a1396c49abe21efda8a31b9a743816 input-event-daemon: install configuration file unconditionally
c51ec898127767a28d366ab69a230dd382f361fc stunnel: install configuration file unconditionally
aa6c7a8a994adad042668b569543e308318ecc5b transmission: install init script unconditionally
8a6482db88fc9f6076bc25f9b2b9defadc8fc809 rsyslog: install init script and config file unconditionally
1c8369ce3f9d3c3316b36885f9124e5ae89a1837 rpcbind: install init script unconditionally
bb231c7c2fa1e5cd70372aa416a7c63e641e8b09 lighttpd: install configuration files with sensible (0644) permissions
fa36ccd2f549b141c241bf2232dd56dedd218d9d lighttpd: install init script and config file unconditionally
febe876dcc18938b43fe1012b0acc689176188ac iucode-tool: install init script unconditionally
e31c6b961aff7e5018f8f5c72d938f1ad577c21f dmraid: install init script unconditionally
de78a9896fb89b3d5cff18c592ac1a61e2db23bf busybox: install init script and config file unconditionally
dc82dea73b878432bde1b2b164f4c746036fd772 aiccu: install init script and config file unconditionally
Our reasoning is that using a custom skeleton is highly discouraged,
and people should instead use a rootfs overlay or a post-build script
for their customization.
I don't see why inittab should be handled differently.
I'll mark your patch as Rejected for the time being. If there is some
more arguments on why we should have a special handling of inittab,
then we can rediscuss the patch of course.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2015-07-16 21:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-16 16:30 [Buildroot] [PATCH] package: Fix overwrite inittab w/ default skeleton Maxime Hadjinlian
2015-07-16 16:38 ` Gustavo Zacarias
2015-07-16 21:07 ` Thomas Petazzoni [this message]
2015-07-16 21:17 ` Gustavo Zacarias
2015-07-16 21:35 ` Thomas Petazzoni
2015-07-16 21:42 ` Maxime Hadjinlian
2015-07-16 22:56 ` Arnout Vandecappelle
2015-07-16 21:48 ` Gustavo Zacarias
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=20150716230722.304e5f9a@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 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.