[packages/kernel/LINUX_3_10] fix initrd file for new-kernel-pkg script
glen
glen at pld-linux.org
Mon Feb 2 14:33:49 CET 2015
commit 41182e6ccf78810d55935f3ab218a6cb2407b026
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 63ad95f..a4c7226 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -1191,7 +1191,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/41182e6ccf78810d55935f3ab218a6cb2407b026
More information about the pld-cvs-commit
mailing list