exta/aufs2 to 2.6.37_20110124-2

This commit is contained in:
Kevin Mihelich 2011-03-03 12:58:18 -05:00
parent 1f3040f383
commit ce095d7c28
2 changed files with 7 additions and 5 deletions

View file

@ -1,4 +1,4 @@
# $Id: PKGBUILD 107419 2011-01-24 19:05:04Z tpowa $
# $Id: PKGBUILD 110689 2011-02-21 15:30:22Z tpowa $
# Maintainer: Paul Mattal <pjmattal@elys.com>
# PlugApps: Kevin Mihelich <kevin@plugapps.com>
@ -8,14 +8,14 @@ plugrel=1
pkgname=aufs2
pkgver=2.6.37_20110124
pkgrel=1
pkgrel=2
#_kernver=${pkgver%_*}-ARCH
_kernver=2.6.37
pkgdesc="Another Unionfs Implementation"
arch=('i686' 'x86_64')
url="http://aufs.sourceforge.net/"
license=('GPL2')
depends=('kernel26>=2.6.37' 'kernel26<2.6.38')
depends=('kernel26>=2.6.37i.1' 'kernel26<2.6.38')
makedepends=('kernel26-headers>=2.6.37' 'kernel26-headers<2.6.38')
replaces=('aufs')
install=${pkgname}.install
@ -60,6 +60,8 @@ package() {
sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" \
$startdir/$pkgname.install
# install include files
install -D -m 644 include/linux/aufs_type.h $pkgdir/usr/include/linux/aufs_type.h
install -D -m 644 include/linux/aufs_type.h $pkgdir/usr/include/linux/aufs_type.h
# gzip -9 all modules to safe 100MB
find "$pkgdir" -name '*.ko' -exec gzip -9 {} \;
}
md5sums=('fa64d7893490ef9c82310ebd5f730443')

View file

@ -1,5 +1,5 @@
post_install() {
KERNEL_VERSION=2.6.37-ARCH
KERNEL_VERSION=2.6.37
depmod $KERNEL_VERSION
}