[Lunar-commits] <moonbase> linux-2.6, linux-2.6-mm and linux-2.6-zen: moved to zdeprecated.

Florin Braescu florin at lunar-linux.org
Mon Nov 21 17:53:09 CET 2011


commit d99a7c8db683347f4fcdffa097520da1996f56b9
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Mon Nov 21 17:53:09 2011 +0100

    linux-2.6, linux-2.6-mm and linux-2.6-zen: moved to zdeprecated.
---
 kernel/linux-2.6-mm/BUILD              |   38 -----------------------
 kernel/linux-2.6-mm/CONFIGURE          |   11 -------
 kernel/linux-2.6-mm/DEPENDS            |    1 -
 kernel/linux-2.6-mm/DETAILS            |   22 -------------
 kernel/linux-2.6-mm/POST_INSTALL       |   10 ------
 kernel/linux-2.6-mm/PRE_BUILD          |   24 --------------
 kernel/linux-2.6-zen/BUILD             |   39 ------------------------
 kernel/linux-2.6-zen/CONFIGURE         |   11 -------
 kernel/linux-2.6-zen/DEPENDS           |    3 --
 kernel/linux-2.6-zen/DETAILS           |   31 -------------------
 kernel/linux-2.6-zen/POST_INSTALL      |    8 -----
 kernel/linux-2.6-zen/PRE_BUILD         |   32 -------------------
 kernel/linux-2.6/BUILD                 |   14 --------
 kernel/linux-2.6/CONFIGURE             |   11 -------
 kernel/linux-2.6/DEPENDS               |    2 -
 kernel/linux-2.6/DETAILS               |   27 ----------------
 kernel/linux-2.6/POST_INSTALL          |    8 -----
 kernel/linux-2.6/PRE_BUILD             |   52 --------------------------------
 zdeprecated/linux-2.6-mm/BUILD         |   38 +++++++++++++++++++++++
 zdeprecated/linux-2.6-mm/CONFIGURE     |   11 +++++++
 zdeprecated/linux-2.6-mm/DEPENDS       |    1 +
 zdeprecated/linux-2.6-mm/DETAILS       |   22 +++++++++++++
 zdeprecated/linux-2.6-mm/POST_INSTALL  |   10 ++++++
 zdeprecated/linux-2.6-mm/PRE_BUILD     |   24 ++++++++++++++
 zdeprecated/linux-2.6-zen/BUILD        |   39 ++++++++++++++++++++++++
 zdeprecated/linux-2.6-zen/CONFIGURE    |   11 +++++++
 zdeprecated/linux-2.6-zen/DEPENDS      |    3 ++
 zdeprecated/linux-2.6-zen/DETAILS      |   31 +++++++++++++++++++
 zdeprecated/linux-2.6-zen/POST_INSTALL |    8 +++++
 zdeprecated/linux-2.6-zen/PRE_BUILD    |   32 +++++++++++++++++++
 zdeprecated/linux-2.6/BUILD            |   14 ++++++++
 zdeprecated/linux-2.6/CONFIGURE        |   11 +++++++
 zdeprecated/linux-2.6/DEPENDS          |    2 +
 zdeprecated/linux-2.6/DETAILS          |   27 ++++++++++++++++
 zdeprecated/linux-2.6/POST_INSTALL     |    8 +++++
 zdeprecated/linux-2.6/PRE_BUILD        |   52 ++++++++++++++++++++++++++++++++
 36 files changed, 344 insertions(+), 344 deletions(-)

diff --git a/kernel/linux-2.6-mm/BUILD b/kernel/linux-2.6-mm/BUILD
deleted file mode 100644
index b8ed38f..0000000
--- a/kernel/linux-2.6-mm/BUILD
+++ /dev/null
@@ -1,38 +0,0 @@
-cd /usr/src/linux/
-    
-while
-if [ "$CONFIG_KERNEL" == "y" ]; then
-    if [ "$PREFER_XCONFIG" == "y" -a -n "$DISPLAY" ]; then
-        make xconfig || make menuconfig || make config
-    elif [ "$PREFER_MENUCONFIG" == "y" ]; then
-        make menuconfig || make config
-    else
-        make config
-    fi
-    if ! query "Repeat configuration?" n; then
-        CONFIG_KERNEL=n
-    fi
-else
-    false
-fi
-  do
-  true
-done
-
-(
-
-    MYARCH="`arch | grep -qw i.86 && echo i386 || arch`"
-    
-    cp  /usr/src/linux/.config  $CONFIG_CACHE/.config-2.6-mm
-    rm -f arch/$MYARCH/boot/bzImage
-    
-    make  ${MAKES:+-j$MAKES} bzImage      &&
-    make  ${MAKES:+-j$MAKES} modules      &&
-    backup_mods_krnl ${VERSION}    &&
-    prepare_install                &&
-    make  modules_install          &&
-
-    cp arch/$MYARCH/boot/bzImage /boot/${VERSION}                   && 
-    cp System.map             /boot/System.map-${VERSION}          
-
-) > $C_FIFO 2>&1
diff --git a/kernel/linux-2.6-mm/CONFIGURE b/kernel/linux-2.6-mm/CONFIGURE
deleted file mode 100644
index 8fa5719..0000000
--- a/kernel/linux-2.6-mm/CONFIGURE
+++ /dev/null
@@ -1,11 +0,0 @@
-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 
-    mquery PREFER_MENUCONFIG "Do you prefer menuconfig over config?" y
-fi
-
-unset_module_config CONFIG_KERNEL
-mquery CONFIG_KERNEL "Configure linux kernel?" n
-
diff --git a/kernel/linux-2.6-mm/DEPENDS b/kernel/linux-2.6-mm/DEPENDS
deleted file mode 100644
index abd2c77..0000000
--- a/kernel/linux-2.6-mm/DEPENDS
+++ /dev/null
@@ -1 +0,0 @@
-depends  module-init-tools
diff --git a/kernel/linux-2.6-mm/DETAILS b/kernel/linux-2.6-mm/DETAILS
deleted file mode 100644
index 2c8d5fd..0000000
--- a/kernel/linux-2.6-mm/DETAILS
+++ /dev/null
@@ -1,22 +0,0 @@
-          MODULE=linux-2.6-mm
-         VERSION=2.6.27-rc1-mm1
-  KERNEL_VERSION=2.6.26
-   PATCH_VERSION=2.6.27-rc1
-SOURCE_DIRECTORY=/usr/src/linux-$VERSION
-          SOURCE=linux-$KERNEL_VERSION.tar.bz2
-         SOURCE2=patch-$PATCH_VERSION.bz2
-         SOURCE3=2.6.27-rc1-mm1.bz2
-   SOURCE_URL[0]=$KERNEL_URL/pub/linux/kernel/v2.6/
-   SOURCE_URL[1]=http://kernel.org/pub/linux/kernel/v2.6/
-     SOURCE2_URL=http://kernel.org/pub/linux/kernel/v2.6/testing/
-     SOURCE3_URL=http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/$PATCH_VERSION/$VERSION/
-         ENTERED=20041013
-         UPDATED=20080801
-           SHORT="2.6 kernel with Andrew Morton's latest test patches."
-KEEP_SOURCE=on
-TMPFS=off
-cat << EOF
-The -mm patches are a set of patches, released by Andrew Morton, against the
-official 2.6 kernel series. They are frequently more experimental in nature
-than the official series.
-EOF
diff --git a/kernel/linux-2.6-mm/POST_INSTALL b/kernel/linux-2.6-mm/POST_INSTALL
deleted file mode 100644
index aa5dbac..0000000
--- a/kernel/linux-2.6-mm/POST_INSTALL
+++ /dev/null
@@ -1,10 +0,0 @@
-# Done to shorten the boot label for lilo
-LABEL=`echo ${VERSION} | sed 's/-//g'`
-
-update_bootloader ${VERSION} ${LABEL}
-
-#  Reinstall packages that add their own kernel modules
-lin -c kernel-reqs
-
-mkdir -p /sys
-
diff --git a/kernel/linux-2.6-mm/PRE_BUILD b/kernel/linux-2.6-mm/PRE_BUILD
deleted file mode 100644
index 8387a6b..0000000
--- a/kernel/linux-2.6-mm/PRE_BUILD
+++ /dev/null
@@ -1,24 +0,0 @@
-cd /usr/src
-
-if [ -d $SOURCE_DIRECTORY ]; then
-        message "Removing old -mm kernel source, conserving -mm .config"
-        cp $SOURCE_DIRECTORY/.config /etc/lunar/local/.config-2.6-mm
-        rm -rf $SOURCE_DIRECTORY
-fi
-
-validate_source_dir $SOURCE_DIRECTORY &&
-mk_source_dir $SOURCE_DIRECTORY &&
-rm -f /usr/src/linux &&
-ln -sf $SOURCE_DIRECTORY /usr/src/linux &&
-cd $SOURCE_DIRECTORY &&
-tar x --transform "s/linux-$KERNEL_VERSION\///" -f $SOURCE_CACHE/$SOURCE &&
-patch_it $SOURCE2 1 &&
-patch_it $SOURCE3 1 || exit 1
-
-for CONF in .config-2.6-mm .config.2.6.stable ; do        
-        if [ -f $CONFIG_CACHE/$CONF ]; then 
-                message "Importing $CONF as kernel default configuration"
-                cp $CONFIG_CACHE/$CONF /usr/src/linux/.config
-                break
-        fi
-done
diff --git a/kernel/linux-2.6-zen/BUILD b/kernel/linux-2.6-zen/BUILD
deleted file mode 100644
index a20e8d3..0000000
--- a/kernel/linux-2.6-zen/BUILD
+++ /dev/null
@@ -1,39 +0,0 @@
-(
-
-  while
-    if [ "$CONFIG_KERNEL" == "y" ]; then
-        if [ "$PREFER_XCONFIG" == "y" -a -n "$DISPLAY" ]; then
-            make xconfig || make menuconfig || make config
-        elif [ "$PREFER_MENUCONFIG" == "y" ]; then
-            make menuconfig || make config
-        else
-            make config
-        fi
-        if ! query "Repeat configuration?" n; then
-            CONFIG_KERNEL=n
-        fi
-    else
-        false
-    fi
-  do
-    true
-  done
-
-) && (
-
-  # Needed for x86_64
-  MYARCH="`arch | grep -qw i.86 && echo i386 || arch`"
-
-  echo | make oldconfig
-  LD_PRELOAD= cp .config $CONFIG_CACHE/.config.2.6.stable
-  rm -f arch/${MYARCH}/boot/bzImage
-
-  make ${MAKES:+-j$MAKES} bzImage  &&
-  make ${MAKES:+-j$MAKES} modules  &&
-  backup_mods_krnl $VERSION        &&
-  prepare_install                  &&
-  make modules_install             &&
-  cp arch/${MYARCH}/boot/bzImage /boot/$VERSION-`arch`  &&
-  cp System.map /boot/System.map-$VERSION-`arch`
-
-) > $C_FIFO 2>&1
diff --git a/kernel/linux-2.6-zen/CONFIGURE b/kernel/linux-2.6-zen/CONFIGURE
deleted file mode 100644
index 5dbd7cc..0000000
--- a/kernel/linux-2.6-zen/CONFIGURE
+++ /dev/null
@@ -1,11 +0,0 @@
-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
-    mquery PREFER_MENUCONFIG "Do you prefer menuconfig over config?" y
-fi
-
-unset_module_config CONFIG_KERNEL
-mquery CONFIG_KERNEL "Configure linux kernel?" n
-
diff --git a/kernel/linux-2.6-zen/DEPENDS b/kernel/linux-2.6-zen/DEPENDS
deleted file mode 100644
index 8ef0357..0000000
--- a/kernel/linux-2.6-zen/DEPENDS
+++ /dev/null
@@ -1,3 +0,0 @@
-depends  autoconf
-depends  module-init-tools
-depends  xz
diff --git a/kernel/linux-2.6-zen/DETAILS b/kernel/linux-2.6-zen/DETAILS
deleted file mode 100644
index 9eeaefe..0000000
--- a/kernel/linux-2.6-zen/DETAILS
+++ /dev/null
@@ -1,31 +0,0 @@
-          MODULE=linux-2.6-zen
-  KERNEL_VERSION=2.6.38
-     ZEN_VERSION=20110510
-         VERSION=$KERNEL_VERSION-zen
-          SOURCE=linux-$KERNEL_VERSION.tar.bz2
-         SOURCE2=zen-patch-2.6.38_p$ZEN_VERSION.diff.gz
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/linux-$VERSION
-   SOURCE_URL[0]=$KERNEL_URL/pub/linux/kernel/v2.6
-   SOURCE_URL[1]=http://kernel.org/pub/linux/kernel/v2.6
-     SOURCE2_URL=http://dev.gentoo.org/~hwoarang/distfiles
-     SOURCE_VFY=sha1:02aade5ad3dedd70739c9b4a05de40edbe432d25
-     SOURCE2_VFY=sha1:e34af331c7a8ad91bc4dcaf41ff2b18486744905
-             WEB_SITE=http://www.zen-kernel.org
-         ENTERED=20091218
-         UPDATED=20110421
-      MAINTAINER=neocrust at gmail.com
-           SHORT="2.6 kernel with latest Zen patches"
-     KEEP_SOURCE=on
-           TMPFS=off
-
-cat << EOF
-The Zen Kernel is a the result of a collaborative effort of kernel
-hackers to provide the best Linux kernel possible for every day
-systems. We include code that is not included in the mainline kernel
-in an attempt to create an all-around better kernel for desktops
-(although it can be compiled otherwise). This is done by including
-new features, supporting latest hardware, and including various code
-and optimizations to better suit desktops. Zen is a 100% community
-oriented project so, as a result, everybody can contribute to the
-project.
-EOF
diff --git a/kernel/linux-2.6-zen/POST_INSTALL b/kernel/linux-2.6-zen/POST_INSTALL
deleted file mode 100644
index dd6cddc..0000000
--- a/kernel/linux-2.6-zen/POST_INSTALL
+++ /dev/null
@@ -1,8 +0,0 @@
-update_bootloader $VERSION-`arch` $VERSION-`arch`
-
-#  Reinstall packages that add their own kernel modules
-
-lin -c kernel-reqs
-
-# create /sys
-mkdir -p /sys
diff --git a/kernel/linux-2.6-zen/PRE_BUILD b/kernel/linux-2.6-zen/PRE_BUILD
deleted file mode 100644
index 21f96d7..0000000
--- a/kernel/linux-2.6-zen/PRE_BUILD
+++ /dev/null
@@ -1,32 +0,0 @@
-# Bail if we're not running a core with kernel functions
-
-if [ ! -e $FUNCTIONS/kernel.lunar ] ; then
-  message "${PROBLEM_COLOR}Bailing out, ${DEFAULT_COLOR}Lunar (or theedge) code version too old"
-  message "${PROBLEM_COLOR}Update core ${MODULE_COLOR}(lin lunar or lin theedge)${DEFAULT_COLOR} to install this kernel"
-  exit 1
-fi
-
-mk_source_dir $SOURCE_DIRECTORY
-rm -f /usr/src/linux
-ln -sf $SOURCE_DIRECTORY /usr/src/linux
-cd $SOURCE_DIRECTORY
-
-# Check wether we're running an up-to-date tar
-if [ `installed_version tar | cut -d. -f2` -ge 15 ]; then
-  tar xf $SOURCE_CACHE/$SOURCE --no-same-owner \
-  --no-same-permissions --strip-components=1
-else
-  message "${PROBLEM_COLOR}Error:${DEFAULT_COLOR} Please update your tar module"
-  exit 1
-fi
-
-# Applying ZEN patch!
-# lzma -df $SOURCE_CACHE/ - old versions
-patch_it zen-patch-2.6.38_p20110510.diff.gz 1
-
-if  [ -f $CONFIG_CACHE/.config.2.6.stable ]; then
-    cp $CONFIG_CACHE/.config.2.6.stable $SOURCE_DIRECTORY/.config;
-elif [ -f $CONFIG_CACHE/.config.beta ]; then
-    cp $CONFIG_CACHE/.config.beta $SOURCE_DIRECTORY/.config;
-fi
-
diff --git a/kernel/linux-2.6/BUILD b/kernel/linux-2.6/BUILD
deleted file mode 100644
index 6e27287..0000000
--- a/kernel/linux-2.6/BUILD
+++ /dev/null
@@ -1,14 +0,0 @@
-# Needed for x86_64
-MYARCH="`arch | grep -qw i.86 && echo i386 || arch`"
-
-echo | make oldconfig
-LD_PRELOAD= cp .config $CONFIG_CACHE/.config.2.6.stable
-rm -f arch/${MYARCH}/boot/bzImage
-
-make ${MAKES:+-j$MAKES} bzImage
-make ${MAKES:+-j$MAKES} modules
-backup_mods_krnl $VERSION
-prepare_install
-make modules_install
-cp arch/${MYARCH}/boot/bzImage /boot/$VERSION-`arch`
-cp System.map /boot/System.map-$VERSION-`arch`
diff --git a/kernel/linux-2.6/CONFIGURE b/kernel/linux-2.6/CONFIGURE
deleted file mode 100644
index d4f4842..0000000
--- a/kernel/linux-2.6/CONFIGURE
+++ /dev/null
@@ -1,11 +0,0 @@
-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
-    mquery PREFER_MENUCONFIG "Do you prefer menuconfig over config?" y
-fi
-
-unset_module_config CONFIG_KERNEL
-mquery CONFIG_KERNEL "Configure linux kernel?" n
-
diff --git a/kernel/linux-2.6/DEPENDS b/kernel/linux-2.6/DEPENDS
deleted file mode 100644
index 5a3371a..0000000
--- a/kernel/linux-2.6/DEPENDS
+++ /dev/null
@@ -1,2 +0,0 @@
-depends  autoconf
-depends  module-init-tools
diff --git a/kernel/linux-2.6/DETAILS b/kernel/linux-2.6/DETAILS
deleted file mode 100644
index af9cc22..0000000
--- a/kernel/linux-2.6/DETAILS
+++ /dev/null
@@ -1,27 +0,0 @@
-          MODULE=linux-2.6
-         VERSION=2.6.39.4
-          SOURCE=linux-${VERSION}.tar.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
-      SOURCE_VFY=sha1:b9262c836a02de3d3a6abb5ccb780816d52b5277
-        WEB_SITE=http://www.kernel.org
-         ENTERED=20041019
-         UPDATED=20110806
-           SHORT="The core of a Linux GNU Operating System"
-     KEEP_SOURCE=on
-           TMPFS=off
-
-cat << EOF
-This is the latest version of the 2.6.x branch.
-
-Linux is a clone of the Unix kernel, written from scratch by Linus
-Torvalds with assistance from a loosely-knit team of hackers across the
-Net. It aims towards POSIX and Single UNIX Specification compliance. It
-has all the features you would expect in a modern fully-fledged Unix
-kernel, including true multitasking, virtual memory, shared libraries,
-demand loading, shared copy-on-write executables, proper memory
-management, and TCP/IP networking.
-EOF
diff --git a/kernel/linux-2.6/POST_INSTALL b/kernel/linux-2.6/POST_INSTALL
deleted file mode 100644
index dd6cddc..0000000
--- a/kernel/linux-2.6/POST_INSTALL
+++ /dev/null
@@ -1,8 +0,0 @@
-update_bootloader $VERSION-`arch` $VERSION-`arch`
-
-#  Reinstall packages that add their own kernel modules
-
-lin -c kernel-reqs
-
-# create /sys
-mkdir -p /sys
diff --git a/kernel/linux-2.6/PRE_BUILD b/kernel/linux-2.6/PRE_BUILD
deleted file mode 100644
index 65d4896..0000000
--- a/kernel/linux-2.6/PRE_BUILD
+++ /dev/null
@@ -1,52 +0,0 @@
-# Bail if we're not running a core with kernel functions
-
-if [ ! -e $FUNCTIONS/kernel.lunar ] ; then
-  message "${PROBLEM_COLOR}Bailing out, ${DEFAULT_COLOR}Lunar (or theedge) code version too old"
-  message "${PROBLEM_COLOR}Update core ${MODULE_COLOR}(lin lunar or lin theedge)${DEFAULT_COLOR} to install this kernel"
-  exit 1
-fi
-
-mk_source_dir $SOURCE_DIRECTORY
-rm -f /usr/src/linux
-ln -sf $SOURCE_DIRECTORY /usr/src/linux
-cd $SOURCE_DIRECTORY
-
-# Check wether we're running an up-to-date tar
-if [ `installed_version tar | cut -d. -f2` -ge 15 ]; then
-  tar xf $SOURCE_CACHE/$SOURCE --no-same-owner \
-  --no-same-permissions --strip-components=1
-else
-  message "${PROBLEM_COLOR}Error:${DEFAULT_COLOR} Please update your tar module"
-  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 $SOURCE_DIRECTORY/.config;
-elif [ -f $CONFIG_CACHE/.config.beta ]; then
-    cp $CONFIG_CACHE/.config.beta $SOURCE_DIRECTORY/.config;
-fi
-
-while
-  if [ "$CONFIG_KERNEL" == "y" ]; then
-      if [ "$PREFER_XCONFIG" == "y" -a -n "$DISPLAY" ]; then
-          make xconfig || make menuconfig || make config
-      elif [ "$PREFER_MENUCONFIG" == "y" ]; then
-          make menuconfig || make config
-      else
-          make config
-      fi
-      if ! query "Repeat configuration?" n; then
-          CONFIG_KERNEL=n
-      fi
-  else
-      false
-  fi
-do
-  true
-done
-
diff --git a/zdeprecated/linux-2.6-mm/BUILD b/zdeprecated/linux-2.6-mm/BUILD
new file mode 100644
index 0000000..b8ed38f
--- /dev/null
+++ b/zdeprecated/linux-2.6-mm/BUILD
@@ -0,0 +1,38 @@
+cd /usr/src/linux/
+    
+while
+if [ "$CONFIG_KERNEL" == "y" ]; then
+    if [ "$PREFER_XCONFIG" == "y" -a -n "$DISPLAY" ]; then
+        make xconfig || make menuconfig || make config
+    elif [ "$PREFER_MENUCONFIG" == "y" ]; then
+        make menuconfig || make config
+    else
+        make config
+    fi
+    if ! query "Repeat configuration?" n; then
+        CONFIG_KERNEL=n
+    fi
+else
+    false
+fi
+  do
+  true
+done
+
+(
+
+    MYARCH="`arch | grep -qw i.86 && echo i386 || arch`"
+    
+    cp  /usr/src/linux/.config  $CONFIG_CACHE/.config-2.6-mm
+    rm -f arch/$MYARCH/boot/bzImage
+    
+    make  ${MAKES:+-j$MAKES} bzImage      &&
+    make  ${MAKES:+-j$MAKES} modules      &&
+    backup_mods_krnl ${VERSION}    &&
+    prepare_install                &&
+    make  modules_install          &&
+
+    cp arch/$MYARCH/boot/bzImage /boot/${VERSION}                   && 
+    cp System.map             /boot/System.map-${VERSION}          
+
+) > $C_FIFO 2>&1
diff --git a/zdeprecated/linux-2.6-mm/CONFIGURE b/zdeprecated/linux-2.6-mm/CONFIGURE
new file mode 100644
index 0000000..8fa5719
--- /dev/null
+++ b/zdeprecated/linux-2.6-mm/CONFIGURE
@@ -0,0 +1,11 @@
+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 
+    mquery PREFER_MENUCONFIG "Do you prefer menuconfig over config?" y
+fi
+
+unset_module_config CONFIG_KERNEL
+mquery CONFIG_KERNEL "Configure linux kernel?" n
+
diff --git a/zdeprecated/linux-2.6-mm/DEPENDS b/zdeprecated/linux-2.6-mm/DEPENDS
new file mode 100644
index 0000000..abd2c77
--- /dev/null
+++ b/zdeprecated/linux-2.6-mm/DEPENDS
@@ -0,0 +1 @@
+depends  module-init-tools
diff --git a/zdeprecated/linux-2.6-mm/DETAILS b/zdeprecated/linux-2.6-mm/DETAILS
new file mode 100644
index 0000000..2c8d5fd
--- /dev/null
+++ b/zdeprecated/linux-2.6-mm/DETAILS
@@ -0,0 +1,22 @@
+          MODULE=linux-2.6-mm
+         VERSION=2.6.27-rc1-mm1
+  KERNEL_VERSION=2.6.26
+   PATCH_VERSION=2.6.27-rc1
+SOURCE_DIRECTORY=/usr/src/linux-$VERSION
+          SOURCE=linux-$KERNEL_VERSION.tar.bz2
+         SOURCE2=patch-$PATCH_VERSION.bz2
+         SOURCE3=2.6.27-rc1-mm1.bz2
+   SOURCE_URL[0]=$KERNEL_URL/pub/linux/kernel/v2.6/
+   SOURCE_URL[1]=http://kernel.org/pub/linux/kernel/v2.6/
+     SOURCE2_URL=http://kernel.org/pub/linux/kernel/v2.6/testing/
+     SOURCE3_URL=http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/$PATCH_VERSION/$VERSION/
+         ENTERED=20041013
+         UPDATED=20080801
+           SHORT="2.6 kernel with Andrew Morton's latest test patches."
+KEEP_SOURCE=on
+TMPFS=off
+cat << EOF
+The -mm patches are a set of patches, released by Andrew Morton, against the
+official 2.6 kernel series. They are frequently more experimental in nature
+than the official series.
+EOF
diff --git a/zdeprecated/linux-2.6-mm/POST_INSTALL b/zdeprecated/linux-2.6-mm/POST_INSTALL
new file mode 100644
index 0000000..aa5dbac
--- /dev/null
+++ b/zdeprecated/linux-2.6-mm/POST_INSTALL
@@ -0,0 +1,10 @@
+# Done to shorten the boot label for lilo
+LABEL=`echo ${VERSION} | sed 's/-//g'`
+
+update_bootloader ${VERSION} ${LABEL}
+
+#  Reinstall packages that add their own kernel modules
+lin -c kernel-reqs
+
+mkdir -p /sys
+
diff --git a/zdeprecated/linux-2.6-mm/PRE_BUILD b/zdeprecated/linux-2.6-mm/PRE_BUILD
new file mode 100644
index 0000000..8387a6b
--- /dev/null
+++ b/zdeprecated/linux-2.6-mm/PRE_BUILD
@@ -0,0 +1,24 @@
+cd /usr/src
+
+if [ -d $SOURCE_DIRECTORY ]; then
+        message "Removing old -mm kernel source, conserving -mm .config"
+        cp $SOURCE_DIRECTORY/.config /etc/lunar/local/.config-2.6-mm
+        rm -rf $SOURCE_DIRECTORY
+fi
+
+validate_source_dir $SOURCE_DIRECTORY &&
+mk_source_dir $SOURCE_DIRECTORY &&
+rm -f /usr/src/linux &&
+ln -sf $SOURCE_DIRECTORY /usr/src/linux &&
+cd $SOURCE_DIRECTORY &&
+tar x --transform "s/linux-$KERNEL_VERSION\///" -f $SOURCE_CACHE/$SOURCE &&
+patch_it $SOURCE2 1 &&
+patch_it $SOURCE3 1 || exit 1
+
+for CONF in .config-2.6-mm .config.2.6.stable ; do        
+        if [ -f $CONFIG_CACHE/$CONF ]; then 
+                message "Importing $CONF as kernel default configuration"
+                cp $CONFIG_CACHE/$CONF /usr/src/linux/.config
+                break
+        fi
+done
diff --git a/zdeprecated/linux-2.6-zen/BUILD b/zdeprecated/linux-2.6-zen/BUILD
new file mode 100644
index 0000000..a20e8d3
--- /dev/null
+++ b/zdeprecated/linux-2.6-zen/BUILD
@@ -0,0 +1,39 @@
+(
+
+  while
+    if [ "$CONFIG_KERNEL" == "y" ]; then
+        if [ "$PREFER_XCONFIG" == "y" -a -n "$DISPLAY" ]; then
+            make xconfig || make menuconfig || make config
+        elif [ "$PREFER_MENUCONFIG" == "y" ]; then
+            make menuconfig || make config
+        else
+            make config
+        fi
+        if ! query "Repeat configuration?" n; then
+            CONFIG_KERNEL=n
+        fi
+    else
+        false
+    fi
+  do
+    true
+  done
+
+) && (
+
+  # Needed for x86_64
+  MYARCH="`arch | grep -qw i.86 && echo i386 || arch`"
+
+  echo | make oldconfig
+  LD_PRELOAD= cp .config $CONFIG_CACHE/.config.2.6.stable
+  rm -f arch/${MYARCH}/boot/bzImage
+
+  make ${MAKES:+-j$MAKES} bzImage  &&
+  make ${MAKES:+-j$MAKES} modules  &&
+  backup_mods_krnl $VERSION        &&
+  prepare_install                  &&
+  make modules_install             &&
+  cp arch/${MYARCH}/boot/bzImage /boot/$VERSION-`arch`  &&
+  cp System.map /boot/System.map-$VERSION-`arch`
+
+) > $C_FIFO 2>&1
diff --git a/zdeprecated/linux-2.6-zen/CONFIGURE b/zdeprecated/linux-2.6-zen/CONFIGURE
new file mode 100644
index 0000000..5dbd7cc
--- /dev/null
+++ b/zdeprecated/linux-2.6-zen/CONFIGURE
@@ -0,0 +1,11 @@
+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
+    mquery PREFER_MENUCONFIG "Do you prefer menuconfig over config?" y
+fi
+
+unset_module_config CONFIG_KERNEL
+mquery CONFIG_KERNEL "Configure linux kernel?" n
+
diff --git a/zdeprecated/linux-2.6-zen/DEPENDS b/zdeprecated/linux-2.6-zen/DEPENDS
new file mode 100644
index 0000000..8ef0357
--- /dev/null
+++ b/zdeprecated/linux-2.6-zen/DEPENDS
@@ -0,0 +1,3 @@
+depends  autoconf
+depends  module-init-tools
+depends  xz
diff --git a/zdeprecated/linux-2.6-zen/DETAILS b/zdeprecated/linux-2.6-zen/DETAILS
new file mode 100644
index 0000000..9eeaefe
--- /dev/null
+++ b/zdeprecated/linux-2.6-zen/DETAILS
@@ -0,0 +1,31 @@
+          MODULE=linux-2.6-zen
+  KERNEL_VERSION=2.6.38
+     ZEN_VERSION=20110510
+         VERSION=$KERNEL_VERSION-zen
+          SOURCE=linux-$KERNEL_VERSION.tar.bz2
+         SOURCE2=zen-patch-2.6.38_p$ZEN_VERSION.diff.gz
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/linux-$VERSION
+   SOURCE_URL[0]=$KERNEL_URL/pub/linux/kernel/v2.6
+   SOURCE_URL[1]=http://kernel.org/pub/linux/kernel/v2.6
+     SOURCE2_URL=http://dev.gentoo.org/~hwoarang/distfiles
+     SOURCE_VFY=sha1:02aade5ad3dedd70739c9b4a05de40edbe432d25
+     SOURCE2_VFY=sha1:e34af331c7a8ad91bc4dcaf41ff2b18486744905
+             WEB_SITE=http://www.zen-kernel.org
+         ENTERED=20091218
+         UPDATED=20110421
+      MAINTAINER=neocrust at gmail.com
+           SHORT="2.6 kernel with latest Zen patches"
+     KEEP_SOURCE=on
+           TMPFS=off
+
+cat << EOF
+The Zen Kernel is a the result of a collaborative effort of kernel
+hackers to provide the best Linux kernel possible for every day
+systems. We include code that is not included in the mainline kernel
+in an attempt to create an all-around better kernel for desktops
+(although it can be compiled otherwise). This is done by including
+new features, supporting latest hardware, and including various code
+and optimizations to better suit desktops. Zen is a 100% community
+oriented project so, as a result, everybody can contribute to the
+project.
+EOF
diff --git a/zdeprecated/linux-2.6-zen/POST_INSTALL b/zdeprecated/linux-2.6-zen/POST_INSTALL
new file mode 100644
index 0000000..dd6cddc
--- /dev/null
+++ b/zdeprecated/linux-2.6-zen/POST_INSTALL
@@ -0,0 +1,8 @@
+update_bootloader $VERSION-`arch` $VERSION-`arch`
+
+#  Reinstall packages that add their own kernel modules
+
+lin -c kernel-reqs
+
+# create /sys
+mkdir -p /sys
diff --git a/zdeprecated/linux-2.6-zen/PRE_BUILD b/zdeprecated/linux-2.6-zen/PRE_BUILD
new file mode 100644
index 0000000..21f96d7
--- /dev/null
+++ b/zdeprecated/linux-2.6-zen/PRE_BUILD
@@ -0,0 +1,32 @@
+# Bail if we're not running a core with kernel functions
+
+if [ ! -e $FUNCTIONS/kernel.lunar ] ; then
+  message "${PROBLEM_COLOR}Bailing out, ${DEFAULT_COLOR}Lunar (or theedge) code version too old"
+  message "${PROBLEM_COLOR}Update core ${MODULE_COLOR}(lin lunar or lin theedge)${DEFAULT_COLOR} to install this kernel"
+  exit 1
+fi
+
+mk_source_dir $SOURCE_DIRECTORY
+rm -f /usr/src/linux
+ln -sf $SOURCE_DIRECTORY /usr/src/linux
+cd $SOURCE_DIRECTORY
+
+# Check wether we're running an up-to-date tar
+if [ `installed_version tar | cut -d. -f2` -ge 15 ]; then
+  tar xf $SOURCE_CACHE/$SOURCE --no-same-owner \
+  --no-same-permissions --strip-components=1
+else
+  message "${PROBLEM_COLOR}Error:${DEFAULT_COLOR} Please update your tar module"
+  exit 1
+fi
+
+# Applying ZEN patch!
+# lzma -df $SOURCE_CACHE/ - old versions
+patch_it zen-patch-2.6.38_p20110510.diff.gz 1
+
+if  [ -f $CONFIG_CACHE/.config.2.6.stable ]; then
+    cp $CONFIG_CACHE/.config.2.6.stable $SOURCE_DIRECTORY/.config;
+elif [ -f $CONFIG_CACHE/.config.beta ]; then
+    cp $CONFIG_CACHE/.config.beta $SOURCE_DIRECTORY/.config;
+fi
+
diff --git a/zdeprecated/linux-2.6/BUILD b/zdeprecated/linux-2.6/BUILD
new file mode 100644
index 0000000..6e27287
--- /dev/null
+++ b/zdeprecated/linux-2.6/BUILD
@@ -0,0 +1,14 @@
+# Needed for x86_64
+MYARCH="`arch | grep -qw i.86 && echo i386 || arch`"
+
+echo | make oldconfig
+LD_PRELOAD= cp .config $CONFIG_CACHE/.config.2.6.stable
+rm -f arch/${MYARCH}/boot/bzImage
+
+make ${MAKES:+-j$MAKES} bzImage
+make ${MAKES:+-j$MAKES} modules
+backup_mods_krnl $VERSION
+prepare_install
+make modules_install
+cp arch/${MYARCH}/boot/bzImage /boot/$VERSION-`arch`
+cp System.map /boot/System.map-$VERSION-`arch`
diff --git a/zdeprecated/linux-2.6/CONFIGURE b/zdeprecated/linux-2.6/CONFIGURE
new file mode 100644
index 0000000..d4f4842
--- /dev/null
+++ b/zdeprecated/linux-2.6/CONFIGURE
@@ -0,0 +1,11 @@
+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
+    mquery PREFER_MENUCONFIG "Do you prefer menuconfig over config?" y
+fi
+
+unset_module_config CONFIG_KERNEL
+mquery CONFIG_KERNEL "Configure linux kernel?" n
+
diff --git a/zdeprecated/linux-2.6/DEPENDS b/zdeprecated/linux-2.6/DEPENDS
new file mode 100644
index 0000000..5a3371a
--- /dev/null
+++ b/zdeprecated/linux-2.6/DEPENDS
@@ -0,0 +1,2 @@
+depends  autoconf
+depends  module-init-tools
diff --git a/zdeprecated/linux-2.6/DETAILS b/zdeprecated/linux-2.6/DETAILS
new file mode 100644
index 0000000..af9cc22
--- /dev/null
+++ b/zdeprecated/linux-2.6/DETAILS
@@ -0,0 +1,27 @@
+          MODULE=linux-2.6
+         VERSION=2.6.39.4
+          SOURCE=linux-${VERSION}.tar.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
+      SOURCE_VFY=sha1:b9262c836a02de3d3a6abb5ccb780816d52b5277
+        WEB_SITE=http://www.kernel.org
+         ENTERED=20041019
+         UPDATED=20110806
+           SHORT="The core of a Linux GNU Operating System"
+     KEEP_SOURCE=on
+           TMPFS=off
+
+cat << EOF
+This is the latest version of the 2.6.x branch.
+
+Linux is a clone of the Unix kernel, written from scratch by Linus
+Torvalds with assistance from a loosely-knit team of hackers across the
+Net. It aims towards POSIX and Single UNIX Specification compliance. It
+has all the features you would expect in a modern fully-fledged Unix
+kernel, including true multitasking, virtual memory, shared libraries,
+demand loading, shared copy-on-write executables, proper memory
+management, and TCP/IP networking.
+EOF
diff --git a/zdeprecated/linux-2.6/POST_INSTALL b/zdeprecated/linux-2.6/POST_INSTALL
new file mode 100644
index 0000000..dd6cddc
--- /dev/null
+++ b/zdeprecated/linux-2.6/POST_INSTALL
@@ -0,0 +1,8 @@
+update_bootloader $VERSION-`arch` $VERSION-`arch`
+
+#  Reinstall packages that add their own kernel modules
+
+lin -c kernel-reqs
+
+# create /sys
+mkdir -p /sys
diff --git a/zdeprecated/linux-2.6/PRE_BUILD b/zdeprecated/linux-2.6/PRE_BUILD
new file mode 100644
index 0000000..65d4896
--- /dev/null
+++ b/zdeprecated/linux-2.6/PRE_BUILD
@@ -0,0 +1,52 @@
+# Bail if we're not running a core with kernel functions
+
+if [ ! -e $FUNCTIONS/kernel.lunar ] ; then
+  message "${PROBLEM_COLOR}Bailing out, ${DEFAULT_COLOR}Lunar (or theedge) code version too old"
+  message "${PROBLEM_COLOR}Update core ${MODULE_COLOR}(lin lunar or lin theedge)${DEFAULT_COLOR} to install this kernel"
+  exit 1
+fi
+
+mk_source_dir $SOURCE_DIRECTORY
+rm -f /usr/src/linux
+ln -sf $SOURCE_DIRECTORY /usr/src/linux
+cd $SOURCE_DIRECTORY
+
+# Check wether we're running an up-to-date tar
+if [ `installed_version tar | cut -d. -f2` -ge 15 ]; then
+  tar xf $SOURCE_CACHE/$SOURCE --no-same-owner \
+  --no-same-permissions --strip-components=1
+else
+  message "${PROBLEM_COLOR}Error:${DEFAULT_COLOR} Please update your tar module"
+  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 $SOURCE_DIRECTORY/.config;
+elif [ -f $CONFIG_CACHE/.config.beta ]; then
+    cp $CONFIG_CACHE/.config.beta $SOURCE_DIRECTORY/.config;
+fi
+
+while
+  if [ "$CONFIG_KERNEL" == "y" ]; then
+      if [ "$PREFER_XCONFIG" == "y" -a -n "$DISPLAY" ]; then
+          make xconfig || make menuconfig || make config
+      elif [ "$PREFER_MENUCONFIG" == "y" ]; then
+          make menuconfig || make config
+      else
+          make config
+      fi
+      if ! query "Repeat configuration?" n; then
+          CONFIG_KERNEL=n
+      fi
+  else
+      false
+  fi
+do
+  true
+done
+


More information about the Lunar-commits mailing list