SPECS: squashfs_lzma.spec - create kernel sources

glen glen at pld-linux.org
Thu Sep 20 12:25:01 CEST 2007


Author: glen                         Date: Thu Sep 20 10:25:01 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- create kernel sources

---- Files affected:
SPECS:
   squashfs_lzma.spec (1.19 -> 1.20) 

---- Diffs:

================================================================
Index: SPECS/squashfs_lzma.spec
diff -u SPECS/squashfs_lzma.spec:1.19 SPECS/squashfs_lzma.spec:1.20
--- SPECS/squashfs_lzma.spec:1.19	Thu Sep 20 12:09:47 2007
+++ SPECS/squashfs_lzma.spec	Thu Sep 20 12:24:56 2007
@@ -36,6 +36,7 @@
 %if %{with userspace}
 BuildRequires:	libstdc++-devel
 #BuildRequires:	lzma-devel >= 4.43-5
+BuildRequires:	patchutils
 %endif
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -94,6 +95,10 @@
 %{__patch} -p1 < sqlzma1-443.patch
 %{__patch} -p1 < sqlzma2u-3.2-r2.patch
 
+# 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
+
 #%patch0 -p0
 #%patch1 -p1
 #%patch2 -p1
@@ -124,7 +129,7 @@
 %endif
 
 %if %{with kernel}
-%build_kernel_modules -C squashfs -m squashfs_lzma
+%build_kernel_modules -C fs/squashfs -m squashfs
 %endif
 
 %install
@@ -137,7 +142,7 @@
 %endif
 
 %if %{with kernel}
-%install_kernel_modules -m squashfs/squashfs_lzma -d kernel/fs
+%install_kernel_modules -m fs/squashfs -d kernel/fs
 %endif
 
 %clean
@@ -168,6 +173,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.20  2007/09/20 10:24:56  glen
+- create kernel sources
+
 Revision 1.19  2007/09/20 10:09:47  glen
 - bcond cleanup
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/squashfs_lzma.spec?r1=1.19&r2=1.20&f=u



More information about the pld-cvs-commit mailing list