]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
mkinitrd-dracut.sh: use vmlinux regex for ppc*, vmlinuz for i686
authorq66 <daniel@octaforge.org>
Sat, 25 Jul 2020 15:29:23 +0000 (17:29 +0200)
committerDaniel Molkentin <daniel@molkentin.de>
Mon, 3 Aug 2020 15:59:01 +0000 (17:59 +0200)
Previously this would not catch ppc64le, now it does; same with
i686.

mkinitrd-dracut.sh

index 82d90684eddf337a692b0471b2b1fb2884482ad1..c2141d682732c28039f17da22bf000caefbd6cf8 100755 (executable)
@@ -57,10 +57,10 @@ default_kernel_images() {
         s390|s390x)
             regex='image'
             ;;
-        ppc|ppc64)
+        ppc*)
             regex='vmlinux'
             ;;
-        i386|x86_64)
+        i?86|x86_64)
             regex='vmlinuz'
             ;;
         arm*)