diff options
author | James Meyer <james.meyer@operamail.com> | 2010-09-08 07:33:44 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2010-09-08 07:33:44 (GMT) |
commit | 525753e4a1a139e088d8ac120b19fbab6c0aaaa6 (patch) | |
tree | 35cef28abb613da4f58e83f6abbe4bd4cfa244bf /abs/core-testing/aufs | |
parent | 592e3cad43ef12c53f523145d0fd981b54f2a049 (diff) | |
parent | b172f79fadb565ecfbcec9508f9377d8618a4f4c (diff) | |
download | linhes_pkgbuild-525753e4a1a139e088d8ac120b19fbab6c0aaaa6.zip linhes_pkgbuild-525753e4a1a139e088d8ac120b19fbab6c0aaaa6.tar.gz linhes_pkgbuild-525753e4a1a139e088d8ac120b19fbab6c0aaaa6.tar.bz2 |
Merge branch 'HEAD' of ssh://jams@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/core-testing/aufs')
-rw-r--r-- | abs/core-testing/aufs/PKGBUILD | 71 | ||||
-rw-r--r-- | abs/core-testing/aufs/aufs.install | 31 |
2 files changed, 0 insertions, 102 deletions
diff --git a/abs/core-testing/aufs/PKGBUILD b/abs/core-testing/aufs/PKGBUILD deleted file mode 100644 index 3f1e1d0..0000000 --- a/abs/core-testing/aufs/PKGBUILD +++ /dev/null @@ -1,71 +0,0 @@ -# $Id: PKGBUILD 22431 2008-12-26 20:13:34Z tpowa $ -# Contributor: Paul Mattal <paul@mattal.com> -# Maintainer: Paul Mattal <pjmattal@elys.com> -pkgname=aufs -pkgver=20081226 -pkgrel=2 -_kernver='2.6.28-LinHES' -pkgdesc="Another Unionfs Implementation that supports NFS branches" -arch=('i686' 'x86_64') -url="http://aufs.sourceforge.net/" -license=('GPL2') -depends=('kernel26>=2.6.28' 'kernel26<2.6.29' 'glibc' 'aufs-utils=20081226') -install=$pkgname.install -source=(ftp://ftp.archlinux.org/other/aufs/$pkgname-$pkgver.tar.bz2) -options=(!libtool !makeflags) - -build() { - cd $srcdir/$pkgname || return 1 - - # Fix TMPFS_MAGIC error - sed 's|-le 26|-le 27|g' -i fs/aufs25/Makefile || return 1 - - # use splice functions exported by unionfs kernel patch' - # - important for loopback fs mounts - sed -i 's|CONFIG_AUFS_SPLICE_PATCH =|CONFIG_AUFS_SPLICE_PATCH = y|' \ - local.mk || return 1 - - # this fixes the unionfs patch from hanging aufs - sed -i 's|CONFIG_AUFS_UNIONFS23_PATCH =|CONFIG_AUFS_UNIONFS23_PATCH = y|' \ - local.mk || return 1 - - sed -i 's|CONFIG_AUFS_WORKAROUND_FUSE =|CONFIG_AUFS_WORKAROUND_FUSE = y|' \ - local.mk || return 1 - - sed -i 's|CONFIG_AUFS_BRANCH_MAX_127 = y|CONFIG_AUFS_BRANCH_MAX_127 =|' \ - local.mk || return 1 - - sed -i 's|CONFIG_AUFS_BRANCH_MAX_1023 =|CONFIG_AUFS_BRANCH_MAX_1023 = y|' \ - local.mk || return 1 - - # ??? - sed -i 's|.*CONFIG_AUFS_SHWH =.*|CONFIG_AUFS_SHWH = y|' \ - local.mk || return 1 - # disable debug, broken in 2.6.28! - sed -i 's|CONFIG_AUFS_DEBUG = y|CONFIG_AUFS_DEBUG = |' \ - local.mk || return 1 - - # configure for NFS by: - # 1) configure local.mk to use FILP and LHASH - sed -i 's|CONFIG_AUFS_PUT_FILP_PATCH =|CONFIG_AUFS_PUT_FILP_PATCH = y|' \ - local.mk || return 1 - sed -i 's|CONFIG_AUFS_LHASH_PATCH =|CONFIG_AUFS_LHASH_PATCH = y|' \ - local.mk || return 1 - # 2) configure local.mk NOT to use FAKE_DM - sed -i 's|CONFIG_AUFS_FAKE_DM = y|CONFIG_AUFS_FAKE_DM = |' \ - local.mk || return 1 - - # build - make KDIR=/usr/src/linux-$_kernver/ -f local.mk || return 1 - - # install - install -D -m644 fs/aufs25/aufs.ko \ - $startdir/pkg/lib/modules/$_kernver/fs/aufs25/aufs.ko || return 1 - - # tweak the install script for the right kernel version - sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" \ - $startdir/$pkgname.install || return 1 -} - -# vim:set ts=2 sw=2 et: -md5sums=('e855ed9edc16953028f22cae393690de') diff --git a/abs/core-testing/aufs/aufs.install b/abs/core-testing/aufs/aufs.install deleted file mode 100644 index 8081c6a..0000000 --- a/abs/core-testing/aufs/aufs.install +++ /dev/null @@ -1,31 +0,0 @@ -pre_install() { - /bin/true -} - -post_install() { - # updating module dependencies - echo ">>> Updating module dependencies. Please wait ..." - KERNEL_VERSION=2.6.28-LinHES - depmod -v $KERNEL_VERSION > /dev/null 2>&1 - /bin/true -} - -post_upgrade() { - # updating module dependencies - echo ">>> Updating module dependencies. Please wait ..." - KERNEL_VERSION=2.6.28-LinHES - depmod -v $KERNEL_VERSION > /dev/null 2>&1 - /bin/true -} - -post_remove() { - # updating module dependencies - echo ">>> Updating module dependencies. Please wait ..." - KERNEL_VERSION=2.6.28-LinHES - depmod -v $KERNEL_VERSION > /dev/null 2>&1 - /bin/true -} - -op=$1 -shift -$op $* |