SOURCES: rpm.macros - build_kernel_modules: remove 'o' before inst...

sparky sparky at pld-linux.org
Tue Nov 14 21:00:47 CET 2006


Author: sparky                       Date: Tue Nov 14 20:00:47 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- build_kernel_modules: remove 'o' before installing, required for nvidia

---- Files affected:
SOURCES:
   rpm.macros (1.329 -> 1.330) 

---- Diffs:

================================================================
Index: SOURCES/rpm.macros
diff -u SOURCES/rpm.macros:1.329 SOURCES/rpm.macros:1.330
--- SOURCES/rpm.macros:1.329	Sun Nov 12 18:53:06 2006
+++ SOURCES/rpm.macros	Tue Nov 14 21:00:41 2006
@@ -1114,6 +1114,7 @@
 for cfg in %{?with_dist_kernel:%{?with_smp:smp} up}%{!?with_dist_kernel:nondist}; do \
 	[ -r "%{_kernelsrcdir}/config-$cfg" ] || exit 1					\
 																	\
+	rm -rf o														\
 	install -d o/include/linux										\
 	ln -sf %{_kernelsrcdir}/config-$cfg o/.config					\
 	ln -sf %{_kernelsrcdir}/Module.symvers-$cfg o/Module.symvers	\
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/rpm.macros?r1=1.329&r2=1.330&f=u



More information about the pld-cvs-commit mailing list