User Tools

Site Tools


developingpld:ackernelbuildernotes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
developingpld:ackernelbuildernotes [2007-08-18 11:39]
glen
developingpld:ackernelbuildernotes [2012-03-30 15:10]
glen make room for th
Line 1: Line 1:
 +/* page was renamed from DevelopingPLD/​KernelBuilderNotes */
  
  
Line 4: Line 5:
 There are two kernels in AC: plain kernel and kernel with full grsecurity. ​ There are two kernels in AC: plain kernel and kernel with full grsecurity. ​
  
-First you should send main kernel pkg and it's modules, and after moving those to updates you can start with grsecurity. (well kernel itself can be sent both). ​+First you should send main kernel pkg and it's modules, and **after moving those to updates** you can start with grsecurity. (wellkernel itself can be sent both at once). 
  
-kernel packages should be sent from ''​LINUX_2_6_16''​ (you may move ''​AC-branch''​ tag to achieve that) for modules make updates on ''​AC-branch''​ with exception on unionfs where you should update ''​LINUX_2_6_16''​ branch and move ''​AC-branch''​ tag. +kernel packages should be sent from ''​LINUX_2_6_16'' ​branch ​(you may move ''​AC-branch''​ tag to achieve that)  
 + 
 +for modules make updates on ''​AC-branch'' ​branch ​with exception on unionfswhere you should update ''​LINUX_2_6_16''​ branch and move the ''​AC-branch''​ tag. 
  
 currently the kernel packages are:  currently the kernel packages are: 
  
-<​file>​drbd.spec ​      kernel-net-zd1211.spec  ​p2p.spec     submount.spec           X11-driver-nvidia-legacy2.spec +<​file>​drbd.spec 
-eagle-usb.spec  kernel-scsi-mv.spec ​    qemu.spec ​   svgalib.spec            ​X11-driver-nvidia-legacy.spec +drbd8.spec 
-em8300.spec     libfuse.spec            rt2400.spec ​ unionfs.spec ​           X11-driver-nvidia.spec +eagle-usb.spec  ​ 
-ipp2p.spec      ​ndiswrapper.spec        ​shfs.spec ​   ​X11-driver-firegl.spec  zaptel.spec+em8300.spec      
 +ipp2p.spec       
 +kernel-net-zd1211.spec  ​ 
 +kernel-scsi-mv.spec ​     
 +libfuse.spec            ​ 
 +ndiswrapper.spec         
 +p2p.spec      
 +qemu.spec     
 +rt2400.spec  ​ 
 +shfs.spec ​    
 +submount.spec ​           
 +svgalib.spec ​            
 +unionfs.spec ​           ​ 
 +X11-driver-firegl.spec   
 +X11-driver-nvidia.spec 
 +X11-driver-nvidia-legacy.spec 
 +X11-driver-nvidia-legacy2.spec 
 +zaptel.spec
 </​file>​ </​file>​
-To send kernel packages: $ ./make-request.sh -r kernel $ ./​make-request.sh -r kernel --with grsec_full }}} +also be sure to move ''​AC-branch''​ for ''​unionfs.spec'': ​
  
 +<​file>​$ ac-tag -r LINUX_2_6_16 unionfs.spec
 +# $Revision: 1.24.2.12 $, $Date: 2007/09/05 19:30:12 $
 +Version: 1.2
 +Release: 53@2.6.21.4_1.3
 +CVS tag: AC-branch
 +T unionfs.spec
 +</​file>​
 +To send kernel packages: ​
 +
 +<​file>​$ ./​make-request.sh -r kernel:​LINUX_2_6_16
 +$ ./​make-request.sh -r kernel:​LINUX_2_6_16 --with grsec_full
 +</​file>​
 To send modules: ​ To send modules: ​
  
-<​file>​$ ./​make-request.sh -r <speclist>+<​file>​$ ./​make-request.sh -r <speclist_with_AC_BRANCH>
 $ ./​make-request.sh -r --with grsec_kernel <​speclist>​ $ ./​make-request.sh -r --with grsec_kernel <​speclist>​
 +</​file>​
 +Remember to pass AC-branch for kernel packages in the first build. ​
 +
 +To get spec list and tagnames for grsec modules, issue something like: 
 +
 +<​file>​rpm/​kernel/​SPECS$ autotag *.spec
 +drbd.spec:​auto-ac-drbd-0_7_22-52
 +eagle-usb.spec:​auto-ac-eagle-usb-2_3_3-52
 +em8300.spec:​auto-ac-em8300-0_16_0-52
 +ipp2p.spec:​auto-ac-ipp2p-0_8_2-52
 +kernel-net-zd1211.spec:​auto-ac-zd1211-0_0_2-52
 +kernel-scsi-mv.spec:​auto-ac-kernel-scsi-mv-3_4_2a-52
 +libfuse.spec:​auto-ac-libfuse-2_6_1-52
 +ndiswrapper.spec:​auto-ac-ndiswrapper-1_15-52
 +p2p.spec:​auto-ac-kernel-net-p2p-0_3_0a-52
 +qemu.spec:​auto-ac-qemu-1_3_0pre11-52
 +rt2400.spec:​auto-ac-rt2400-1_2_2-52
 +shfs.spec:​auto-ac-shfs-0_35-52
 +submount.spec:​auto-ac-submount-0_9-52
 +svgalib.spec:​auto-ac-svgalib-1_9_25-52
 +unionfs.spec:​auto-ac-unionfs-1_2-52
 +X11-driver-firegl.spec:​auto-ac-X11-driver-firegl-8_36_5-52
 +X11-driver-nvidia-legacy2.spec:​auto-ac-X11-driver-nvidia-legacy2-1_0_9639-52
 +X11-driver-nvidia-legacy.spec:​auto-ac-X11-driver-nvidia-legacy-1_0_7185-52
 +X11-driver-nvidia.spec:​auto-ac-X11-driver-nvidia-100_14_09-52
 +zaptel.spec:​auto-ac-zaptel-1_2_17-52
 +</​file>​
 +List of *.info files (for ftp admin): ​
 +
 +<​file>​drbd-*.src.rpm.info
 +drbd8-*.src.rpm.info
 +eagle-usb-*.src.rpm.info
 +em8300-*.src.rpm.info
 +ipp2p-*.src.rpm.info ​
 +zd1211-*.src.rpm.info
 +kernel-*scsi-mv-*.src.rpm.info
 +libfuse-*.src.rpm.info
 +ndiswrapper-*.src.rpm.info
 +p2p-*.src.rpm.info
 +qemu-*.src.rpm.info
 +rt2400-*.src.rpm.info
 +shfs-*.src.rpm.info
 +submount-*.src.rpm.info
 +svgalib-*.src.rpm.info
 +unionfs-*.src.rpm.info
 +X11-driver-firegl-*.src.rpm.info
 +X11-driver-nvidia-legacy2-*.src.rpm.info
 +X11-driver-nvidia-legacy-*.src.rpm.info
 +X11-driver-nvidia-100.*.src.rpm.info
 +zaptel-*.src.rpm.info
 +</​file>​
 +To build for desktop/​laptop kernel which has no up/smp bconds: ​
 +
 +<​file>​$ rpmbuild -bb X11-driver-nvidia --alt_kernel desktop --without smp --without up
 +</​file>​
 +Th packages: ​
 +
 +<​file>​$ ./relup.sh -m '- 2.6.16.59-2'​ acerhk.spec aufs.spec btsco.spec ipp2p.spec kernel-net-ieee80211.spec kernel-net-rt61.spec kvm.spec mISDN.spec madwifi-ng.spec r1000.spec rt2500.spec slmodem.spec svgalib.spec xorg-driver-video-nvidia-legacy.spec xorg-driver-video-nvidia-legacy2.spec ​ xorg-driver-video-nvidia.spec zaptel.spec
 </​file>​ </​file>​
  
developingpld/ackernelbuildernotes.txt · Last modified: 2012-03-30 15:11 by glen