[PATCH] busybox binary name
Stuart Longland
redhatter at gentoo.org
Sat Mar 5 12:22:08 UTC 2011
On 03/02/11 16:33, Tobias Poschwatta wrote:
> On Wed, Mar 02, 2011 at 02:19:02AM +0100, Denys Vlasenko wrote:
>> On Tuesday 01 March 2011 22:08, Tobias Poschwatta wrote:
>>> The attached patch allows to change the name of the main busybox binary
>>> to something other than "busybox". This makes it easy to have two or
>>> more busybox binaries (different versions, different feature sets, etc.)
>>> installed in the same filesystem.
>>
>> It is already possible by using a suffix:
>>
>> # cp busybox busybox2
>
> Magic!
>
> Oh, wait. This doesn't make "make install" create symlinks to busybox2,
> does it?
They'll probably point to the wrong thing; but you at least know what
the symlinks will be called, so you can use something like:
find /path -type l | while read l; do
rm -f $l && ln -s /path/to/busybox2 $l
done
--
Stuart Longland (aka Redhatter, VK4MSL) .'''.
Gentoo Linux/MIPS Cobalt and Docs Developer '.'` :
. . . . . . . . . . . . . . . . . . . . . . .'.'
http://dev.gentoo.org/~redhatter :.'
I haven't lost my mind...
...it's backed up on a tape somewhere.
More information about the busybox
mailing list