diff --git a/lustre/kernel_patches/targets/2.6-suse.target.in b/lustre/kernel_patches/targets/2.6-suse.target.in
index 9166d1b898b9787e1ede801200599e25d2f2948e..7cf05b2c436384184252d5e1398b6d8bbebb776c 100644
--- a/lustre/kernel_patches/targets/2.6-suse.target.in
+++ b/lustre/kernel_patches/targets/2.6-suse.target.in
@@ -6,6 +6,7 @@ KERNEL=linux-$lnxmaj-$lnxrel.tar.gz
 SERIES=
 VERSION=$lnxmaj
 EXTRA_VERSION="${lnxrel}_lustre.@VERSION@"
+LUSTRE_VERSION=@VERSION@
 RHBUILD=0
 LINUX26=1
 SUSEBUILD=1
diff --git a/lustre/kernel_patches/targets/2.6-vanilla.target.in b/lustre/kernel_patches/targets/2.6-vanilla.target.in
index 00c05df8ef33948fb9866044b9274cda50af684d..84bd49113eba94be39c4741983a351e4422b4425 100644
--- a/lustre/kernel_patches/targets/2.6-vanilla.target.in
+++ b/lustre/kernel_patches/targets/2.6-vanilla.target.in
@@ -4,6 +4,7 @@ KERNEL=linux-$lnxmaj.tar.gz
 SERIES=2.6-vanilla
 VERSION=$lnxmaj
 EXTRA_VERSION=lustre.@VERSION@
+LUSTRE_VERSION=@VERSION@
 RHBUILD=0
 
 BASE_ARCHS=""
diff --git a/lustre/kernel_patches/targets/hp_pnnl-2.4.target.in b/lustre/kernel_patches/targets/hp_pnnl-2.4.target.in
index 620e698f4f00eb4679dad7f249b19eb16b43fcb2..2927980ce99d3a50e09a25f0902788a1d581daea 100644
--- a/lustre/kernel_patches/targets/hp_pnnl-2.4.target.in
+++ b/lustre/kernel_patches/targets/hp_pnnl-2.4.target.in
@@ -4,7 +4,8 @@ lnxrel=hp_pnnl
 KERNEL=linux-$lnxmaj-$lnxrel.tar.gz
 SERIES=hp-pnnl-2.4.20
 VERSION=$lnxmaj
-EXTRA_VERSION=$lnxrel_lustre.@VERSION@
+EXTRA_VERSION=${lnxrel}_lustre.@VERSION@
+LUSTRE_VERSION=@VERSION@
 RHBUILD=0
 
 BASE_ARCHS="ia64"
diff --git a/lustre/kernel_patches/targets/rh-2.4.target.in b/lustre/kernel_patches/targets/rh-2.4.target.in
index fa9140d88ca474f1089b822599106dbbc6953263..d27ed40111206b544f56099e75302ba74dfd4a1a 100644
--- a/lustre/kernel_patches/targets/rh-2.4.target.in
+++ b/lustre/kernel_patches/targets/rh-2.4.target.in
@@ -5,6 +5,7 @@ KERNEL=linux-${lnxmaj}-${lnxrel}.tar.gz
 SERIES=rh-2.4.20
 VERSION=$lnxmaj
 EXTRA_VERSION=${lnxrel}_lustre.@VERSION@
+LUSTRE_VERSION=@VERSION@
 RHBUILD=1
 
 BASE_ARCHS="i686"
diff --git a/lustre/kernel_patches/targets/rhel-2.4.target.in b/lustre/kernel_patches/targets/rhel-2.4.target.in
index df41ed0988cdc0e1997147a07294eb972cfac748..73f4d2ca9f83df2ee08444e71025f4a8c0bdbf74 100644
--- a/lustre/kernel_patches/targets/rhel-2.4.target.in
+++ b/lustre/kernel_patches/targets/rhel-2.4.target.in
@@ -5,6 +5,7 @@ KERNEL=linux-${lnxmaj}-${lnxrel}.tar.bz2
 SERIES=rhel-2.4.21
 VERSION=${lnxmaj}
 EXTRA_VERSION=${lnxrel}_lustre.@VERSION@
+LUSTRE_VERSION=@VERSION@
 RHBUILD=1
 
 BASE_ARCHS="i686 x86_64 ia64"
diff --git a/lustre/kernel_patches/targets/suse-2.4.21-2.target.in b/lustre/kernel_patches/targets/suse-2.4.21-2.target.in
index 245c08528d0862cf358ba81a718f1a298656768f..d00ca78dfe085a024ab271363d0d2b71c81926c7 100644
--- a/lustre/kernel_patches/targets/suse-2.4.21-2.target.in
+++ b/lustre/kernel_patches/targets/suse-2.4.21-2.target.in
@@ -2,6 +2,7 @@ KERNEL=linux-2.4.21-x86_64.tar.gz
 SERIES=suse-2.4.21-2
 VERSION=2.4.21
 EXTRA_VERSION=lustre.@VERSION@
+LUSTRE_VERSION=@VERSION@
 RHBUILD=0
 
 BASE_ARCHS="x86_64"