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 warn about md-root need busybox: it doesn't anymore

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

diff --git a/hooks/busybox b/hooks/busybox
index 6f2db8c..d6acd20 100755
--- a/hooks/busybox
+++ b/hooks/busybox
@@ -16,13 +16,7 @@ prereqs)
esac

# busybox
-if [ "${BUSYBOX}" = "n" ] || [ ! -e ${BUSYBOXDIR}/busybox ]; then
- # those root need busybox
- eval "$(mount | awk '/ / / {print "r_dev=" $1; exit}')"
- if [ "${r_dev#/dev/mapper/}" != "${r_dev}" ]; then
- echo "W: Busybox is required for successful boot!"
- fi
-else
+if [ "${BUSYBOX}" != "n" ] && [ -e ${BUSYBOXDIR}/busybox ]; then
. /usr/share/initramfs-tools/hook-functions
rm -f ${DESTDIR}/bin/sh
rm -f ${DESTDIR}/bin/busybox
--
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-2-git-send-email-mjt@msgid.tls.msk.ru">http://lists.debian.org/1300532524-25825-2-git-send-email-mjt@msgid.tls.msk.ru
 
Old 04-08-2011, 11:10 AM
maximilian attems
 
Default don't warn about md-root need busybox: it doesn't anymore

On Sat, 19 Mar 2011, Michael Tokarev wrote:

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

thanks merged, with the slightly more verbose desc in mjt/bb branch.

will land in master once reviewed.

thank you

--
maks


--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110408111041.GA32269@stro.at">http://lists.debian.org/20110408111041.GA32269@stro.at
 

Thread Tools




All times are GMT. The time now is 01:44 PM.

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