pkgsrc-wip/linux-kernel/TODO
Jeremy C. Reed 19cb71d256 Update linux-kernel to 2.6.3 version. The changelog is very long.
It is located at http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.3.

Also made other changes to the packaging including:
- build dependency changed from linux-modutils to
linux-module-init-tools which supports this new kernel.
- save the .config file for later reference.
- make sure modules are installed under $PREFIX
- add modules to PLIST
- update the TODO
- add several configs to the files/extra-configs, such as:
AGP modules, DRM modules, loopback module, eepro network card module,
ntfs module, and others.
2004-03-07 02:29:19 +00:00

61 lines
2.1 KiB
Text

add xfs support as a module?
add other sound cards and NIC card modules
should this build a normal vmlinuz or bzImage kernel?
should this use LINUX_VERSION or PKGVERSION in PLIST?
make sure ownership of modules is root (see makefile for -r switch)
why were modules/2.4.22/modules.usbmap
modules/2.4.22/modules.generic_string
modules/2.4.22/modules.parportmap
modules/2.4.22/modules.pnpbiosmap
modules/2.4.22/modules.isapnpmap
modules/2.4.22/modules.dep
modules/2.4.22/modules.ieee1394map
modules/2.4.22/modules.pcimap
files touched too? (2.4.22 files touch on a 2.6.x install)
if [ -r System.map ]; then /usr/sbin/depmod -ae -F System.map 2.6.3; fidepmod: *** Unresolved symbols in /lib/modules/2.6.3/kernel/drivers/message/i2o/i2o_config.ko
depmod: i2o_post_this
depmod: *** Unresolved symbols in /lib/modules/2.6.3/kernel/drivers/net/ppp_generic.ko
depmod: slhc_init
FATAL: ldconfig must be used with "||${TRUE}".
(that is bug in pkglint.)
make sure gcc exists (see very bottom of Makefile)
thread about missing stdarg.h
http://www.ussg.iu.edu/hypermail/linux/kernel/0209.3/1015.html
For time being I run kernel make like this:
GCC_EXEC_PREFIX=/usr/app/gcc/lib/gcc-lib/ make
make package for linux-kernel-headers too
${MAKE} include/linux/version.h
glibc provides its own <net/*> and <scsi/*> header files to replace them
so just include/asm and include/linux
message to suggest running lilo if using LILO
maybe dynamically figure out modules for PLIST
LOCALBASE should be / for PLIST to be right
(need to use LOCLABASE for the install part too.)
should install .config file too; for example:
Knoppix kernel-headers-2.4.22-xfs_10.00.Custom_i386.deb
ar p ../kernel-headers-2.4.22-xfs_10.00.Custom_i386.deb data.tar.gz | tar zxf -
and found usr/src/kernel-headers-2.4.22-xfs/.config
try to just install headers with make config followed by make include/linux/version.h
copy certain directories from include to /usr/include
look at default /boot/config-2.2.20-idepci
# cp -i arch/i386/boot/bzImage /bzImage.-- with kernel-version- or other name
# maybe copy to boot directory (as lilo also knows it)