[PATCH 0/3] infra: make it possible to install without clobbering existing utilities

Yann E. MORIN yann.morin.1998 at free.fr
Thu Dec 28 22:49:44 UTC 2017


Hello All!

Even though there is a hint of code preventing installation of applets
over existing utilities, this is flawed in two ways:

  - first, the non-clobbering conditional code does not account for
    installation as script wrappers,

  - second, only one option can be passed to the install script, which
    is not very useful.

And finally, there is no way to pass additional options to the install
script when calling 'make install'.

This series fixes all three issues.


Regards,
Yann E. MORIN.


The following changes since commit 36acc4631c94bb0f43ecaac5d61dc773ef773e91

  ntpd: do run the script at leat once in 11 minutes (2017-12-26 20:19:37 +0100)


are available in the git repository at:

  https://gitlab.com/ymorin/busybox

for you to fetch changes up to 9d1de67bf6b02c1133d35b851ccfcd0c4ff1ba66

  infra: add rule to install without cloberring existing utilities (2017-12-28 23:12:03 +0100)


----------------------------------------------------------------
Yann E. MORIN (3):
      applets/install: respect noclobber for script wrappers too
      applets/install: accept more than one install option
      infra: add rule to install without cloberring existing utilities

 Makefile.custom    |  3 +++
 applets/install.sh | 48 ++++++++++++++++++++++++------------------------
 2 files changed, 27 insertions(+), 24 deletions(-)

-- 
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'


More information about the busybox mailing list