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
0e2ec103
Commit
0e2ec103
authored
Nov 04, 2008
by
Konstantin Baev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bug al testbuild feature
parent
0c1121b1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
14 deletions
+16
-14
etercifs.spec
etercifs.spec
+1
-1
buildmodule.sh
etercifs/buildmodule.sh
+15
-13
No files found.
etercifs.spec
View file @
0e2ec103
...
@@ -106,7 +106,7 @@ cp %SOURCE27 %buildroot/%etercifs_src/%src_package_name-2.6.27-%src_2_6_27_versi
...
@@ -106,7 +106,7 @@ cp %SOURCE27 %buildroot/%etercifs_src/%src_package_name-2.6.27-%src_2_6_27_versi
%_initdir/%name.outformat
%_initdir/%name.outformat
%changelog
%changelog
*
Wed Nov 05
2008 Konstantin Baev <kipruss@altlinux.org> 3.7.0-alt2
*
Mon Nov 03
2008 Konstantin Baev <kipruss@altlinux.org> 3.7.0-alt2
- delete last change (building module on installing rpm)
- delete last change (building module on installing rpm)
- remove kernel_src.list and distr_vendor
- remove kernel_src.list and distr_vendor
- code refactoring near finction.sh and buildmodule.sh
- code refactoring near finction.sh and buildmodule.sh
...
...
etercifs/buildmodule.sh
View file @
0e2ec103
...
@@ -20,19 +20,21 @@ else
...
@@ -20,19 +20,21 @@ else
echo
"====================================================================="
echo
"====================================================================="
echo
"Check build etercifs module for all founded kernels"
echo
"Check build etercifs module for all founded kernels"
BUILTLIST
=
BUILTLIST
=
[
-n
"
$KERNEL_SRC_LIST
"
]
||
KERNEL_SRC_LIST
=
`
readlink
/lib/modules/
*
/build
`
for
LM
in
`
ls
/lib/modules
`
;
do
for
KERNSRC
in
$KERNEL_SRC_LIST
;
do
KERNSRC
=
`
readlink
/lib/modules/
$LM
/build
`
[
-L
$KERNSRC
]
&&
[
`
basename
$KERNSRC
`
!=
"build"
]
&&
continue
if
[
$KERNSRC
]
;
then
[
-f
$KERNSRC
/.config
]
||
continue
[
-L
$KERNSRC
]
&&
continue
echo
"---------------------------------------------------------------------"
[
-f
$KERNSRC
/.config
]
||
continue
detect_kernel
echo
"---------------------------------------------------------------------"
if
[
-z
"
$KERNELVERSION
"
]
;
then
detect_kernel
echo
"Can't detect kernel version in
$KERNSRC
"
if
[
-z
"
$KERNELVERSION
"
]
;
then
else
echo
"Can't detect kernel version in
$KERNSRC
"
echo
"Build for
$KERNSRC
(detected as
$KERNELVERSION
)"
else
BUILTLIST
=
"
$BUILTLIST
$KERNELVERSION
"
echo
"Build for
$KERNSRC
(detected as
$KERNELVERSION
)"
compile_module
BUILTLIST
=
"
$BUILTLIST
$KERNELVERSION
"
check_build_module
compile_module
check_build_module
fi
fi
fi
done
done
echo
"====================================================================="
echo
"====================================================================="
...
...
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