SPECS: aufs.spec - builds
sparky
sparky at pld-linux.org
Wed Feb 21 00:21:40 CET 2007
Author: sparky Date: Tue Feb 20 23:21:40 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- builds
---- Files affected:
SPECS:
aufs.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/aufs.spec
diff -u SPECS/aufs.spec:1.1 SPECS/aufs.spec:1.2
--- SPECS/aufs.spec:1.1 Tue Feb 20 22:45:32 2007
+++ SPECS/aufs.spec Wed Feb 21 00:21:35 2007
@@ -25,6 +25,7 @@
%{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.14}
BuildRequires: rpmbuild(macros) >= 1.330
%endif
+BuildRequires: sed >= 4.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -80,17 +81,20 @@
%prep
%setup -qn %{name}
+sed 's/$(CONFIG_AUFS)/m/; %{!?debug:s/$(CONFIG_AUFS_DEBUG.*)/n/}; s/$(CONFIG_AUFS_HINOTIFY)/n/' -i fs/aufs/Makefile
+cp -a include/linux fs/aufs
%build
%if %{with kernel}
-%build_kernel_modules -m aufs
+%build_kernel_modules -C fs/aufs -m aufs \
+ EXTRA_CFLAGS="-DCONFIG_AUFS_BRANCH_MAX_CHAR -DCONFIG_AUFS_FAKE_DM -DCONFIG_AUFS_MODULE -UCONFIG_AUFS_KSIZE_PATCH %{?debug:-DCONFIG_AUFS_DEBUG}"
%endif
%install
rm -rf $RPM_BUILD_ROOT
%if %{with kernel}
-%install_kernel_modules -m aufs -d fs
+%install_kernel_modules -m fs/aufs/aufs -d fs
%endif
%clean
@@ -134,6 +138,8 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2007/02/20 23:21:35 sparky
+- builds
+
Revision 1.1 2007/02/20 21:45:32 glen
- new, smb else finish this
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/aufs.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list