[Lunar-commits] CVS: moonbase/utils/lilo PRE_BUILD, NONE, 1.1 DETAILS, 1.13, 1.14

Auke Kok sofar at lunar-linux.org
Tue Jul 13 08:07:58 GMT 2004


Update of /var/cvs/lunar/moonbase/utils/lilo
In directory dbguin.lunar-linux.org:/tmp/cvs-serv14049

Modified Files:
	DETAILS 
Added Files:
	PRE_BUILD 
Log Message:
/me smacks nestu with a large trout (meanwhile this allows you to compile lilo against 2.6.7 headers. mind you you will need device-mapper installed (include ugly check) and the patch ONLY gets applied to people who have the proper 2.6 headers in /usr/include (safe mode patching). The patch is muchos gracias gent**)


--- NEW FILE: PRE_BUILD ---
KERNEL_MAJOR=$(grep UTS_RELEASE /usr/include/linux/version.h | cut -d'"' -f2 | cut -d. -f1,2)
if [ "$KERNEL_MAJOR" ==  "2.6" ] ; then
  if [ ! -f /usr/include/libdevmapper.h ] ; then
    message "${PROBLEM_COLOR}Module device-mapper is not installed and is required to build lilo against 2.6 headers!${DEFAULT_COLOR}"
    exit 1
  else
    default_pre_build &&
    cd $SOURCE_DIRECTORY &&
    patch_it $SOURCE2 1
  fi
else
  default_pre_build
fi 

Index: DETAILS
===================================================================
RCS file: /var/cvs/lunar/moonbase/utils/lilo/DETAILS,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- DETAILS	13 May 2004 14:38:06 -0000	1.13
+++ DETAILS	13 Jul 2004 08:07:56 -0000	1.14
@@ -4,6 +4,9 @@
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
       SOURCE_URL=http://www.ibiblio.org/pub/Linux/system/boot/$MODULE/$SOURCE
       SOURCE_VFY=md5:d5b561190cbe0968d50e09e0031edb79
+         SOURCE2=lilo-22.5.9-kernel-2.6.7.patch.bz2
+     SOURCE2_URL=$PATCH_URL/$SOURCE2
+     SOURCE2_VFY=md5:796e04e5f2df4c565710cc0f39da2c1f
         WEB_SITE=http://home.san.rr.com/johninsd/pub/linux/lilo/
          ENTERED=20010922
          UPDATED=20040513



More information about the Lunar-commits mailing list