]> git.pld-linux.org Git - packages/aufs.git/commitdiff
- builds
authorsparky <sparky@pld-linux.org>
Tue, 20 Feb 2007 23:21:35 +0000 (23:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    aufs.spec -> 1.2

aufs.spec

index a9a7270f8f0d94cbe2b525d2bd388c25d53b3c27..4c2ee7432e1aaa48e172dc902fa802004086d2ff 100644 (file)
--- a/aufs.spec
+++ b/aufs.spec
@@ -24,6 +24,7 @@ URL:          http://aufs.sourceforge.net/
 %{?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
@@ -79,17 +80,20 @@ Ten pakiet zawiera moduł jądra Linuksa SMP.
 
 %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
This page took 0.062225 seconds and 4 git commands to generate.