This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
developingpld:ackernelbuildernotes [2007-09-05 21:26] glen |
developingpld:ackernelbuildernotes [2012-03-30 15:11] (current) glen no ACK |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | /* page was renamed from DevelopingPLD/ACKernelBuilderNotes */ | ||
+ | /* page was renamed from DevelopingPLD/KernelBuilderNotes */ | ||
Line 4: | Line 6: | ||
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. (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) | kernel packages should be sent from ''LINUX_2_6_16'' branch (you may move ''AC-branch'' tag to achieve that) | ||
Line 12: | Line 14: | ||
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> | ||
also be sure to move ''AC-branch'' for ''unionfs.spec'': | also be sure to move ''AC-branch'' for ''unionfs.spec'': | ||
Line 33: | Line 52: | ||
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> | </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: | To get spec list and tagnames for grsec modules, issue something like: | ||
Line 59: | Line 80: | ||
X11-driver-nvidia.spec:auto-ac-X11-driver-nvidia-100_14_09-52 | X11-driver-nvidia.spec:auto-ac-X11-driver-nvidia-100_14_09-52 | ||
zaptel.spec:auto-ac-zaptel-1_2_17-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> | ||