Fix 2.6 kernel requirement
This commit is contained in:
parent
c86e65bed4
commit
98bbbc6660
@ -12,6 +12,7 @@ BuildRequires: libselinux-devel
|
|||||||
BuildRequires: libtermcap-devel
|
BuildRequires: libtermcap-devel
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: readline-devel
|
BuildRequires: readline-devel
|
||||||
|
Requires: kernel >= 2.6
|
||||||
Conflicts: lvm < 1.0.3-19
|
Conflicts: lvm < 1.0.3-19
|
||||||
Obsoletes: lvm < 1.0.3-19
|
Obsoletes: lvm < 1.0.3-19
|
||||||
|
|
||||||
@ -42,10 +43,6 @@ ln -s lvm.static $RPM_BUILD_ROOT/sbin/pvscan
|
|||||||
ln -s lvm.static $RPM_BUILD_ROOT/sbin/vgchange
|
ln -s lvm.static $RPM_BUILD_ROOT/sbin/vgchange
|
||||||
ln -s lvm.static $RPM_BUILD_ROOT/sbin/vgscan
|
ln -s lvm.static $RPM_BUILD_ROOT/sbin/vgscan
|
||||||
|
|
||||||
%pre
|
|
||||||
[[ `/bin/uname -r` < 2.6 ]] && echo "You need to be running a 2.6 kernel to install lvm2." && exit 1
|
|
||||||
exit 0
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
@ -63,6 +60,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%config(noreplace) /etc/lvm/lvm.conf
|
%config(noreplace) /etc/lvm/lvm.conf
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 25 2004 Elliot Lee <sopwith@redhat.com> - 2.00.25-1.01
|
||||||
|
- Fix 2.6 kernel requirement
|
||||||
|
|
||||||
* Wed Sep 29 2004 Alasdair Kergon <agk@redhat.com> - 2.00.25-1
|
* Wed Sep 29 2004 Alasdair Kergon <agk@redhat.com> - 2.00.25-1
|
||||||
- Fix vgmknodes return code & vgremove locking.
|
- Fix vgmknodes return code & vgremove locking.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user