User Tools

Site Tools


developingpld:ackernelbuildernotes

Notes about sending kernel packages for AC

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 at once).

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 unionfs, where you should update LINUX_2_6_16 branch and move the AC-branch tag.

currently the kernel packages are:

drbd.spec
drbd8.spec
eagle-usb.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

also be sure to move AC-branch for unionfs.spec:

$ 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

To send kernel packages:

$ ./make-request.sh -r kernel:LINUX_2_6_16
$ ./make-request.sh -r kernel:LINUX_2_6_16 --with grsec_full

To send modules:

$ ./make-request.sh -r <speclist_with_AC_BRANCH>
$ ./make-request.sh -r --with grsec_kernel <speclist>

Remember to pass AC-branch for kernel packages in the first build.

To get spec list and tagnames for grsec modules, issue something like:

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

List of *.info files (for ftp admin):

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

To build for desktop/laptop kernel which has no up/smp bconds:

$ rpmbuild -bb X11-driver-nvidia --alt_kernel desktop --without smp --without up

Th packages:

$ ./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
developingpld/ackernelbuildernotes.txt · Last modified: 2012-03-30 15:11 by glen

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS PLD Linux Driven by DokuWiki