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
|
make ${MAKEOPTS} modules_install
|
||||||
rm -f /boot/vmlinuz*
|
rm -f /boot/vmlinuz*
|
||||||
make ${MAKEOPTS} install
|
make ${MAKEOPTS} install
|
||||||
|
cp -a /usr/src/linux/.config /root/kernel.config
|
||||||
make ${MAKEOPTS} mrproper
|
make ${MAKEOPTS} mrproper
|
||||||
cd /boot
|
cd /boot
|
||||||
k=`/bin/ls -1 vmlinuz-*`
|
k=`/bin/ls -1 vmlinuz-*`
|
||||||
ln -nsf $k vmlinuz
|
ln -nsf $k vmlinuz
|
||||||
cp -a /usr/src/linux/.config /root/kernel.config
|
|
||||||
${EMERGE} --depclean
|
${EMERGE} --depclean
|
||||||
|
|
Loading…
Reference in New Issue