[packages/kernel/LINUX_3_14] fix initrd file for new-kernel-pkg script

glen glen at pld-linux.org
Mon Feb 2 14:33:19 CET 2015


commit 0f241f93432621eeb66bc4f86471f9f4170e6632
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Feb 2 15:33:06 2015 +0200

    fix initrd file for new-kernel-pkg script

 kernel.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/kernel.spec b/kernel.spec
index e63af79..955db4e 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -1182,7 +1182,7 @@ if [ -x /sbin/update-grub -a -f /etc/sysconfig/grub ]; then
 	fi
 fi
 if [ -x /sbin/new-kernel-pkg ]; then
-	/sbin/new-kernel-pkg --initrdfile=%{initrd_dir}/initrd-%{kernel_release}.gz --install %{kernel_release} --banner "PLD Linux (%{pld_release})%{?alt_kernel: / %{alt_kernel}}"
+	/sbin/new-kernel-pkg --initrdfile=%{initrd_dir}/$initrd_file --install %{kernel_release} --banner "PLD Linux (%{pld_release})%{?alt_kernel: / %{alt_kernel}}"
 fi
 if [ -x /sbin/rc-boot ]; then
 	/sbin/rc-boot 1>&2 || :
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kernel.git/commitdiff/0f241f93432621eeb66bc4f86471f9f4170e6632



More information about the pld-cvs-commit mailing list