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
3d79b73e
Commit
3d79b73e
authored
Nov 07, 2008
by
Konstantin Baev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
3.8.0-alt2
- fix building module on Ubuntu
parent
e7d02bc2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
15 deletions
+9
-15
etercifs.spec
etercifs.spec
+4
-1
functions.sh
etercifs/functions.sh
+5
-14
No files found.
etercifs.spec
View file @
3d79b73e
...
...
@@ -21,7 +21,7 @@
Name: etercifs
Version: 3.8.0
Release: alt
1
Release: alt
2
Summary: Advanced Common Internet File System for Linux with Etersoft extension
...
...
@@ -111,6 +111,9 @@ cp %SOURCE27 %buildroot/%etercifs_src/%src_package_name-2.6.27-%src_2_6_27_versi
%_initdir/%name.outformat
%changelog
* Fri Nov 07 2008 Konstantin Baev <kipruss@altlinux.org> 3.8.0-alt2
- fix building module on Ubuntu
* Thu Nov 06 2008 Konstantin Baev <kipruss@altlinux.org> 3.8.0-alt1
- fix building module with dkms
- add config file /etc/etercifs.conf
...
...
etercifs/functions.sh
View file @
3d79b73e
...
...
@@ -125,11 +125,9 @@ set_gcc()
export
GCCNAME
=
gcc
fi
[
$TESTBUILD
-eq
1
]
||
echo
`
which
$GCCNAME
`
if
!
which
$GCCNAME
&>/dev/null
;
then
echo
"GCC compiler have not found. Please install gcc package."
exit
1
fi
PATHGCC
=
`
which
$GCCNAME
`
[
$PATHGCC
]
||
fatal
"GCC compiler have not found. Please install gcc package."
echo
$PATHGCC
}
dkms_build_module
()
...
...
@@ -156,15 +154,8 @@ compile_module()
[
-z
"
$RPM_BUILD_NCPUS
"
]
&&
RPM_BUILD_NCPUS
=
`
/usr/bin/getconf _NPROCESSORS_ONLN
`
[
"
$RPM_BUILD_NCPUS
"
-gt
1
]
&&
MAKESMP
=
"-j
$RPM_BUILD_NCPUS
"
||
MAKESMP
=
""
# Clean, build and check
#rm -f $BUILDDIR/$MODULEFILENAME
if
[
$TESTBUILD
-eq
1
]
;
then
make
$USEGCC
-C
$KERNSRC
here
=
$BUILDDIR
SUBDIRS
=
$BUILDDIR
clean &>/dev/null
make
$USEGCC
-C
$KERNSRC
here
=
$BUILDDIR
SUBDIRS
=
$BUILDDIR
modules
$MAKESMP
&>/dev/null
else
make
$USEGCC
-C
$KERNSRC
here
=
$BUILDDIR
SUBDIRS
=
$BUILDDIR
clean
make
$USEGCC
-C
$KERNSRC
here
=
$BUILDDIR
SUBDIRS
=
$BUILDDIR
modules
$MAKESMP
fi
make
$USEGCC
-C
$KERNSRC
here
=
$BUILDDIR
SUBDIRS
=
$BUILDDIR
clean
make
$USEGCC
-C
$KERNSRC
here
=
$BUILDDIR
SUBDIRS
=
$BUILDDIR
modules
$MAKESMP
}
install_module
()
...
...
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