linux-2.6 stable with patches

Jasper Huijsmans jasper at lunar-linux.org
Sat Mar 19 09:32:17 UTC 2005


Hi Moe,

With the kernels new -stable release strategy, I thought it might be 
better to use a base tarball with patches instead of downloading a 
complete kernel source every couple of days.

Attached patch worked for me (for 2.6.11.5). Wat do you think?

	Jasper
-------------- next part --------------
Index: DETAILS
===================================================================
RCS file: /var/cvs/lunar/moonbase/kernel/linux-2.6/DETAILS,v
retrieving revision 1.11
diff -u -r1.11 DETAILS
--- DETAILS	14 Mar 2005 15:47:23 -0000	1.11
+++ DETAILS	19 Mar 2005 09:26:03 -0000
@@ -1,14 +1,19 @@
           MODULE=linux-2.6
-         VERSION=2.6.11.3
-          SOURCE=linux-${VERSION}.tar.bz2
+         VERSION=2.6.11.5
+	    BASE=2.6.11
+          SOURCE=linux-${BASE}.tar.bz2
+	 SOURCE2=patch-${VERSION}.bz2
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/linux-$VERSION
    SOURCE_URL[0]=$KERNEL_URL/pub/linux/kernel/v2.6/
    SOURCE_URL[1]=http://www.kernel.org/pub/linux/kernel/v2.6/
-      SOURCE_VFY=sha1:2177d38ed261b5af622f07b41b630e00f6f57509
+  SOURCE2_URL[0]=$KERNEL_URL/pub/linux/kernel/v2.6/
+  SOURCE2_URL[1]=http://www.kernel.org/pub/linux/kernel/v2.6/
+      SOURCE_VFY=sha1:d72ab76360d004dac4b976633dd0490e8d4b15cd
+     SOURCE2_VFY=sha1:1b6cc1b0eaa1c070a58eed3de79c0db5e7a54a48
 	WEB_SITE=http://www.kernel.org
      KEEP_SOURCE=on
 	 ENTERED=20041019
-         UPDATED=20050314
+         UPDATED=20050319
            SHORT="The Linux kernel is the core of a Linux GNU Operating System."
 cat << EOF
 This is the stable version of the 2.6.x branch.
Index: PRE_BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/kernel/linux-2.6/PRE_BUILD,v
retrieving revision 1.12
diff -u -r1.12 PRE_BUILD
--- PRE_BUILD	9 Mar 2005 14:49:06 -0000	1.12
+++ PRE_BUILD	19 Mar 2005 09:26:03 -0000
@@ -20,6 +20,11 @@
   exit 1
 fi
 
+# if we have an EXTRA patch, apply it
+if [ -n "${SOURCE2}" ]; then 
+    patch_it ${SOURCE2} 1
+fi
+
 if  [ -f $CONFIG_CACHE/.config.2.6.stable ]; then
     cp $CONFIG_CACHE/.config.2.6.stable $BUILD_DIRECTORY/linux/.config;
 elif [ -f $CONFIG_CACHE/.config.beta ]; then


More information about the Lunar-dev mailing list