summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-kernel/dracut/dracut-044-r5.ebuild (renamed from sys-kernel/dracut/dracut-044-r4.ebuild)0
-rw-r--r--sys-kernel/dracut/files/044-0004-redcore-change-default-initramfs-name.patch14
2 files changed, 3 insertions, 11 deletions
diff --git a/sys-kernel/dracut/dracut-044-r4.ebuild b/sys-kernel/dracut/dracut-044-r5.ebuild
index 0b3c7d17..0b3c7d17 100644
--- a/sys-kernel/dracut/dracut-044-r4.ebuild
+++ b/sys-kernel/dracut/dracut-044-r5.ebuild
diff --git a/sys-kernel/dracut/files/044-0004-redcore-change-default-initramfs-name.patch b/sys-kernel/dracut/files/044-0004-redcore-change-default-initramfs-name.patch
index 4adb4fae..39163375 100644
--- a/sys-kernel/dracut/files/044-0004-redcore-change-default-initramfs-name.patch
+++ b/sys-kernel/dracut/files/044-0004-redcore-change-default-initramfs-name.patch
@@ -1,20 +1,12 @@
diff -Nur a/dracut.sh b/dracut.sh
--- a/dracut.sh 2015-11-25 13:22:28.000000000 +0000
-+++ b/dracut.sh 2016-11-24 00:24:59.601507598 +0000
-@@ -613,6 +613,7 @@
-
- if ! [[ $kernel ]]; then
- kernel=$(uname -r)
-+ kernelarch=$(uname -m)
- fi
-
- if [[ $kernel ]]; then
-@@ -627,7 +628,7 @@
++++ 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/initramfs-genkernel-$kernelarch-$kernel"
++ outfile="/boot/initrd-$kernel"
fi
fi