with_dbgonly

poma pomidorabelisima at gmail.com
Tue May 6 00:31:56 UTC 2014


 $ diff kernel-3.15.0-0.rc4.git0.3.fc21.src/kernel.spec \
 > kernel-3.15.0-0.rc4.git0.1.fc21.src/kernel.spec
 37c37
 < %global baserelease 3
 ---
 > %global baserelease 1
 644,645d643
 < Patch30000: cachelines-revert.patch
 < 
 1367,1368d1364
 < ApplyPatch cachelines-revert.patch
 < 
 2231a2228,2231
 > * Mon May 05 2014 Josh Boyer <jwboyer at fedoraproject.org> - 3.15.0-0.rc4.git0.1
 > - Linux v3.15-rc4
 > - Disable debugging options.
 > 
 
 
 $ rpmbuild -ba --with dbgonly --without debuginfo --target=`uname -m` kernel.spec
 
 $ ls -1
 kernel-3.15.0-0.rc4.git0.3.fc21.i686.rpm  <- 
 kernel-3.15.0-0.rc4.git0.3.fc21.src.rpm
 kernel-debug-3.15.0-0.rc4.git0.3.fc21.i686.rpm
 kernel-debug-core-3.15.0-0.rc4.git0.3.fc21.i686.rpm
 kernel-debug-devel-3.15.0-0.rc4.git0.3.fc21.i686.rpm
 kernel-debug-modules-3.15.0-0.rc4.git0.3.fc21.i686.rpm
 kernel-debug-modules-extra-3.15.0-0.rc4.git0.3.fc21.i686.rpm
 kernel-headers-3.15.0-0.rc4.git0.3.fc21.i686.rpm

 Is the "kernel-3.15.0-0.rc4.git0.3.fc21.i686.rpm" superfluous, given that it should belong to the 'baseonly'?


poma




More information about the kernel mailing list