[Lunar-commits] r21761 - moonbase/branches/crater/kernel/kernel-headers-2.6

Moritz Heiber moe at lunar-linux.org
Wed Oct 11 21:57:16 UTC 2006


Author: moe
Date: 2006-10-11 21:57:16 +0000 (Wed, 11 Oct 2006)
New Revision: 21761

Modified:
   moonbase/branches/crater/kernel/kernel-headers-2.6/BUILD
   moonbase/branches/crater/kernel/kernel-headers-2.6/DETAILS
Log:
This one's better.



Modified: moonbase/branches/crater/kernel/kernel-headers-2.6/BUILD
===================================================================
--- moonbase/branches/crater/kernel/kernel-headers-2.6/BUILD	2006-10-11 21:41:56 UTC (rev 21760)
+++ moonbase/branches/crater/kernel/kernel-headers-2.6/BUILD	2006-10-11 21:57:16 UTC (rev 21761)
@@ -1,7 +1,7 @@
 (
 
   KERNEL_DIR="/usr/src/linux"
-  
+
   if grep -q headers_install ${KERNEL_DIR}/Makefile; then
     mkdir ${SOURCE_DIRECTORY}/tmp-headers;
     cd ${KERNEL_DIR};
@@ -11,33 +11,9 @@
     cp -R ${SOURCE_DIRECTORY}/tmp-headers/include/* /usr/include/;
   
   else
-
-  # Legacy code here until everyone is savely past 2.6.18
-
-  cd ${SOURCE_DIRECTORY}/include/;
-  mv asm-i386 asm;
-  prepare_install;
-
-  for dir in asm linux scsi sound mtd
-  do
-     cp    -a $dir      /usr/include/
-     chown -R root.root /usr/include/$dir
-	
-     for subdir in `find /usr/include/$dir -type d`
-     do
-        chmod 755 $subdir
-     done
-
-     for file in `find /usr/include/$dir -type f`
-     do
-        chmod 644 $file
-     done
-  done;
-
-  # XOrg X11R7 will not build without this
-  # Incase of an update: Remove this!
-  sed -e 's|__u16|unsigned short|g' -e 's|__u32|unsigned|g' \
-	-i /usr/include/linux/agpgart.h;
+    message "${PROBLEM_COLOR}This module requires at least linux-2.6 >= 2.6.18!";
+    message "Please update your kernel.${DEFAULT_COLOR}";
+    exit 1;
   fi
 
 ) > $C_FIFO 2>&1

Modified: moonbase/branches/crater/kernel/kernel-headers-2.6/DETAILS
===================================================================
--- moonbase/branches/crater/kernel/kernel-headers-2.6/DETAILS	2006-10-11 21:41:56 UTC (rev 21760)
+++ moonbase/branches/crater/kernel/kernel-headers-2.6/DETAILS	2006-10-11 21:57:16 UTC (rev 21761)
@@ -1,15 +1,9 @@
             MODULE=kernel-headers-2.6
-               PKG=2.6.12.0
-           VERSION=${PKG}-i386
-            SOURCE=linux-libc-headers-${PKG}.tar.bz2
-  SOURCE_DIRECTORY=${BUILD_DIRECTORY}/linux-libc-headers-${PKG}
-        SOURCE_URL=http://ep09.pld-linux.org/~mmazur/linux-libc-headers/
-        SOURCE_VFY=sha1:e72c9b260995b269c9fb9248ed468c18fb01f3fd
-          WEB_SITE=http://ep09.pld-linux.org/~mmazur/linux-libc-headers/
-           ENTERED=20040226
-           UPDATED=20061007
-            SHORT="A set of specially patched 2.6 kernel headers"
+           VERSION=2.6.18
+          WEB_SITE=http://www.lunar-linux.org
+           ENTERED=20061011
+           UPDATED=20061011
+            SHORT="installs the latest kernel headers"
 cat << EOF
-A set of specially patched 2.6 kernel headers. 
-It is recommended for 2.6.X kernel users, but is not necessary.
+Lunar Linux module to keep track of kernel headers in userspace.
 EOF 



More information about the Lunar-commits mailing list