打印本文 打印本文 关闭窗口 关闭窗口
Linux kernel release 2.0.xx
作者:武汉SEO闵涛  文章来源:敏韬网  点击数3985  更新时间:2009/4/22 20:45:36  文章录入:mintao  责任编辑:mintao
 
 - You can also upgrade between 2.0.xx releases by patching.  Each
   patch that is released for 2.0.xx contains only bugfixes.  No
   new features will be added to the Linux kernel until the 2.1.xx
   development effort begins.  To install by patching, get all the
   newer patch files and do
 
            cd /usr/src
            gzip -cd patchXX.gz | patch -p0
 
   (repeat xx for all versions bigger than the version of your current
   source tree, _in_order_) and you should be ok.  You may want to remove
   the backup files (xxx~ or xxx.orig), and make sure that there are no
   failed patches (xxx# or xxx.rej). If there are, either you or me has
   made a mistake.
 
   Alternatively, the script patch-kernel can be used to automate this
   process.  It determines the current kernel version and applies any
   patches found.
 
            cd /usr/src
            linux/scripts/patch-kernel
 
   The default directory for the kernel source is /usr/src/linux, but
   can be specified as the first argument.  Patches are applied from
   the current directory, but an alternative directory can be specified
   as the second argument.
 
 - make sure your /usr/include/asm, /usr/include/linux, and /usr/include/scsi
   directories are just symlinks to the kernel sources:
 
            cd /usr/include
            rm -rf asm linux scsi
            ln -s /usr/src/linux/include/asm-i386 asm
            ln -s /usr/src/linux/include/linux linux
            ln -s /usr/src/linux/include/scsi scsi
 
 - make sure you have no stale .o files and dependencies lying around:
 
            cd /usr/src/linux
            make mrproper
 
   You should now have the sources correctly installed.
 
CONFIGURING the kernel:
 

上一页  [1] [2] [3] [4] [5] [6]  下一页

打印本文 打印本文 关闭窗口 关闭窗口