scripts/kernel.sh: copy kernel .config before making mrproper.

Else it don't work :P
This commit is contained in:
Albert Hopkins 2014-06-14 21:52:04 +00:00
parent fd40aac3bf
commit 4d066f719b
1 changed files with 1 additions and 1 deletions

View File

@ -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