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
b6c15c06
Commit
b6c15c06
authored
Mar 09, 2010
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
print out module versing during test build, lists failed build too, fix CentOS/RHEL detecting
parent
8f26233c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
buildmodule.sh
etercifs/buildmodule.sh
+1
-1
functions.sh
etercifs/functions.sh
+7
-4
No files found.
etercifs/buildmodule.sh
View file @
b6c15c06
...
@@ -46,7 +46,7 @@ else
...
@@ -46,7 +46,7 @@ else
fi
fi
done
done
echo
"====================================================================="
echo
"====================================================================="
echo
"CIFS Linux kernel module
built for follow kernels (marked as ---DON
E):"
echo
"CIFS Linux kernel module
$MODULENAME
$MODULEVERSION
built for follow kernels (marked as ---DONE or ---FAILUR
E):"
echo
"---------------------------------------------------------------------"
echo
"---------------------------------------------------------------------"
for
i
in
$BUILTLIST
;
do
echo
"
$i
"
;
done
for
i
in
$BUILTLIST
;
do
echo
"
$i
"
;
done
echo
"====================================================================="
echo
"====================================================================="
...
...
etercifs/functions.sh
View file @
b6c15c06
...
@@ -45,10 +45,12 @@ detect_etercifs_sources()
...
@@ -45,10 +45,12 @@ detect_etercifs_sources()
KERNEL_SOURCE_ETERCIFS_LINK
=
`
ls
-1
$ETERCIFS_SOURCES_LIST
|
grep
$KERNEL
|
sort
-r
|
head
-n
1
`
KERNEL_SOURCE_ETERCIFS_LINK
=
`
ls
-1
$ETERCIFS_SOURCES_LIST
|
grep
$KERNEL
|
sort
-r
|
head
-n
1
`
# CentOS-RHEL specific part
# CentOS-RHEL specific part
SPECIFIC_CENTOS
=
0
SPECIFIC_CENTOS
=
grep
'CentOS'
/etc/redhat-release &>/dev/null
&&
SPECIFIC_CENTOS
=
1
if
[
-r
"/etc/redhat-release"
]
;
then
grep
'Red Hat'
/etc/redhat-release &>/dev/null
&&
SPECIFIC_CENTOS
=
1
grep
'CentOS'
/etc/redhat-release
>
/dev/null
&&
SPECIFIC_CENTOS
=
1
if
[
"
$SPECIFIC_CENTOS
"
-eq
1
]
;
then
grep
'Red Hat'
/etc/redhat-release
>
/dev/null
&&
SPECIFIC_CENTOS
=
1
fi
if
[
-n
"
$SPECIFIC_CENTOS
"
]
;
then
echo
echo
echo
"Found CentOS or RHEL."
echo
"Found CentOS or RHEL."
...
@@ -303,6 +305,7 @@ check_build_module()
...
@@ -303,6 +305,7 @@ check_build_module()
else
else
echo
"can't locate built module
$MODULEFILENAME
"
echo
"can't locate built module
$MODULEFILENAME
"
echo
"
$KERNELVERSION
- FAIL"
echo
"
$KERNELVERSION
- FAIL"
BUILTLIST
=
"
$BUILTLIST
---FAILURE"
fi
fi
}
}
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