From: Gustavo Zacarias <gustavo@zacarias.com.ar>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package: Fix overwrite inittab w/ default skeleton
Date: Thu, 16 Jul 2015 18:48:11 -0300 [thread overview]
Message-ID: <55A8269B.4030208@zacarias.com.ar> (raw)
In-Reply-To: <20150716233553.4d46b3d0@free-electrons.com>
On 16/07/15 18:35, Thomas Petazzoni wrote:
> Well, all the commits I cited in my previous reply definitely changed
> the behavior in a similar way, just for different files.
Hi.
Yes, albeit in less intrusive files.
Also not all of the packages did the check, we just made it consistently
overwrite.
>> My usage scenario is customized initscripts that rely on a very minimal
>> inittab (rcS, rcK and getty, nothing more).
>> All of the basic startup is handled in initscripts, which i think we
>> should do for BR as well - there's no reason to stick a lot of stuff in
>> inittab IMO.
>
> Possibly yes, though it's a different question. Even if the default
> inittab is more minimal, there are still lots of reasons for which you
> might need a custom version of it. So making the default version more
> minimal is kinda unrelated to whether we keep or overwrite the inittab
> of a custom skeleton.
It's just an example, i might just as well configure "no init system"
since part of the customization is nuking all of the BR-provided ones
since i provide more feature-complete ones and it will definitely fix my
problem - i'm not concerned about my corner case, it's just debate about
what's the right thing to do.
> My personal preference would be to ultimately get rid of the custom
> skeleton thing. We have been encouraging rootfs overlay and post-build
> scripts since quite a while in the Buildroot manual, see
> http://buildroot.org/downloads/manual/manual.html#rootfs-custom:
Well, exactly what i'm going to, if we don't respect it why keep it?
Going forward it's getting more overrides from new stuff, we don't
recommend it and so on and on, maybe it's just time to kill it.
> If were to not overwrite the inittab, we should also revert all of the
> commits I mentioned, and guarantee that the files in the custom
> skeleton would not be overwritten.
>
> I agree with you that this is a change in behavior, but I would say
> it's a change for good: making people realize that using a custom
> skeleton very often doesn't work as they intend it to work.
>
> Any opinions from others?
I was kind of joking with Maxime on IRC about defining an
INSTALL_NO_CLOBBER to avoid checks on these things, it would avoid going
all atomic on overwrites by using a custom install all along, maybe that
would be a solution.
Regards.
prev parent reply other threads:[~2015-07-16 21:48 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
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 [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=55A8269B.4030208@zacarias.com.ar \
--to=gustavo@zacarias.com.ar \
--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