diff options
author | Cecil <knoppmyth@gmail.com> | 2011-01-12 06:15:04 (GMT) |
---|---|---|
committer | Cecil <knoppmyth@gmail.com> | 2011-01-12 06:15:04 (GMT) |
commit | 8bfdf80b7a10b480313391d4aaa1b130dcfd2215 (patch) | |
tree | 26aefeac520a318fc9d41527ab8af0e6361ed90a /abs/core/aufs2/PKGBUILD | |
parent | 04010ce4b2b9d4d8a2a461e77f3c9a78558f073f (diff) | |
download | linhes_pkgbuild-8bfdf80b7a10b480313391d4aaa1b130dcfd2215.zip linhes_pkgbuild-8bfdf80b7a10b480313391d4aaa1b130dcfd2215.tar.gz linhes_pkgbuild-8bfdf80b7a10b480313391d4aaa1b130dcfd2215.tar.bz2 |
aufs2:Bumped for 2.6.37-LinHES
Diffstat (limited to 'abs/core/aufs2/PKGBUILD')
-rw-r--r-- | abs/core/aufs2/PKGBUILD | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/abs/core/aufs2/PKGBUILD b/abs/core/aufs2/PKGBUILD index 18c2293..a05c666 100644 --- a/abs/core/aufs2/PKGBUILD +++ b/abs/core/aufs2/PKGBUILD @@ -1,26 +1,26 @@ -# $Id: PKGBUILD 97484 2010-10-30 17:27:24Z tpowa $ +# $Id: PKGBUILD 105327 2011-01-07 20:08:57Z tpowa $ # Maintainer: Paul Mattal <pjmattal@elys.com> pkgname=aufs2 -pkgver=2.6.36_20101021 -pkgrel=2 +pkgver=2.6.37_20110105 +pkgrel=1 #_kernver=${pkgver%_*}-ARCH -_kernver=2.6.36-LinHES +_kernver=2.6.37-LinHES pkgdesc="Another Unionfs Implementation" arch=('i686' 'x86_64') url="http://aufs.sourceforge.net/" license=('GPL2') -depends=('kernel26>=2.6.36' 'kernel26<2.6.37') -makedepends=('kernel26-headers>=2.6.36' 'kernel26-headers<2.6.37') +depends=('kernel26>=2.6.37' 'kernel26<2.6.38') +makedepends=('kernel26-headers>=2.6.37' 'kernel26-headers<2.6.38') replaces=('aufs') install=${pkgname}.install -source=("ftp://ftp.archlinux.org/other/aufs2/${pkgname}-${pkgver}.tar.gz" - aufs2-module-2.6.36.patch) +source=("ftp://ftp.archlinux.org/other/aufs2/${pkgname}-${pkgver}.tar.gz") + #aufs2-module-2.6.36.patch) options=('!makeflags') build() { cd ${srcdir}/${pkgname}-${pkgver} - patch -Np1 -i ../aufs2-module-2.6.36.patch + #patch -Np1 -i ../aufs2-module-2.6.36.patch sed -i 's|CONFIG_AUFS_HNOTIFY =.*|CONFIG_AUFS_HNOTIFY = y|' \ config.mk || return 1 sed -i 's|CONFIG_AUFS_HFSNOTIFY =.*|CONFIG_AUFS_HFSNOTIFY = y|' \ @@ -41,20 +41,19 @@ build() { inot64="" fi sed -i "s|CONFIG_AUFS_INO_T_64 =.*|CONFIG_AUFS_INO_T_64 =${inot64}|" \ - config.mk || return 1 + config.mk # build - make KDIR=/usr/src/linux-${_kernver} || return 1 + make aufs.ko KDIR=/usr/src/linux-${_kernver} } package() { cd ${srcdir}/${pkgname}-${pkgver} install -D -m644 fs/aufs/aufs.ko \ - $pkgdir/lib/modules/${_kernver}/kernel/fs/aufs/aufs.ko || return 1 + $pkgdir/lib/modules/${_kernver}/kernel/fs/aufs/aufs.ko # tweak the install script for the right kernel version sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" \ - $startdir/$pkgname.install || return 1 + $startdir/$pkgname.install # install include files - install -D -m 644 include/linux/aufs_type.h $pkgdir/usr/src/linux-$_kernver/include/linux/aufs_type.h || return 1 + install -D -m 644 include/linux/aufs_type.h $pkgdir/usr/src/linux-$_kernver/include/linux/aufs_type.h } -md5sums=('9ba0666dc200bebb240ac598f9021d9f' - '55aac34dd0aa39458b6d927f4b2bddb8') +md5sums=('630c9c36bd4c0aa75a12b9bfa01ef8ee') |