diff options
author | Phil Blundell <philb@gnu.org> | 2004-08-03 22:48:04 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2004-08-03 22:48:04 +0000 |
commit | c20cb42ec8d6bc8919308e039b45b12136685452 (patch) | |
tree | 289be5b6aae514ebd502c0f5cfae4bcfeb49fc85 /busybox/busybox-1.00-rc1/busybox-suidinstall.patch | |
parent | e323b96de179765902fb716b338187ed936333f1 (diff) |
roll busybox back to 1.00-rc1 due to modprobe and other breakage in rc2
BKrev: 41101624yPfQAK2RdolnJpfMvrcJTw
Diffstat (limited to 'busybox/busybox-1.00-rc1/busybox-suidinstall.patch')
-rw-r--r-- | busybox/busybox-1.00-rc1/busybox-suidinstall.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/busybox/busybox-1.00-rc1/busybox-suidinstall.patch b/busybox/busybox-1.00-rc1/busybox-suidinstall.patch new file mode 100644 index 0000000000..b557c74c85 --- /dev/null +++ b/busybox/busybox-1.00-rc1/busybox-suidinstall.patch @@ -0,0 +1,20 @@ +diff -urNd busybox/applets/install.sh busybox-new/applets/install.sh +--- busybox/applets/install.sh 2001-03-08 15:42:11.000000000 -0600 ++++ busybox-new/applets/install.sh 2002-10-11 12:04:01.000000000 -0500 +@@ -15,10 +15,15 @@ + fi + h=`sort busybox.links | uniq` + ++if [ -n "$SUID" ]; then ++ mode=4755 ++else ++ mode=0755 ++fi + + rm -f $prefix/bin/busybox || exit 1 + mkdir -p $prefix/bin || exit 1 +-install -m 755 busybox $prefix/bin/busybox || exit 1 ++install -m $mode busybox $prefix/bin/busybox || exit 1 + + for i in $h ; do + appdir=`dirname $i` |