scripts kernel working
[scripta.git] / menu / kernel / 2-build
blob16f8cfc317d2d2a3b74fe2be8e4e5bc78520d4ad
1 NEED_SUDO="yes"
3 function genkernel_call()
5         `which zcat` /proc/config.gz >/usr/src/config
6         `which genkernel` --kernel-config=/usr/src/config --kernel-cc=distcc --utils-cc=distcc all --gconfig --install
7         
10 function run()
12         . kernel_tool.inc
13         
14         cd $BOOT_DIR
15         
16         backup new last
18         genkernel_call
20         select_first new
22         select_second old