[Lunar-commits] r21760 - in moonbase/branches/crater/kernel: . kernel-headers-2.6
Moritz Heiber
moe at lunar-linux.org
Wed Oct 11 21:41:57 UTC 2006
Author: moe
Date: 2006-10-11 21:41:56 +0000 (Wed, 11 Oct 2006)
New Revision: 21760
Added:
moonbase/branches/crater/kernel/kernel-headers-2.6/
moonbase/branches/crater/kernel/kernel-headers-2.6/BUILD
moonbase/branches/crater/kernel/kernel-headers-2.6/CONFLICTS
moonbase/branches/crater/kernel/kernel-headers-2.6/DEPENDS
moonbase/branches/crater/kernel/kernel-headers-2.6/DETAILS
Log:
Checkin new kernel-headers module
Added: moonbase/branches/crater/kernel/kernel-headers-2.6/BUILD
===================================================================
--- moonbase/branches/crater/kernel/kernel-headers-2.6/BUILD (rev 0)
+++ moonbase/branches/crater/kernel/kernel-headers-2.6/BUILD 2006-10-11 21:41:56 UTC (rev 21760)
@@ -0,0 +1,43 @@
+(
+
+ KERNEL_DIR="/usr/src/linux"
+
+ if grep -q headers_install ${KERNEL_DIR}/Makefile; then
+ mkdir ${SOURCE_DIRECTORY}/tmp-headers;
+ cd ${KERNEL_DIR};
+ make headers_check;
+ prepare_install;
+ make INSTALL_HDR_PATH=${SOURCE_DIRECTORY}/tmp-headers headers_install;
+ 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;
+ fi
+
+) > $C_FIFO 2>&1
Added: moonbase/branches/crater/kernel/kernel-headers-2.6/CONFLICTS
===================================================================
--- moonbase/branches/crater/kernel/kernel-headers-2.6/CONFLICTS (rev 0)
+++ moonbase/branches/crater/kernel/kernel-headers-2.6/CONFLICTS 2006-10-11 21:41:56 UTC (rev 21760)
@@ -0,0 +1 @@
+conflicts kernel-headers-2.4
Added: moonbase/branches/crater/kernel/kernel-headers-2.6/DEPENDS
===================================================================
--- moonbase/branches/crater/kernel/kernel-headers-2.6/DEPENDS (rev 0)
+++ moonbase/branches/crater/kernel/kernel-headers-2.6/DEPENDS 2006-10-11 21:41:56 UTC (rev 21760)
@@ -0,0 +1 @@
+depends unifdef
Added: moonbase/branches/crater/kernel/kernel-headers-2.6/DETAILS
===================================================================
--- moonbase/branches/crater/kernel/kernel-headers-2.6/DETAILS (rev 0)
+++ moonbase/branches/crater/kernel/kernel-headers-2.6/DETAILS 2006-10-11 21:41:56 UTC (rev 21760)
@@ -0,0 +1,15 @@
+ 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"
+cat << EOF
+A set of specially patched 2.6 kernel headers.
+It is recommended for 2.6.X kernel users, but is not necessary.
+EOF
More information about the Lunar-commits
mailing list