summaryrefslogtreecommitdiffhomepage
path: root/applets/install.sh
AgeCommit message (Collapse)Author
2018-07-31install.sh: don't clobber dangling symlinksBaruch Siach
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>
2018-04-15applets/install: don't try to install nothingYann E. MORIN
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>
2018-02-23Fix install with hardlinks and a custom PREFIX. Closes 10801Denys Vlasenko
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-01-04applets/install: accept more than one install optionYann E. MORIN
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-04applets/install: respect noclobber for script wrappers tooYann E. MORIN
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>
2015-07-01applets: Add installation of individual binariesClayton Shotwell
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>
2011-04-05applets/install.sh: afer quoting of variablesDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2011-04-04fix install.shDenys Vlasenko
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2008-04-27cp: fix "cp -RL" to create regular files even if src is a symlinkDenis Vlasenko
2007-08-25support "#!/bin/busybox"-style wrappers. Needed for SELinux.Denis Vlasenko
Patch by Yuichi Nakamura <ynakam@hitachisoft.jp>
2007-07-21style fix (stray space before ';')Denis Vlasenko
2006-06-07add a --noclobber flagMike Frysinger
2006-06-07add support for cleaning out previous busybox installMike Frysinger
2006-06-07dont install emtpy libdirsMike Frysinger
2006-06-07dont mix tabs and spaces, kthxMike Frysinger
2006-03-24When cross-compiling, the install directory for shared libraries has to comeRob Landley
from gcc (target machine), not uname (host machine).
2006-03-01- fixes parallel builds (make -j)Bernhard Reutner-Fischer
- use less resources for the buildsystem itself
2006-02-20add s390x to the listMike Frysinger
2006-01-19Update readme and install.sh usage message.Rob Landley
2006-01-15- shared libbusybox.Bernhard Reutner-Fischer
- IMA compilation option (aka IPO, IPA,..) Please holler if i broke something..
2005-12-15The rest of Yann E. Morin's install revamp.Rob Landley
2001-03-08Per Vladimir's suggestion, force the locale to POSIX for allEric Andersen
the scripts so busybox will install properly.
2000-07-28Disabled debugging outputPavel Roskin
Fine-grained checks for possible errors instead of "set -e" The standard output shows what is being linked to what
2000-07-25Clean up $1=$prefixEric Andersen
-Erik
2000-07-20Adjusted install.sh to use relative symlinks, and to optionallyEric Andersen
create hardlinks. Added a makefile target to create hardlinks. -Erik
2000-04-18Fix creation of /linuxrcErik Andersen
-Erik
2000-02-11UpdatesErik Andersen
-Erik
1999-12-07StufEric Andersen
1999-12-03StufEric Andersen
1999-11-22Bug fixesEric Andersen
1999-11-22StufEric Andersen
1999-11-22Fix bugsEric Andersen
1999-11-19StufEric Andersen
1999-11-15UpdatesEric Andersen
1999-11-12Adjust install a bit...Eric Andersen