FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 03-19-2011, 10:02 AM
Michael Tokarev
 
Default don't copy busybox to sh, use proper name and symlink

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
hooks/busybox | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/hooks/busybox b/hooks/busybox
index d6acd20..d6dd3f5 100755
--- a/hooks/busybox
+++ b/hooks/busybox
@@ -20,5 +20,6 @@ if [ "${BUSYBOX}" != "n" ] && [ -e ${BUSYBOXDIR}/busybox ]; then
. /usr/share/initramfs-tools/hook-functions
rm -f ${DESTDIR}/bin/sh
rm -f ${DESTDIR}/bin/busybox
- copy_exec ${BUSYBOXDIR}/busybox /bin/sh
+ copy_exec ${BUSYBOXDIR}/busybox /bin/busybox
+ ln -s busybox ${DESTDIR}/bin/sh
fi
--
1.7.2.3


--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1300532524-25825-4-git-send-email-mjt@msgid.tls.msk.ru">http://lists.debian.org/1300532524-25825-4-git-send-email-mjt@msgid.tls.msk.ru
 

Thread Tools




All times are GMT. The time now is 09:06 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org