SOURCES: kvm-kernel-release.patch (NEW) - don't check kernel.release in pld.

pluto pluto at pld-linux.org
Wed Dec 17 01:04:13 CET 2008


Author: pluto                        Date: Wed Dec 17 00:04:13 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- don't check kernel.release in pld.

---- Files affected:
SOURCES:
   kvm-kernel-release.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/kvm-kernel-release.patch
diff -u /dev/null SOURCES/kvm-kernel-release.patch:1.1
--- /dev/null	Wed Dec 17 01:04:13 2008
+++ SOURCES/kvm-kernel-release.patch	Wed Dec 17 01:04:07 2008
@@ -0,0 +1,24 @@
+--- kvm-81/configure.orig	2008-12-14 14:16:27.000000000 +0100
++++ kvm-81/configure	2008-12-17 00:56:42.841973719 +0100
+@@ -119,21 +119,6 @@
+     kernelsourcedir=${kerneldir%/*}/source
+ fi
+ 
+-if [ -n "$no_uname" ]; then
+-    if [ -e "$kerneldir/.kernelrelease" ]; then
+-        depmod_version=`cat "$kerneldir/.kernelrelease"`
+-
+-    elif [ -e "$kerneldir/include/config/kernel.release" ]; then
+-            depmod_version=`cat "$kerneldir/include/config/kernel.release"`
+-    else
+-        echo
+-        echo "Error: kernelversion not found"
+-        echo "Please make sure your kernel is configured"
+-        echo
+-        exit 1
+-    fi
+-fi
+-
+ #configure user dir
+ (cd user; ./configure --prefix="$prefix" --kerneldir="$libkvm_kerneldir" \
+           --arch="$arch" --processor="$processor" \
================================================================


More information about the pld-cvs-commit mailing list