[kernel] r7699 -
dists/trunk/linux-2.6/debian/patches/features/all/vserver
Bastian Blank
waldi at alioth.debian.org
Mon Nov 6 10:37:24 UTC 2006
Author: waldi
Date: Mon Nov 6 11:37:24 2006
New Revision: 7699
Modified:
dists/trunk/linux-2.6/debian/patches/features/all/vserver/gen-patch
Log:
debian/patches/features/all/vserver/gen-patch
- Make version match more stable.
- Support to be called from other places.
Modified: dists/trunk/linux-2.6/debian/patches/features/all/vserver/gen-patch
==============================================================================
--- dists/trunk/linux-2.6/debian/patches/features/all/vserver/gen-patch (original)
+++ dists/trunk/linux-2.6/debian/patches/features/all/vserver/gen-patch Mon Nov 6 11:37:24 2006
@@ -6,9 +6,9 @@
exit 1
}
-version=$(filterdiff -p 1 -i Makefile "$patch" | grep "+EXTRAVERSION" | sed -e 's,.* -,,')
+version=$(filterdiff -p 1 -i Makefile "$patch" | grep "+EXTRAVERSION" | sed -e 's,.*-vs,vs,')
[ "$version" ] || error "can't find version!"
-file="$version.patch"
+file="$(dirname $0)/$version.patch"
filterdiff -p 1 -x Makefile -x init/version.c "$patch" > "$file"
More information about the Kernel-svn-changes
mailing list