Commit 0e2ec103 authored by Konstantin Baev's avatar Konstantin Baev

Fix bug al testbuild feature

parent 0c1121b1
...@@ -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
......
...@@ -20,9 +20,10 @@ else ...@@ -20,9 +20,10 @@ 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
[ -L $KERNSRC ] && continue
[ -f $KERNSRC/.config ] || continue [ -f $KERNSRC/.config ] || continue
echo "---------------------------------------------------------------------" echo "---------------------------------------------------------------------"
detect_kernel detect_kernel
...@@ -34,6 +35,7 @@ else ...@@ -34,6 +35,7 @@ else
compile_module compile_module
check_build_module check_build_module
fi fi
fi
done done
echo "=====================================================================" echo "====================================================================="
echo "CIFS Linux kernel module built for follow kernels (marked as ---DONE):" echo "CIFS Linux kernel module built for follow kernels (marked as ---DONE):"
......
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