From: Yann E. MORIN Date: Wed, 24 Feb 2016 23:19:30 +0100 Subject: [Buildroot] [PATCH v1 1/1] coreutils: allow selection of installed programs In-Reply-To: <87r3g1zs67.fsf@dell.be.48ers.dk> References: <1454498088-20233-1-git-send-email-romain.izard.pro@gmail.com> <877fhxaf7l.fsf@dell.be.48ers.dk> <56CE1E61.7000008@zacarias.com.ar> <20160224214832.GA3449@free.fr> <87r3g1zs67.fsf@dell.be.48ers.dk> Message-ID: <20160224221930.GB3449@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Peter, All, On 2016-02-24 22:58 +0100, Peter Korsgaard spake thusly: > >>>>> "Yann" == Yann E MORIN writes: > >> How about adding a more lightweight option to the coreutils package to > >> disable the single-binary mode? > > > Yes, that is a great ides, maybe a choice like: > > choice > > bool "Single-binary mode" > > default BR2_PKG_COREUTILS_SINGLE_SYMLINKS > > config BR2_PKG_COREUTILS_SINGLE_NONE > > bool "none" > > config BR2_PKG_COREUTILS_SINGLE_SYMLINKS > > bool "symlinks" > > config BR2_PKG_COREUTILS_SINGLE_SHEBANGS > > bool "shebangs" > > endchoice > > And the corresponding code in the .mk file, of course. > > Didn't we just discuss on IRC that shebangs didn't have any advantages > over symlinks? If so, I would prefer to keep things simple and only have > a choice between symlinks (default) or classical multiple binaries. Well, shebangs is the current situation, so users may rely on it (for whatever ill reason), so we should support that. However, I won't battle over it, as my preference would go with hardlinks instead, but that option is not available. Meh... ;-) Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'