SPECS: linux-abi.spec - kernel modules build and install fine. docs and scr...
pluto
pluto at pld-linux.org
Fri May 9 17:18:56 CEST 2008
Author: pluto Date: Fri May 9 15:18:56 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- kernel modules build and install fine. docs and scripts todo...
---- Files affected:
SPECS:
linux-abi.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/linux-abi.spec
diff -u SPECS/linux-abi.spec:1.1 SPECS/linux-abi.spec:1.2
--- SPECS/linux-abi.spec:1.1 Fri May 9 16:31:01 2008
+++ SPECS/linux-abi.spec Fri May 9 17:18:51 2008
@@ -19,6 +19,7 @@
Group: Base/Kernel
Source0: http://dl.sourceforge.net/linux-abi/IBCS-3_6.TGZ
# Source0-md5: 7f9f908e79ae14eb7405c6d591467cb0
+Patch0: %{name}-vserver.patch
URL: http://sourceforge.net/project/showfiles.php?group_id=13130
%if %{with kernel}
%{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.20.2}
@@ -49,20 +50,27 @@
%prep
%setup -qc
+%patch0 -p1
%build
%if %{with kernel}
-%build_kernel_modules ABI_DIR=$PWD ABI_VER=%(uname -r) -m all
+export ABI_DIR=$PWD
+export ABI_VER=%(uname -r)
+touch dummy.ko
+%build_kernel_modules -m dummy
+rm dummy.ko
%endif
%install
rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{/lib/modules/%{_kernel_ver}/kernel/misc,%{_sbindir}}
%if %{with userspace}
%endif
%if %{with kernel}
-%install_kernel_modules -m all -d kernel/misc
+install -m644 */*.ko $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}/kernel/misc
+%endif
%clean
rm -rf $RPM_BUILD_ROOT
@@ -91,5 +99,8 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2008-05-09 15:18:51 pluto
+- kernel modules build and install fine. docs and scripts todo...
+
Revision 1.1 2008-05-09 14:31:01 pluto
- initial checkin (for transport to carme-i686), nfy!
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/linux-abi.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list