repo.or.cz
/
scripta.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
scripts kernel working
[scripta.git]
/
menu
/
kernel
/
2-build
blob
16f8cfc317d2d2a3b74fe2be8e4e5bc78520d4ad
1
NEED_SUDO="yes"
2
3
function genkernel_call()
4
{
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
8
}
9
10
function run()
11
{
12
. kernel_tool.inc
13
14
cd $BOOT_DIR
15
16
backup new last
17
18
genkernel_call
19
20
select_first new
21
22
select_second old
23
}