Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etercifs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
etercifs
Commits
118d4edd
Commit
118d4edd
authored
Apr 04, 2017
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use eepm instead lsb_release
parent
bb95e700
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
12 deletions
+6
-12
etercifs.spec
etercifs.spec
+1
-2
functions.sh
etercifs/functions.sh
+3
-8
source.table
etercifs/source.table
+2
-2
No files found.
etercifs.spec
View file @
118d4edd
...
...
@@ -29,9 +29,8 @@ Requires: gcc make
# We definitely needs mount.cifs command
Requires: cifs-utils
# TODO
# We definitely have to use distr_vendor
#
Requires: eepm
Requires: eepm
%description
This package contains Etersoft modified CIFS kernel module
...
...
etercifs/functions.sh
View file @
118d4edd
...
...
@@ -53,14 +53,9 @@ fake_source_versions()
detect_etercifs_sources
()
{
KERNEL_SOURCE_ETERCIFS
=
# TODO epm (we need fix distro names according to epm names)
if
false
&&
which distr_info 2>/dev/null
>
/dev/null
;
then
DISTRO
=
$(
a
=
distr_info
)
echo
"Detected
$DISTRO
via EEPM"
else
DISTRO
=
$(
a
=
lsb_release
-d
2>/dev/null
)
echo
"Detected
$DISTRO
with lsb_release"
fi
# use epm
DISTRO
=
$(
a
=
distr_info
)
echo
"Detected
$DISTRO
via distr_info from EEPM"
KERNEL_SOURCE_ETERCIFS
=
$(
./source.sh
"
$DISTRO
"
"
$KERNELVERSION
"
< source.table
)
...
...
etercifs/source.table
View file @
118d4edd
...
...
@@ -11,7 +11,7 @@
[GosLinux]
3.10 goslinux64
[CentOS|R
ed Hat|Scientific Linux|NauLinux|LinuxWizard Server
|RERemix]
[CentOS|R
HEL|Scientific|NauLinux
|RERemix]
# >= source_version
3.10 centos7 # RHEL 7.x
2.6.33 fixme
...
...
@@ -27,6 +27,6 @@
2.6.18.1 legacy # RHEL
2.6.0 legacy
[
openSUSE
]
[
SUSE|SLED|SLES
]
3.16.99 fixme
3.16.7 suse13_2 # SUSE 13.2
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment