[Buildroot] [PATCH] procps-ng: remove the remaining busybox symlinks
Peter Korsgaard
peter at korsgaard.com
Wed Jan 13 15:42:02 UTC 2016
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:
> Vicente,
> On Wed, 13 Jan 2016 15:26:42 +0000, Vicente Olivert Riera wrote:
>> So, I see three options here:
>>
>> 1 - follow the second suggestion from Thomas (post-install hook to move
>> the ALL binaries installed by the package to where Busybox installs them)
>>
>> 2 - same thing but only move pidof and watch binaries
>>
>> 3 - remove /bin/pidof and /bin/watch symlinks installed by Busybox
>>
>> I happy with any of them, so, which one do you prefer?
> I think my personal preference would be to install as many procps-ng
> tools as possible in the "right" place, and then only move the few ones
> for which you can't configure the installation location.
Indeed, me too. I don't think we want more than 1 of the "same" binary
on a system, and E.G. have scripts behave differently if they call the
tools without specifying any path or hardcoding /bin/<tool>.
> On a side note, it would be interesting to write a tool that looks if
> there are two binaries in bin/, sbin/, usr/bin/ and usr/sbin/ with the
> same name, in order to automatically detect at the end of the build if
> we have two commands (one full implementation and one from Busybox)
> that are installed in different locations.
Yes, that could be a nice check.
--
Venlig hilsen,
Peter Korsgaard
More information about the buildroot
mailing list