From bc506c0b5724b802b326383645d98701b1f9c8c8 Mon Sep 17 00:00:00 2001 From: Rahul Deshmukh Date: Thu, 18 Mar 2010 10:20:47 -0700 Subject: [PATCH 1/1] b=22258 Build related changes to support fc12 on LBAT i=brian --- build/lbuild-fc | 12 ++++++++++++ build/lbuild-fc11 | 4 +--- build/lbuild-fc12 | 11 +++++++++++ lustre/kernel_patches/targets/2.6-fc12.target | 14 ++++++++++++++ 4 files changed, 38 insertions(+), 3 deletions(-) create mode 100644 build/lbuild-fc create mode 100644 build/lbuild-fc12 create mode 100644 lustre/kernel_patches/targets/2.6-fc12.target diff --git a/build/lbuild-fc b/build/lbuild-fc new file mode 100644 index 0000000..6e4607b --- /dev/null +++ b/build/lbuild-fc @@ -0,0 +1,12 @@ +# vim:expandtab:shiftwidth=4:softtabstop=4:tabstop=4: + +# Please see find_linux_devel_paths() in lbuild-rhel5 file for more details. +DEVEL_PATH_ARCH_DELIMETER="." +source ${0%/*}/lbuild-rhel5 + +# increment this if you have made a change that should force a new kernel +# to build built +#BUILD_GEN=1 +#BUILD_GEN=2 # bz19952: remove -lustre tag from kernel RPM names +BUILD_GEN=3 # bz19975 enable the building of src.rpms by default + diff --git a/build/lbuild-fc11 b/build/lbuild-fc11 index 12da985..5ec08c2 100644 --- a/build/lbuild-fc11 +++ b/build/lbuild-fc11 @@ -5,9 +5,7 @@ if [ $TARGET_ARCH == 'i686' ]; then DEVEL_PATH_ARCH="i586" fi -# Please see find_linux_devel_paths() in lbuild-rhel5 file for more details. -DEVEL_PATH_ARCH_DELIMETER="." -source ${0%/*}/lbuild-rhel5 +source ${0%/*}/lbuild-fc # increment this if you have made a change that should force a new kernel # to build built diff --git a/build/lbuild-fc12 b/build/lbuild-fc12 new file mode 100644 index 0000000..db0c9ef --- /dev/null +++ b/build/lbuild-fc12 @@ -0,0 +1,11 @@ +# vim:expandtab:shiftwidth=4:softtabstop=4:tabstop=4: + +source ${0%/*}/lbuild-fc + +# increment this if you have made a change that should force a new kernel +# to build built +#BUILD_GEN=1 +#BUILD_GEN=2 # bz19952: remove -lustre tag from kernel RPM names +BUILD_GEN=3 # bz19975 enable the building of src.rpms by default + + diff --git a/lustre/kernel_patches/targets/2.6-fc12.target b/lustre/kernel_patches/targets/2.6-fc12.target new file mode 100644 index 0000000..48fc958 --- /dev/null +++ b/lustre/kernel_patches/targets/2.6-fc12.target @@ -0,0 +1,14 @@ +lnxmaj="2.6.31.5" +lnxrel="127.fc12" + +KERNEL_SRPM=kernel-${lnxmaj}-${lnxrel}.src.rpm +SERIES=2.6-fc5.series +EXTRA_VERSION=${lnxrel}_lustre.@VERSION@ +LUSTRE_VERSION=@VERSION@ +BASE_ARCHS="i686 x86_64" +BIGMEM_ARCHS="" +BOOT_ARCHS="" +JENSEN_ARCHS="" +SMP_ARCHS="" +UP_ARCHS="" + -- 1.8.3.1