????3????д??????
????????????????????????install.sh???
????????????λ?ü??????????
????INSTALLKERNEL=installkernel
????????д?????? install_kernel.sh

 

#!/bin/bash
PROGRAM=install_kernel.sh
if [ "$0" != "${PROGRAM}" ]; then
if [ "$0" != "./""${PROGRAM}" ]; then
echo "ERROR: ****** !"
exit
fi
fi
echo "0%..."
/bin/cp -rf lib/modules/3.5.3 /lib/modules/
echo "30%..."
/bin/sh depmod.sh /sbin/depmod 3.5.3
echo "60%..."
sh install.sh 3.5.3 bzImage System.map "/boot"
echo ""
echo "install success !"

????4?????kernel-3.5.3??????μ?????
????????????????豸???????????install_kernel.sh??????????????
????????linux????????
????????????????????????????????????????????????????????±????????????μ????????????????????????????????????????
????????????????????????????????????????3.5.3????????????????????????????
???????????? kernel-3.5.3-devel
????kernel-3.5.3-devel?????usr/src/kernel/3.5.3??
???????????????arch/x86 ??3.5.3/arch?? ???????boot???????????????
???????????????include??3.5.3??
???????????????scripts??3.5.3??
???????????????usr ??3.5.3??
??????????????? .config Kbuild Kconfig Makefile Module.symvers modules.builtin modules.order System.map??3.5.3??
????Kernel-3.5.3???????lib/modules/3.5.3
???????lib/modules/3.5.3?У?????build??????????????../../../usr/src/kernel/3.5.3
??????????kernel-3.5.3-devel??????μ??????????????????????????????????????????????????????????????????????????????????豸????????????л???3.5.3????£???????????????????????