Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=66904a0bb4eeba3ce2538db5ac6f0c0e7e0e6d88

commit 66904a0bb4eeba3ce2538db5ac6f0c0e7e0e6d88
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Mon Jun 9 19:08:36 2008 +0200

include/kernel.sh: always include the correct patchlevel in config
- so that if a user has a kernel like 2.6.25-fw2, it'll be still obvious
what kernel version it was based on

diff --git a/source/include/kernel.sh b/source/include/kernel.sh
index 5875fb1..9ced994 100644
--- a/source/include/kernel.sh
+++ b/source/include/kernel.sh
@@ -249,6 +249,9 @@ Fbuildkernel()
cp $Fsrcdir/config .config || Fdie
fi

+       if [ -n "$_F_kernel_stable" ]; then
+               sed -i "/Linux kernel version:/s/: .*/: 
$_F_kernel_ver.$_F_kernel_stable/" .config
+       fi

[ $_F_kernel_stable -gt 0 ] && Fpatch patch-$_F_kernel_ver.$_F_kernel_stable
[ $_F_kernel_rc -gt 0 ] && Fpatch patch-$_F_kernel_rcver
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to