# distributions, update the BUILD_GEN variable in build/lbuild)
BUILD_GEN+=".0"
+# This distro does not support zfs, so define ZFSNOTSUPPORTED
+# use words that make the bash log readable.
+ZFSNOTSUPPORTED="Zfs Not Supported"
+
source ${0%/*}/lbuild-rhel
SPEC_NAME="kernel-2.6.spec"
-e '/_sourcedir\/kabitool -b \./a\
cp $RPM_BUILD_ROOT/kabi_whitelist $RPM_SOURCE_DIR/kabi_whitelist_%{_target_cpu}$Flavour' \
-e '/^%prep$/,/^# END OF PATCH APPLICATIONS$/s/kernel-%{kversion}/%{name}-%{kversion}/g' \
+ -e 's/^\(%define signmodules \).*/\10/' \
SPECS/$SPEC_NAME 2>&1 || \
fatal 1 "Error while editing SPECS/$SPEC_NAME"
unpack_linux_devel_rpm-rhel "$callers_rpm"
- if [ ! -f usr/src/kernels/${lnxmaj}${lnxmin}-${lnxrel}-$TARGET_ARCH/symsets-${lnxmaj}${lnxmin}-${lnxrel}.tar.gz ]; then
- fatal 1 "cannot build modules: the Kernel's symsets is missing."
+ if $USE_KABI; then
+ if [ ! -f usr/src/kernels/${lnxmaj}${lnxmin}-${lnxrel}-$TARGET_ARCH/symsets-${lnxmaj}${lnxmin}-${lnxrel}.tar.gz ]; then
+ fatal 1 "cannot build modules: the Kernel's symsets is missing."
+ fi
fi
return 0
kernel_srpm_location() {
- echo "http://mirror.centos.org/centos-5/5/updates/SRPMS/"
+ echo "http://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/"
}