diff options
author | Thomas Orgis | 2017-09-27 20:07:22 +0200 |
---|---|---|
committer | Vlad Glagolev | 2018-11-15 11:29:22 -0800 |
commit | d51fd2cc6741bd26f265cb7607eb6d98001aea78 (patch) | |
tree | b6b84cdc444ad129975084e56f549e1e98a91b1e | |
parent | b1b520ebc43abca8e54871770c55fcb5f371edcc (diff) |
linux-initramfs: version 0.8, supporting current/future kernel versions
This is just about mkinitrd's parameter checking not thinking that
4.11 is a file name.
(cherry picked from commit 55ee7f292870e2dd645675d50afaa887d7fa06a0)
-rwxr-xr-x | smgl/linux-initramfs/DETAILS | 2 | ||||
-rw-r--r-- | smgl/linux-initramfs/HISTORY | 4 | ||||
-rwxr-xr-x | smgl/linux-initramfs/mkinitrd | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/smgl/linux-initramfs/DETAILS b/smgl/linux-initramfs/DETAILS index 4288de9571..ae507e68f8 100755 --- a/smgl/linux-initramfs/DETAILS +++ b/smgl/linux-initramfs/DETAILS @@ -1,5 +1,5 @@ SPELL=linux-initramfs - VERSION=0.7 + VERSION=0.8 SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL" WEB_SITE="http://www.sourcemage.org/" ENTERED=20030803 diff --git a/smgl/linux-initramfs/HISTORY b/smgl/linux-initramfs/HISTORY index 68a7e57511..06010eef53 100644 --- a/smgl/linux-initramfs/HISTORY +++ b/smgl/linux-initramfs/HISTORY @@ -1,3 +1,7 @@ +2017-09-27 Thomas Orgis <sobukus@sourcemage.org> + * DETAILS: version 0.8 + * mkinitrd: guess kernel versions up to 99.* + 2012-02-16 Vlad Glagolev <stealth@sourcemage.org> * DETAILS: updated spell to 0.7; quoting paths * mkinitrd: unstfu usage; mdadm strictly requires /proc diff --git a/smgl/linux-initramfs/mkinitrd b/smgl/linux-initramfs/mkinitrd index c3e225eec5..e4a630c1f9 100755 --- a/smgl/linux-initramfs/mkinitrd +++ b/smgl/linux-initramfs/mkinitrd @@ -1329,7 +1329,7 @@ do INITRD_FILE="${2}" shift ;; - 2.[46]*|3.*) + [2-9].*|[1-9][0-9].*) KVERSION=$1 ;; *) |