scripts/kernel.sh: copy kernel .config before making mrproper.
Else it don't work :P
This commit is contained in:
parent
fd40aac3bf
commit
4d066f719b
|
@ -27,9 +27,9 @@ rm -rf /lib/modules/*
|
|||
make ${MAKEOPTS} modules_install
|
||||
rm -f /boot/vmlinuz*
|
||||
make ${MAKEOPTS} install
|
||||
cp -a /usr/src/linux/.config /root/kernel.config
|
||||
make ${MAKEOPTS} mrproper
|
||||
cd /boot
|
||||
k=`/bin/ls -1 vmlinuz-*`
|
||||
ln -nsf $k vmlinuz
|
||||
cp -a /usr/src/linux/.config /root/kernel.config
|
||||
${EMERGE} --depclean
|
||||
|
|
Loading…
Reference in New Issue