SPECS: kernel-vanilla.spec - produce new kernel config from genera...

glen glen at pld-linux.org
Tue Jan 29 00:24:42 CET 2008


Author: glen                         Date: Mon Jan 28 23:24:42 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- produce new kernel config from generated one

---- Files affected:
SPECS:
   kernel-vanilla.spec (1.70 -> 1.71) 

---- Diffs:

================================================================
Index: SPECS/kernel-vanilla.spec
diff -u SPECS/kernel-vanilla.spec:1.70 SPECS/kernel-vanilla.spec:1.71
--- SPECS/kernel-vanilla.spec:1.70	Mon Jan 28 23:19:59 2008
+++ SPECS/kernel-vanilla.spec	Tue Jan 29 00:24:37 2008
@@ -78,6 +78,7 @@
 Source2:	kernel-vanilla-module-build.pl
 Source3:	kernel-vanilla-config.h
 Source6:	kernel-config.py
+Source7:	kernel-config-update.py
 
 Source19:	kernel-vanilla-multiarch.conf
 
@@ -407,6 +408,7 @@
 find . '(' -name '*~' -o -name '*.orig' -o -name '.gitignore' ')' -print0 | xargs -0 -r -l512 rm -f
 
 ln -s %{SOURCE6} kernel-config.py
+ln -s %{SOURCE7} kernel-config-update.py
 
 %build
 TuneUpConfigForIX86 () {
@@ -486,6 +488,10 @@
 		$KERNEL_INSTALL_DIR%{_kernelsrcdir}/include/linux/autoconf-dist.h
 	install arch/%{target_arch_dir}/defconfig \
 		$KERNEL_INSTALL_DIR%{_kernelsrcdir}/config-dist
+
+	# produce new kernel config
+	%{__make} %{MakeOpts} silentoldconfig
+	python kernel-config-update.py $Config kernel-vanilla-multiarch.conf .config > .config.conf
 }
 
 BuildKernel() {
@@ -854,6 +860,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.71  2008-01-28 23:24:37  glen
+- produce new kernel config from generated one
+
 Revision 1.70  2008-01-28 22:19:59  glen
 - netfilter config merged to multiarch config
 
================================================================

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



More information about the pld-cvs-commit mailing list