[Lunar-commits] <moonbase> linux-unstable: move it to zdeprecated. Use linux-previous instead.

Florin Braescu florin at lunar-linux.org
Sat May 26 16:47:14 CEST 2012


commit 7eb64e101874fdbc41720c487bc0210d736f9cd5
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Sat May 26 16:47:14 2012 +0200

    linux-unstable: move it to zdeprecated. Use linux-previous instead.
---
 kernel/linux-unstable/BUILD             |   21 -------------
 kernel/linux-unstable/CONFIGURE         |   11 -------
 kernel/linux-unstable/DEPENDS           |    3 --
 kernel/linux-unstable/DETAILS           |   30 ------------------
 kernel/linux-unstable/POST_INSTALL      |   11 -------
 kernel/linux-unstable/PRE_BUILD         |   52 -------------------------------
 zdeprecated/linux-unstable/BUILD        |   21 +++++++++++++
 zdeprecated/linux-unstable/CONFIGURE    |   11 +++++++
 zdeprecated/linux-unstable/DEPENDS      |    3 ++
 zdeprecated/linux-unstable/DETAILS      |   30 ++++++++++++++++++
 zdeprecated/linux-unstable/POST_INSTALL |   11 +++++++
 zdeprecated/linux-unstable/PRE_BUILD    |   52 +++++++++++++++++++++++++++++++
 12 files changed, 128 insertions(+), 128 deletions(-)

diff --git a/kernel/linux-unstable/BUILD b/kernel/linux-unstable/BUILD
deleted file mode 100644
index 2c0a389..0000000
--- a/kernel/linux-unstable/BUILD
+++ /dev/null
@@ -1,21 +0,0 @@
-(
-
-# Needed for x86_64
-  MYARCH="`arch | grep -qw i.86 && echo i386 || arch`"
-
-  PATCH_VERSION=$(echo $VERSION | cut -d . -f 3)
-  FULL_VERSION=$(echo $VERSION | cut -d . -f 1,2).${PATCH_VERSION:-0}
-
-  echo | make oldconfig
-  LD_PRELOAD= cp .config $CONFIG_CACHE/.config.unstable
-  rm -f arch/${MYARCH}/boot/bzImage
-
-  make ${MAKES:+-j$MAKES} bzImage
-  make ${MAKES:+-j$MAKES} modules
-  backup_mods_krnl $FULL_VERSION
-  prepare_install
-  make modules_install
-  cp arch/${MYARCH}/boot/bzImage /boot/$FULL_VERSION-`arch`
-  cp System.map /boot/System.map-$FULL_VERSION-`arch`
-
-) > $C_FIFO 2>&1
diff --git a/kernel/linux-unstable/CONFIGURE b/kernel/linux-unstable/CONFIGURE
deleted file mode 100644
index 5dbd7cc..0000000
--- a/kernel/linux-unstable/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-unstable/DEPENDS b/kernel/linux-unstable/DEPENDS
deleted file mode 100644
index 9ec37ac..0000000
--- a/kernel/linux-unstable/DEPENDS
+++ /dev/null
@@ -1,3 +0,0 @@
-depends  autoconf
-depends  %KMOD
-
diff --git a/kernel/linux-unstable/DETAILS b/kernel/linux-unstable/DETAILS
deleted file mode 100644
index 2b2255d..0000000
--- a/kernel/linux-unstable/DETAILS
+++ /dev/null
@@ -1,30 +0,0 @@
-          MODULE=linux-unstable
-         VERSION=3.2.16
-            BASE=$(echo $VERSION | cut -d. -f1,2)
-          SOURCE=linux-$BASE.tar.xz
-         SOURCE2=patch-$VERSION.bz2
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/linux-$VERSION
-   SOURCE_URL[0]=$KERNEL_URL/pub/linux/kernel/v3.x
-   SOURCE_URL[1]=http://www.kernel.org/pub/linux/kernel/v3.x
-  SOURCE2_URL[0]=$KERNEL_URL/pub/linux/kernel/v3.x
-  SOURCE2_URL[1]=http://www.kernel.org/pub/linux/kernel/v3.x
-      SOURCE_VFY=sha1:0d6ae32001e3c2ecd996675c4262a9ae977733c5
-     SOURCE2_VFY=sha1:234d59b0c2763ec4d8ea6c4688e14f47655bfc6f
-        WEB_SITE=http://www.kernel.org
-         ENTERED=20041019
-         UPDATED=20120424
-           SHORT="The core of a Linux GNU Operating System"
-     KEEP_SOURCE=on
-           TMPFS=off
-
-cat << EOF
-This is the latest unstable Linux kernel module for Lunar Linux distro.
-
-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-unstable/POST_INSTALL b/kernel/linux-unstable/POST_INSTALL
deleted file mode 100644
index 700bc17..0000000
--- a/kernel/linux-unstable/POST_INSTALL
+++ /dev/null
@@ -1,11 +0,0 @@
-PATCH_VERSION=$(echo $VERSION | cut -d . -f 3)
-FULL_VERSION=$(echo $VERSION | cut -d . -f 1,2).${PATCH_VERSION:-0}
-
-update_bootloader $FULL_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-unstable/PRE_BUILD b/kernel/linux-unstable/PRE_BUILD
deleted file mode 100644
index 643a248..0000000
--- a/kernel/linux-unstable/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.unstable ]; then
-    cp $CONFIG_CACHE/.config.unstable $SOURCE_DIRECTORY/.config;
-elif [ -f $CONFIG_CACHE/.config.2.6.stable ]; then
-    cp $CONFIG_CACHE/.config.2.6.stable $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-unstable/BUILD b/zdeprecated/linux-unstable/BUILD
new file mode 100644
index 0000000..2c0a389
--- /dev/null
+++ b/zdeprecated/linux-unstable/BUILD
@@ -0,0 +1,21 @@
+(
+
+# Needed for x86_64
+  MYARCH="`arch | grep -qw i.86 && echo i386 || arch`"
+
+  PATCH_VERSION=$(echo $VERSION | cut -d . -f 3)
+  FULL_VERSION=$(echo $VERSION | cut -d . -f 1,2).${PATCH_VERSION:-0}
+
+  echo | make oldconfig
+  LD_PRELOAD= cp .config $CONFIG_CACHE/.config.unstable
+  rm -f arch/${MYARCH}/boot/bzImage
+
+  make ${MAKES:+-j$MAKES} bzImage
+  make ${MAKES:+-j$MAKES} modules
+  backup_mods_krnl $FULL_VERSION
+  prepare_install
+  make modules_install
+  cp arch/${MYARCH}/boot/bzImage /boot/$FULL_VERSION-`arch`
+  cp System.map /boot/System.map-$FULL_VERSION-`arch`
+
+) > $C_FIFO 2>&1
diff --git a/zdeprecated/linux-unstable/CONFIGURE b/zdeprecated/linux-unstable/CONFIGURE
new file mode 100644
index 0000000..5dbd7cc
--- /dev/null
+++ b/zdeprecated/linux-unstable/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-unstable/DEPENDS b/zdeprecated/linux-unstable/DEPENDS
new file mode 100644
index 0000000..9ec37ac
--- /dev/null
+++ b/zdeprecated/linux-unstable/DEPENDS
@@ -0,0 +1,3 @@
+depends  autoconf
+depends  %KMOD
+
diff --git a/zdeprecated/linux-unstable/DETAILS b/zdeprecated/linux-unstable/DETAILS
new file mode 100644
index 0000000..2b2255d
--- /dev/null
+++ b/zdeprecated/linux-unstable/DETAILS
@@ -0,0 +1,30 @@
+          MODULE=linux-unstable
+         VERSION=3.2.16
+            BASE=$(echo $VERSION | cut -d. -f1,2)
+          SOURCE=linux-$BASE.tar.xz
+         SOURCE2=patch-$VERSION.bz2
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/linux-$VERSION
+   SOURCE_URL[0]=$KERNEL_URL/pub/linux/kernel/v3.x
+   SOURCE_URL[1]=http://www.kernel.org/pub/linux/kernel/v3.x
+  SOURCE2_URL[0]=$KERNEL_URL/pub/linux/kernel/v3.x
+  SOURCE2_URL[1]=http://www.kernel.org/pub/linux/kernel/v3.x
+      SOURCE_VFY=sha1:0d6ae32001e3c2ecd996675c4262a9ae977733c5
+     SOURCE2_VFY=sha1:234d59b0c2763ec4d8ea6c4688e14f47655bfc6f
+        WEB_SITE=http://www.kernel.org
+         ENTERED=20041019
+         UPDATED=20120424
+           SHORT="The core of a Linux GNU Operating System"
+     KEEP_SOURCE=on
+           TMPFS=off
+
+cat << EOF
+This is the latest unstable Linux kernel module for Lunar Linux distro.
+
+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-unstable/POST_INSTALL b/zdeprecated/linux-unstable/POST_INSTALL
new file mode 100644
index 0000000..700bc17
--- /dev/null
+++ b/zdeprecated/linux-unstable/POST_INSTALL
@@ -0,0 +1,11 @@
+PATCH_VERSION=$(echo $VERSION | cut -d . -f 3)
+FULL_VERSION=$(echo $VERSION | cut -d . -f 1,2).${PATCH_VERSION:-0}
+
+update_bootloader $FULL_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-unstable/PRE_BUILD b/zdeprecated/linux-unstable/PRE_BUILD
new file mode 100644
index 0000000..643a248
--- /dev/null
+++ b/zdeprecated/linux-unstable/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.unstable ]; then
+    cp $CONFIG_CACHE/.config.unstable $SOURCE_DIRECTORY/.config;
+elif [ -f $CONFIG_CACHE/.config.2.6.stable ]; then
+    cp $CONFIG_CACHE/.config.2.6.stable $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