dracut/dracut-027-kmod.patch

15 lines
520 B
Diff

diff -Nru dracut-027.orig/dracut-functions.sh dracut-027/dracut-functions.sh
--- dracut-027.orig/dracut-functions.sh 2013-03-26 16:55:03.000000000 +0100
+++ dracut-027/dracut-functions.sh 2013-04-04 15:23:14.500724486 +0200
@@ -83,10 +83,6 @@
srcmods="/lib/modules/$kernel/"
[[ $drivers_dir ]] && {
- if vercmp $(modprobe --version | cut -d' ' -f3) lt 3.7; then
- dfatal 'To use --kmoddir option module-init-tools >= 3.7 is required.'
- exit 1
- fi
srcmods="$drivers_dir"
}
export srcmods