[Lunar-commits] r15499 - in moonbase/branches/submissions/new: . linux-2.6

zbiggy zbiggy at lunar-linux.org
Sun Jun 26 21:04:10 UTC 2005


Author: zbiggy
Date: 2005-06-26 21:04:04 +0000 (Sun, 26 Jun 2005)
New Revision: 15499

Added:
   moonbase/branches/submissions/new/linux-2.6/
   moonbase/branches/submissions/new/linux-2.6/BUILD
   moonbase/branches/submissions/new/linux-2.6/CONFIGURE
   moonbase/branches/submissions/new/linux-2.6/DEPENDS
   moonbase/branches/submissions/new/linux-2.6/DETAILS
   moonbase/branches/submissions/new/linux-2.6/POST_INSTALL
   moonbase/branches/submissions/new/linux-2.6/PRE_BUILD
Log:
Version update 2.6.12 -> 2.6.12.1


Added: moonbase/branches/submissions/new/linux-2.6/BUILD
===================================================================
--- moonbase/branches/submissions/new/linux-2.6/BUILD	2005-06-26 18:37:49 UTC (rev 15498)
+++ moonbase/branches/submissions/new/linux-2.6/BUILD	2005-06-26 21:04:04 UTC (rev 15499)
@@ -0,0 +1,36 @@
+(
+
+  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
+
+) && (
+
+  yes n | make oldconfig
+  LD_PRELOAD= cp .config $CONFIG_CACHE/.config.2.6.stable
+  rm -f arch/i386/boot/bzImage
+
+  make ${MAKES:+-j$MAKES} bzImage           &&
+  make ${MAKES:+-j$MAKES} modules           &&
+  backup_mods_krnl $VERSION	            &&
+  prepare_install                           &&
+  make modules_install                      &&
+  cp arch/i386/boot/bzImage /boot/$VERSION  &&
+  cp System.map /boot/System.map-$VERSION
+  
+) > $C_FIFO 2>&1

Added: moonbase/branches/submissions/new/linux-2.6/CONFIGURE
===================================================================
--- moonbase/branches/submissions/new/linux-2.6/CONFIGURE	2005-06-26 18:37:49 UTC (rev 15498)
+++ moonbase/branches/submissions/new/linux-2.6/CONFIGURE	2005-06-26 21:04:04 UTC (rev 15499)
@@ -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
+

Added: moonbase/branches/submissions/new/linux-2.6/DEPENDS
===================================================================
--- moonbase/branches/submissions/new/linux-2.6/DEPENDS	2005-06-26 18:37:49 UTC (rev 15498)
+++ moonbase/branches/submissions/new/linux-2.6/DEPENDS	2005-06-26 21:04:04 UTC (rev 15499)
@@ -0,0 +1,2 @@
+depends  autoconf  &&
+depends  module-init-tools

Added: moonbase/branches/submissions/new/linux-2.6/DETAILS
===================================================================
--- moonbase/branches/submissions/new/linux-2.6/DETAILS	2005-06-26 18:37:49 UTC (rev 15498)
+++ moonbase/branches/submissions/new/linux-2.6/DETAILS	2005-06-26 21:04:04 UTC (rev 15499)
@@ -0,0 +1,30 @@
+          MODULE=linux-2.6
+         VERSION=2.6.12.1
+	    BASE=2.6.12
+          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/
+  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:3cb44c9202034a825959e710f94d4e536011901b
+     SOURCE2_VFY=sha1:c59e5bc9f2420bf8a1dd283a8bcd31b85ab7872f
+        WEB_SITE=http://www.kernel.org
+         ENTERED=20041019
+         UPDATED=20050626
+           SHORT="The Linux kernel is the core of a Linux GNU Operating System."
+     KEEP_SOURCE=on
+           TMPFS=off
+
+cat << EOF
+This is the stable 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

Added: moonbase/branches/submissions/new/linux-2.6/POST_INSTALL
===================================================================
--- moonbase/branches/submissions/new/linux-2.6/POST_INSTALL	2005-06-26 18:37:49 UTC (rev 15498)
+++ moonbase/branches/submissions/new/linux-2.6/POST_INSTALL	2005-06-26 21:04:04 UTC (rev 15499)
@@ -0,0 +1,9 @@
+update_bootloader $VERSION $VERSION
+
+#  Reinstall packages that add their own kernel modules
+
+lin -c kernel-reqs
+
+# create /sys
+mkdir -p /sys
+

Added: moonbase/branches/submissions/new/linux-2.6/PRE_BUILD
===================================================================
--- moonbase/branches/submissions/new/linux-2.6/PRE_BUILD	2005-06-26 18:37:49 UTC (rev 15498)
+++ moonbase/branches/submissions/new/linux-2.6/PRE_BUILD	2005-06-26 21:04:04 UTC (rev 15499)
@@ -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
+
+# 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
+    cp $CONFIG_CACHE/.config.beta $BUILD_DIRECTORY/linux/.config;
+fi



More information about the Lunar-commits mailing list