scripts/kernel.sh: Run "make mrproper" after kernel install.
This allows "emerge --depclean" to completely clean out the kernel source directory.
This commit is contained in:
parent
2ecdbeae49
commit
cf3dbf1dda
|
@ -27,6 +27,7 @@ rm -rf /lib/modules/*
|
|||
make ${MAKEOPTS} modules_install
|
||||
rm -f /boot/vmlinuz*
|
||||
make ${MAKEOPTS} install
|
||||
make ${MAKEOPTS} mrproper
|
||||
cd /boot
|
||||
k=`/bin/ls -1 vmlinuz-*`
|
||||
ln -nsf $k vmlinuz
|
||||
|
|
Loading…
Reference in New Issue