On 06/19/2009 01:05 PM, Harald Hoyer wrote:
diff --git a/modules.d/99base/install b/modules.d/99base/install index 68d40fb..06cf6db 100755 --- a/modules.d/99base/install +++ b/modules.d/99base/install @@ -7,9 +7,8 @@ fi # install our scripts and hooks inst "$moddir/init" "/init" # Bail out if switch_root does not exist -if [ ! -x "$moddir/switch_root" ]; then - # assume it is installed in the standard path - dracut_install switch_root +if which switch_root>/dev/null 2>&1; then + dracut_install switch_root else inst "$moddir/switch_root" "/sbin/switch_root" fi
Hmpf.. that should have been a seperate patch -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html