From 4d066f719bef05c031079b5d5329abbfaa79ae91 Mon Sep 17 00:00:00 2001 From: Albert Hopkins Date: Sat, 14 Jun 2014 21:52:04 +0000 Subject: [PATCH] scripts/kernel.sh: copy kernel .config before making mrproper. Else it don't work :P --- scripts/kernel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/kernel.sh b/scripts/kernel.sh index 4791494..abf35fb 100755 --- a/scripts/kernel.sh +++ b/scripts/kernel.sh @@ -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