summaryrefslogtreecommitdiff
path: root/mkinitramfs
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2008-07-16 01:21:48 +0200
committermaximilian attems <maks@debian.org>2008-07-16 01:21:48 +0200
commitb42067f385b97ac76ae43eaa414ef35c39880e3c (patch)
tree3fe4825737778b70d8b873105bebdc34560aa7ea /mkinitramfs
parent2bcd4eceb4fb75762807455cbc128bd969fa8bee (diff)
downloadinitramfs-tools-b42067f385b97ac76ae43eaa414ef35c39880e3c.tar.gz
initramfs-tools-b42067f385b97ac76ae43eaa414ef35c39880e3c.zip
mkinitramfs: only lvm2 initramfs has busybox dep.
thus remove warning on case of md root, closes #490875.
Diffstat (limited to 'mkinitramfs')
-rwxr-xr-xmkinitramfs3
1 files changed, 1 insertions, 2 deletions
diff --git a/mkinitramfs b/mkinitramfs
index 312b99e..0fc45db 100755
--- a/mkinitramfs
+++ b/mkinitramfs
@@ -258,8 +258,7 @@ if [ "${BUSYBOX}" = "n" ] || [ ! -e ${BUSYBOXDIR}/busybox ]; then
mv ${DESTDIR}/bin/sh.shared ${DESTDIR}/bin/sh
# those root need busybox
eval "$(mount | awk '/ \/ / {print "r_dev=" $1; exit}')"
- if [ "${r_dev#/dev/mapper/}" != "${r_dev}" ] \
- || [ "${r_dev#/dev/md}" != "${r_dev}" ]; then
+ if [ "${r_dev#/dev/mapper/}" != "${r_dev}" ]; then
echo "Warning: Busybox is required for successful boot!"
fi
else