Re: [PATCH] dracut, dracut-functions: better vercmp; credits go to V. Lowther

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/11/2010 09:47 PM, Amadeusz Żołnowski wrote:
Left incorrect module-init-tools version in the patch, here's the fix:
---
  dracut |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dracut b/dracut
index 3b1e7e8..3be4989 100755
--- a/dracut
+++ b/dracut
@@ -184,7 +184,7 @@ abs_outfile=$(readlink -f "$outfile")&&  outfile="$abs_outfile"

  srcmods="/lib/modules/$kernel/"
  [[ $drivers_dir ]]&&  {
-    if vercmp $(modprobe --version | cut -d' ' -f3) lt 3.5; then
+    if vercmp $(modprobe --version | cut -d' ' -f3) lt 3.7; then
          derror 'To use --kmoddir option module-init-tools>= 3.7 is required.'
          exit 1
      fi

pushed
--
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


[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux