aboutsummaryrefslogtreecommitdiff
path: root/applets/install.sh (follow)
Commit message (Collapse)AuthorAgeFilesLines
* install.sh: don't clobber dangling symlinksBaruch Siach2018-07-311-1/+1
| | | | | | | | | | | | | | Symlinks in a subdirectory that is to become target rootfs are sometimes dangling because they link to canonical file names that are not present on the host, but are present relative to the target rootfs root. Don't copy over dangling symlinks when noclobber is enabled The -e test treats dangling symlinks as non-existent files. Add -h test that returns true for all symlinks. Cc: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* applets/install: don't try to install nothingYann E. MORIN2018-04-151-2/+4
| | | | | | | | | | | | | | | | | Commit 952d5a6024e7 (applets/install: accept more than one install option) changed the way we handle install options: before that commit, a missing install type would mean to install nothing; after, we would iterate over options, so we would never notice there was a mising option. Fix that by introducing an explicit --none option to specify to install nothing. Reported-by: Aaro Koskinen <aaro.koskinen@iki.fi> Cc: Aaro Koskinen <aaro.koskinen@iki.fi> Cc: Denys Vlasenko <vda.linux@googlemail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Fix install with hardlinks and a custom PREFIX. Closes 10801Denys Vlasenko2018-02-231-9/+9
| | | | | | | | | | | | 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>
* applets/install: accept more than one install optionYann E. MORIN2018-01-041-12/+16
| | | | | | | | 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>
* applets/install: respect noclobber for script wrappers tooYann E. MORIN2018-01-041-12/+8
| | | | | | | | 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>
* applets: Add installation of individual binariesClayton Shotwell2015-07-011-2/+24
| | | | | | | | 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>
* applets/install.sh: afer quoting of variablesDenys Vlasenko2011-04-051-35/+34
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix install.shDenys Vlasenko2011-04-041-6/+10
| | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cp: fix "cp -RL" to create regular files even if src is a symlinkDenis Vlasenko2008-04-271-1/+1
|
* support "#!/bin/busybox"-style wrappers. Needed for SELinux.Denis Vlasenko2007-08-251-33/+49
| | | | | Patch by Yuichi Nakamura <ynakam@hitachisoft.jp>
* style fix (stray space before ';')Denis Vlasenko2007-07-211-2/+2
|
* add a --noclobber flagMike Frysinger2006-06-071-2/+8
|
* add support for cleaning out previous busybox installMike Frysinger2006-06-071-0/+18
|
* dont install emtpy libdirsMike Frysinger2006-06-071-1/+1
|
* dont mix tabs and spaces, kthxMike Frysinger2006-06-071-13/+13
|
* When cross-compiling, the install directory for shared libraries has to comeRob Landley2006-03-241-5/+6
| | | | from gcc (target machine), not uname (host machine).
* - fixes parallel builds (make -j)Bernhard Reutner-Fischer2006-03-011-1/+2
| | | | - use less resources for the buildsystem itself
* add s390x to the listMike Frysinger2006-02-201-1/+1
|
* Update readme and install.sh usage message.Rob Landley2006-01-191-1/+1
|
* - shared libbusybox.Bernhard Reutner-Fischer2006-01-151-2/+17
| | | | | - IMA compilation option (aka IPO, IPA,..) Please holler if i broke something..
* The rest of Yann E. Morin's install revamp.Rob Landley2005-12-151-5/+6
|
* Per Vladimir's suggestion, force the locale to POSIX for allEric Andersen2001-03-081-0/+3
| | | | the scripts so busybox will install properly.
* Disabled debugging outputPavel Roskin2000-07-281-8/+6
| | | | | Fine-grained checks for possible errors instead of "set -e" The standard output shows what is being linked to what
* Clean up $1=$prefixEric Andersen2000-07-251-5/+5
| | | | -Erik
* Adjusted install.sh to use relative symlinks, and to optionallyEric Andersen2000-07-201-7/+37
| | | | | create hardlinks. Added a makefile target to create hardlinks. -Erik
* Fix creation of /linuxrcErik Andersen2000-04-181-0/+1
| | | | -Erik
* UpdatesErik Andersen2000-02-111-1/+1
| | | | -Erik
* StufEric Andersen1999-12-071-2/+1
|
* StufEric Andersen1999-12-031-5/+4
|
* Bug fixesEric Andersen1999-11-221-3/+3
|
* StufEric Andersen1999-11-221-1/+1
|
* Fix bugsEric Andersen1999-11-221-5/+2
|
* StufEric Andersen1999-11-191-6/+9
|
* UpdatesEric Andersen1999-11-151-3/+8
|
* Adjust install a bit...Eric Andersen1999-11-121-0/+17