[packages/kernel/LINUX_3_4] - always dereference symlinks when copying .config file
baggins
baggins at pld-linux.org
Sun Apr 14 11:55:12 CEST 2013
commit 2781e997f58a4ad833f9618c11efa34f67741d42
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Apr 14 11:54:01 2013 +0200
- always dereference symlinks when copying .config file
kernel.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/kernel.spec b/kernel.spec
index 0fee7d5..58c5556 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -1018,7 +1018,7 @@ done
# /boot
install -d $RPM_BUILD_ROOT/boot
cp -a %{objdir}/System.map $RPM_BUILD_ROOT/boot/System.map-%{kernel_release}
-cp -a %{objdir}/.config $RPM_BUILD_ROOT/boot/config-%{kernel_release}
+cp -aL %{objdir}/.config $RPM_BUILD_ROOT/boot/config-%{kernel_release}
%ifarch %{ix86} %{x8664}
cp -a %{objdir}/arch/%{target_arch_dir}/boot/bzImage $RPM_BUILD_ROOT/boot/vmlinuz-%{kernel_release}
install -p %{objdir}/vmlinux $RPM_BUILD_ROOT/boot/vmlinux-%{kernel_release}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kernel.git/commitdiff/6f05cdb71c28df53ddf5ccd771d55255b3b53e7c
More information about the pld-cvs-commit
mailing list