Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.

Commit

Permalink
Remove Chaos 4.x RPM support
Browse files Browse the repository at this point in the history
The Chaos 4.x distribution is based on RHEL 5.x which is no longer
supported by ZoL since it uses a 2.6.18 kernel.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
  • Loading branch information
behlendorf committed Jul 2, 2012
1 parent 92c2f75 commit 33f507c
Showing 1 changed file with 0 additions and 41 deletions.
41 changes: 0 additions & 41 deletions spl-modules.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -150,46 +150,6 @@
%endif
%else

# CHAOS 4.x:
%if %{defined ch4}
%if %{undefined kver}
%define klnk %{_usrsrc}/kernels/*/include/config
%define kver_kern %((echo X; %{__cat} %{klnk}/kernel.release
2>/dev/null) | tail -1)
%define kver_dbug %{nil}
%else
%define kver_kern %{kver}
%define kver_dbug %{nil}
%endif

%define kpkg_kern chaos-kernel
%define kpkg_dbug %{nil}

%define kdevpkg_kern chaos-kernel-devel
%define kdevpkg_dbug %{nil}

%define kverpkg_kern %{kver_kern}
%define kverpkg_dbug %{nil}

%define koppkg =

%if %{undefined kdir}
%define kdir_kern %{_usrsrc}/kernels/%{kver_kern}
%define kdir_dbug %{nil}
%else
%define kdir_kern %{kdir}
%define kdir_dbug %{nil}
%endif

%if %{undefined kobj}
%define kobj_kern %{kdir_kern}
%define kobj_dbug %{nil}
%else
%define kobj_kern %{kobj}
%define kobj_dbug %{nil}
%endif
%else

# RHEL 5.x/6.x, CHAOS 5.x:
%if %{defined el5} || %{defined el6} || %{defined ch5}
%if %{undefined kver}
Expand Down Expand Up @@ -313,7 +273,6 @@
%endif
%endif
%endif
%endif

# Distro agnostic:
%define name @PACKAGE@-modules
Expand Down

0 comments on commit 33f507c

Please sign in to comment.