summaryrefslogtreecommitdiff
path: root/sys-kernel/dracut/files/044-0004-redcore-change-default-initramfs-name.patch
blob: 39163375750060e050c07950791c247cafe44f85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Nur a/dracut.sh b/dracut.sh
--- a/dracut.sh	2015-11-25 13:22:28.000000000 +0000
+++ b/dracut.sh	2017-12-30 00:26:04.680751115 +0000
@@ -627,7 +627,7 @@
     if [[ $MACHINE_ID ]] && ( [[ -d /boot/${MACHINE_ID} ]] || [[ -L /boot/${MACHINE_ID} ]] ); then
         outfile="/boot/${MACHINE_ID}/$kernel/initrd"
     else
-        outfile="/boot/initramfs-$kernel.img"
+        outfile="/boot/initrd-$kernel"
     fi
 fi