SPECS: squashfs_lzma.spec - fix kernel module build
glen
glen at pld-linux.org
Thu Sep 20 12:43:32 CEST 2007
Author: glen Date: Thu Sep 20 10:43:32 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- fix kernel module build
---- Files affected:
SPECS:
squashfs_lzma.spec (1.21 -> 1.22)
---- Diffs:
================================================================
Index: SPECS/squashfs_lzma.spec
diff -u SPECS/squashfs_lzma.spec:1.21 SPECS/squashfs_lzma.spec:1.22
--- SPECS/squashfs_lzma.spec:1.21 Thu Sep 20 12:25:50 2007
+++ SPECS/squashfs_lzma.spec Thu Sep 20 12:43:27 2007
@@ -98,6 +98,8 @@
# in this patch all are new files except init/do_mounts_rd.c:
filterdiff -i '*/fs/squashfs/*' -i '*/include/linux/*' < kernel-patches/linux-2.6.20/squashfs3.2-patch | %{__patch} -p1
%{__patch} -p1 < sqlzma2k-3.2-r2.patch
+ln -s ../../sqlzma.h fs/squashfs
+ln -s ../../sqmagic.h fs/squashfs
#%patch0 -p0
#%patch1 -p1
@@ -142,7 +144,7 @@
%endif
%if %{with kernel}
-%install_kernel_modules -m fs/squashfs -d kernel/fs
+%install_kernel_modules -m fs/squashfs/squashfs -s lzma -d kernel/fs
%endif
%clean
@@ -164,7 +166,7 @@
%if %{with kernel}
%files -n kernel%{_alt_kernel}-fs-squashfs_lzma
%defattr(644,root,root,755)
-/lib/modules/%{_kernel_ver}/kernel/fs/squashfs_lzma.ko*
+/lib/modules/%{_kernel_ver}/kernel/fs/squashfs-lzma.ko*
%endif
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -173,6 +175,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.22 2007/09/20 10:43:27 glen
+- fix kernel module build
+
Revision 1.21 2007/09/20 10:25:50 glen
- proper BR
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/squashfs_lzma.spec?r1=1.21&r2=1.22&f=u
More information about the pld-cvs-commit
mailing list