Commit Graph

33 Commits

Author SHA1 Message Date
bf39d97e9d Fix install with hardlinks and a custom PREFIX. Closes 10801
Trying to install busybox with hardlinks and a custom PREFIX will fail
for applets not in the /bin directory, because relative pathnames are
used. applets/install.sh is *supposed to* use the absolute pathname
for hardlinks but it fails to do so because the wrong check is used
in the if statement.

While fixing it, shore up other sloppy coding in applets/install.sh

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2018-02-23 16:29:26 +01:00
952d5a6024 applets/install: accept more than one install option
Currently, it is impossible to pass more than one option to the isntall
script, so it totally prevents using --noclobber.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2018-01-04 14:43:46 +01:00
84be5ce0d8 applets/install: respect noclobber for script wrappers too
Simplify the handling of --noclobber so that it applies to all types of
installation types, even to script wrappers.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2018-01-04 14:36:17 +01:00
b7ee7e1e13 applets: Add installation of individual binaries
Adding support to install individual binaries if the option is
enabled. This also installs the shared libbusybox.so.* library.

Signed-off-by: Clayton Shotwell <clshotwe@rockwellcollins.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2015-07-01 19:10:03 +02:00
c0644cac0d applets/install.sh: afer quoting of variables
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2011-04-05 02:37:15 +02:00
12140e607c fix install.sh
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2011-04-04 03:53:23 +02:00
c0431ed455 cp: fix "cp -RL" to create regular files even if src is a symlink 2008-04-27 22:06:24 +00:00
737d131e5e support "#!/bin/busybox"-style wrappers. Needed for SELinux.
Patch by Yuichi Nakamura <ynakam@hitachisoft.jp>
2007-08-25 18:25:24 +00:00
b71c668c57 style fix (stray space before ';') 2007-07-21 15:08:09 +00:00
e3fdf2431a add a --noclobber flag 2006-06-07 18:12:27 +00:00
81514ecca3 add support for cleaning out previous busybox install 2006-06-07 18:08:25 +00:00
74b29a107f dont install emtpy libdirs 2006-06-07 17:27:46 +00:00
55b12105b5 dont mix tabs and spaces, kthx 2006-06-07 17:24:29 +00:00
d1968672ef When cross-compiling, the install directory for shared libraries has to come
from gcc (target machine), not uname (host machine).
2006-03-24 02:42:58 +00:00
5d26126b9e - fixes parallel builds (make -j)
- use less resources for the buildsystem itself
2006-03-01 22:54:48 +00:00
dcbad607fc add s390x to the list 2006-02-20 19:28:34 +00:00
c8e41157a2 Update readme and install.sh usage message. 2006-01-19 21:22:37 +00:00
7ca61b6f33 - shared libbusybox.
- IMA compilation option (aka IPO, IPA,..)
Please holler if i broke something..
2006-01-15 14:04:57 +00:00
e0c418e13b The rest of Yann E. Morin's install revamp. 2005-12-15 07:25:54 +00:00
39eea898c4 Per Vladimir's suggestion, force the locale to POSIX for all
the scripts so busybox will install properly.
2001-03-08 21:42:11 +00:00
259972e565 Disabled debugging output
Fine-grained checks for possible errors instead of "set -e"
The standard output shows what is being linked to what
2000-07-28 19:34:02 +00:00
e5db406690 Clean up $1=$prefix
-Erik
2000-07-25 16:47:03 +00:00
51154bacbe Adjusted install.sh to use relative symlinks, and to optionally
create hardlinks.  Added a makefile target to create hardlinks.
 -Erik
2000-07-20 21:57:11 +00:00
9a8195cc03 Fix creation of /linuxrc
-Erik
2000-04-18 23:32:10 +00:00
9ffdaa647e Updates
-Erik
2000-02-11 21:55:04 +00:00
d00c262847 Stuf 1999-12-07 08:37:31 +00:00
b186d980d6 Stuf 1999-12-03 09:19:54 +00:00
cb41c2e83b Bug fixes 1999-11-22 07:41:00 +00:00
5d44d1fda5 Stuf 1999-11-22 06:01:01 +00:00
0f4c0848c7 Fix bugs 1999-11-22 05:57:09 +00:00
6a76e652aa Stuf 1999-11-19 05:31:45 +00:00
a9c95ea655 Updates 1999-11-15 17:33:30 +00:00
eded54bd96 Adjust install a bit... 1999-11-12 08:03:23 +00:00