[ELDK] [PATCH] Use separate directories for conflicting busybox links

Detlev Zundel dzu at denx.de
Thu Apr 29 16:47:31 CEST 2010


Hi Wolfgang,

> Sometimes there are reasons to install the full-featured tool versions
> for commands also provided by BusyBox.  So far, the implementation
> would resolve the resulting conflicts by renaming the full-featured
> tools and issuing a warning like this:
>
> Warning: renaming conflicting binary to /usr/bin/foo.nonbb
>
> Renaming the BusyBox version of the command does not work, as BusyBox
> would not recognize such unexpected command names.
>
> On the other hand, if someone decides to install such full-featured
> tool versions he probably does because he wants to use these instead
> of the BusyBox version, so the renaming is sub-optimal (especially in
> cases with well-know path names like /bin/sh etc.).
>
> This commit changes the behaviour and will create the BusyBox links in
> special "bb" subdirectories and issue a warning like this:
>
> Warning: creating conflicting link as /usr/bin/bb/foo

Excellent.  This elegant solution did not appear to me before, thanks!

Applied
  Detlev

-- 
Man gelangt nicht dazu, gluecklich zu sein, aber man macht Feststellungen
ueber die Gruende, die uns daran hindern es zu sein.
                                                -- Marcel Proust
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de


More information about the eldk mailing list