SPECS (LINUX_2_6): kernel.spec - add config change tracking, script warns i...

sparky sparky at pld-linux.org
Sun Sep 28 13:57:05 CEST 2008


Author: sparky                       Date: Sun Sep 28 11:57:05 2008 GMT
Module: SPECS                         Tag: LINUX_2_6
---- Log message:
- add config change tracking, script warns if make oldconfig has redefined
  any option

---- Files affected:
SPECS:
   kernel.spec (1.441.2.1969 -> 1.441.2.1970) 

---- Diffs:

================================================================
Index: SPECS/kernel.spec
diff -u SPECS/kernel.spec:1.441.2.1969 SPECS/kernel.spec:1.441.2.1970
--- SPECS/kernel.spec:1.441.2.1969	Sun Sep 28 00:37:44 2008
+++ SPECS/kernel.spec	Sun Sep 28 13:56:58 2008
@@ -157,6 +157,9 @@
 Source5:	kernel-ppclibs.Makefile
 Source6:	kernel-config.awk
 Source7:	kernel-module-build.pl
+Source8:	kernel-track-config-change.awk
+# not used by kernel.spec, but it's good to have it in SOURCES
+Source9:	kernel-config-sort.pl
 
 Source19:	kernel-multiarch.config
 Source20:	kernel-i386.config
@@ -1246,6 +1249,9 @@
 	$KERNEL_INSTALL_DIR%{_kernelsrcdir}/include/linux/autoconf-dist.h
 install .config \
 	$KERNEL_INSTALL_DIR%{_kernelsrcdir}/config-dist
+
+%{__awk} -v infile=%{defconfig} -f %{SOURCE8} .config
+
 BuildKernel
 PreInstallKernel
 
@@ -1653,6 +1659,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.441.2.1970  2008/09/28 11:56:58  sparky
+- add config change tracking, script warns if make oldconfig has redefined
+  any option
+
 Revision 1.441.2.1969  2008/09/27 22:37:44  sparky
 - no more TuneUpConfigForIX86, ix86 subarchitecture optimization info is
   specified in kernel-i386.config
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/kernel.spec?r1=1.441.2.1969&r2=1.441.2.1970&f=u



More information about the pld-cvs-commit mailing list