[Lunar-commits] <moonbase> linux-2.6: add an optional patch to add cgroups fs entry (for systemd).
Florin Braescu
florin at lunar-linux.org
Wed Oct 6 15:09:48 CEST 2010
commit e9c7695232709b1d72d85dbdeb9e2ef7de35ddd4
Author: Florin Braescu <florin at lunar-linux.org>
Date: Wed Oct 6 16:09:48 2010 +0300
linux-2.6: add an optional patch to add cgroups fs entry (for systemd).
---
kernel/linux-2.6/BUILD | 4 +++-
kernel/linux-2.6/CONFIGURE | 3 ++-
kernel/linux-2.6/DETAILS | 3 +++
3 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/kernel/linux-2.6/BUILD b/kernel/linux-2.6/BUILD
index a20e8d3..5fb1402 100644
--- a/kernel/linux-2.6/BUILD
+++ b/kernel/linux-2.6/BUILD
@@ -1,5 +1,7 @@
(
-
+ if [ "$ADD_CGROUPS" == "y" ]; then
+ patch_it ${SOURCE3} 1
+ fi &&
while
if [ "$CONFIG_KERNEL" == "y" ]; then
if [ "$PREFER_XCONFIG" == "y" -a -n "$DISPLAY" ]; then
diff --git a/kernel/linux-2.6/CONFIGURE b/kernel/linux-2.6/CONFIGURE
index 8fa5719..c5423b0 100644
--- a/kernel/linux-2.6/CONFIGURE
+++ b/kernel/linux-2.6/CONFIGURE
@@ -2,9 +2,10 @@ mquery PREFER_XCONFIG "Do you prefer xconfig over menuconfig?" n
if [ "`get_module_config PREFER_XCONFIG`" = "y" ]; then
set_module_config "PREFER_MENUCONFIG" "n" ;
-else
+else
mquery PREFER_MENUCONFIG "Do you prefer menuconfig over config?" y
fi
+mquery ADD_CGROUPS "Patch the kernel to add cgroups file system entry (for systemd) ?" n
unset_module_config CONFIG_KERNEL
mquery CONFIG_KERNEL "Configure linux kernel?" n
diff --git a/kernel/linux-2.6/DETAILS b/kernel/linux-2.6/DETAILS
index 8a36aee..76e7e3e 100644
--- a/kernel/linux-2.6/DETAILS
+++ b/kernel/linux-2.6/DETAILS
@@ -3,13 +3,16 @@
BASE=$(echo $VERSION | cut -d. -f1,2,3)
SOURCE=linux-${BASE}.tar.bz2
SOURCE2=patch-${VERSION}.bz2
+ SOURCE3=$MODULE-cgroups.patch.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
SOURCE2_URL[0]=$KERNEL_URL/pub/linux/kernel/v2.6
SOURCE2_URL[1]=http://www.kernel.org/pub/linux/kernel/v2.6
+ SOURCE3_URL=$PATCH_URL
SOURCE_VFY=sha1:4cb1fbfbeedcd658ca37739679c65dfaa136bf4e
SOURCE2_VFY=sha1:e898d93008cecdd429a9332b148eda2b446b9fd5
+ SOURCE3_VFY=sha1:925d98a772a8e6ed1e83f22b0cb9e3f66ffdabb6
WEB_SITE=http://www.kernel.org
ENTERED=20041019
UPDATED=20100929
More information about the Lunar-commits
mailing list