Commit 118d4edd authored by Vitaly Lipatov's avatar Vitaly Lipatov

use eepm instead lsb_release

parent bb95e700
...@@ -29,9 +29,8 @@ Requires: gcc make ...@@ -29,9 +29,8 @@ Requires: gcc make
# We definitely needs mount.cifs command # We definitely needs mount.cifs command
Requires: cifs-utils Requires: cifs-utils
# TODO
# We definitely have to use distr_vendor # We definitely have to use distr_vendor
#Requires: eepm Requires: eepm
%description %description
This package contains Etersoft modified CIFS kernel module This package contains Etersoft modified CIFS kernel module
......
...@@ -53,14 +53,9 @@ fake_source_versions() ...@@ -53,14 +53,9 @@ fake_source_versions()
detect_etercifs_sources() detect_etercifs_sources()
{ {
KERNEL_SOURCE_ETERCIFS= KERNEL_SOURCE_ETERCIFS=
# TODO epm (we need fix distro names according to epm names) # use epm
if false && which distr_info 2>/dev/null >/dev/null ; then DISTRO=$(a= distr_info)
DISTRO=$(a= distr_info) echo "Detected $DISTRO via distr_info from EEPM"
echo "Detected $DISTRO via EEPM"
else
DISTRO=$(a= lsb_release -d 2>/dev/null)
echo "Detected $DISTRO with lsb_release"
fi
KERNEL_SOURCE_ETERCIFS=$(./source.sh "$DISTRO" "$KERNELVERSION" < source.table) KERNEL_SOURCE_ETERCIFS=$(./source.sh "$DISTRO" "$KERNELVERSION" < source.table)
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
[GosLinux] [GosLinux]
3.10 goslinux64 3.10 goslinux64
[CentOS|Red Hat|Scientific Linux|NauLinux|LinuxWizard Server|RERemix] [CentOS|RHEL|Scientific|NauLinux|RERemix]
# >= source_version # >= source_version
3.10 centos7 # RHEL 7.x 3.10 centos7 # RHEL 7.x
2.6.33 fixme 2.6.33 fixme
...@@ -27,6 +27,6 @@ ...@@ -27,6 +27,6 @@
2.6.18.1 legacy # RHEL 2.6.18.1 legacy # RHEL
2.6.0 legacy 2.6.0 legacy
[openSUSE] [SUSE|SLED|SLES]
3.16.99 fixme 3.16.99 fixme
3.16.7 suse13_2 # SUSE 13.2 3.16.7 suse13_2 # SUSE 13.2
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment