[Lunar-commits] <moonbase> create-headers: bump the version to 3.1.1.

Florin Braescu florin at lunar-linux.org
Mon Nov 21 20:01:14 CET 2011


commit 57debc03316a279e87d655c16d0f30c6031de7ec
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Mon Nov 21 20:01:14 2011 +0100

    create-headers: bump the version to 3.1.1.
---
 kernel/create-headers/BUILD        |    2 +-
 kernel/create-headers/BUILD.x86_64 |    2 +-
 kernel/create-headers/DETAILS      |    6 +++---
 kernel/create-headers/PRE_BUILD    |   14 +++++++-------
 4 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/kernel/create-headers/BUILD b/kernel/create-headers/BUILD
index c4011f4..846bcf2 100644
--- a/kernel/create-headers/BUILD
+++ b/kernel/create-headers/BUILD
@@ -12,7 +12,7 @@
 
   prepare_install
 
-  tar cjvf kernel-headers-$VERSION.tar.bz2 kernel-headers-$VERSION &&
+  tar cjvf kernel-headers-$VERSION.tar.bz2 kernel-headers-$VERSION  &&
 
   install -m644 $SOURCE_DIRECTORY/kernel-headers-$VERSION.tar.bz2 $SOURCE_CACHE/
 
diff --git a/kernel/create-headers/BUILD.x86_64 b/kernel/create-headers/BUILD.x86_64
index 65ec841..d1e0f6e 100644
--- a/kernel/create-headers/BUILD.x86_64
+++ b/kernel/create-headers/BUILD.x86_64
@@ -12,7 +12,7 @@
 
   prepare_install
 
-  tar cjvf kernel-headers-$VERSION-x86_64.tar.bz2 kernel-headers-$VERSION-x86_64 &&
+  tar cjvf kernel-headers-$VERSION-x86_64.tar.bz2 kernel-headers-$VERSION-x86_64  &&
 
   install -m644 $SOURCE_DIRECTORY/kernel-headers-$VERSION-x86_64.tar.bz2 $SOURCE_CACHE/
 
diff --git a/kernel/create-headers/DETAILS b/kernel/create-headers/DETAILS
index 72ec4de..a145fef 100644
--- a/kernel/create-headers/DETAILS
+++ b/kernel/create-headers/DETAILS
@@ -1,11 +1,11 @@
             MODULE=create-headers
-             MAJOR=2.6
-           VERSION=$MAJOR.34.3
+             MAJOR=3.1
+           VERSION=$MAJOR.1
             SOURCE=linux-$VERSION.tar.bz2
         SOURCE_URL=$KERNEL_URL/pub/linux/kernel/v$MAJOR
           WEB_SITE=http://www.lunar-linux.org
            ENTERED=20100711
-           UPDATED=20100811
+           UPDATED=20111121
             SHORT="creates the latest kernel headers package"
 
 cat << EOF
diff --git a/kernel/create-headers/PRE_BUILD b/kernel/create-headers/PRE_BUILD
index 2b386c0..7af5b40 100644
--- a/kernel/create-headers/PRE_BUILD
+++ b/kernel/create-headers/PRE_BUILD
@@ -1,5 +1,5 @@
    message " "
-   message " ${PROBLEM_COLOR}Warning! This module does not need to be run on every kernel update. The optimum time would be from one major kernel version to the next, such as 2.6.33 to 2.6.34"
+   message " ${PROBLEM_COLOR}Warning! This module does not need to be run on every kernel update. The optimum time would be from one major kernel version to the next."
    message " "
    if ! query "Do you wish to continue (y/n)? " n; then
       message " "
@@ -7,13 +7,13 @@
       exit 1
    fi
 
-mk_source_dir       &&
-validate_source_dir &&
+mk_source_dir        &&
+validate_source_dir  &&
 
-cd $SOURCE_DIRECTORY &&
+cd $SOURCE_DIRECTORY  &&
 
-message "${MESSAGE_COLOR}Extracting kernel sources ...${DEFAULT_COLOR}" &&
+message "${MESSAGE_COLOR}Extracting kernel sources ...${DEFAULT_COLOR}"  &&
 
-tar xf $SOURCE_CACHE/$SOURCE --no-same-owner \
-                             --no-same-permissions \
+tar xf $SOURCE_CACHE/$SOURCE --no-same-owner        \
+                             --no-same-permissions  \
                              --strip-component=1


More information about the Lunar-commits mailing list