summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-07-20 06:28:55 (GMT)
committerCecil <knoppmyth@gmail.com>2011-07-20 06:28:55 (GMT)
commitaec629d7b2db2f719d6d5c561e20ced9bb5910b2 (patch)
treebd19de652619bbf90f7363c31b6aca2b348c39a8 /abs/core
parent6086da2496a70377628e5a09925ed2703224e2a0 (diff)
downloadlinhes_pkgbuild-aec629d7b2db2f719d6d5c561e20ced9bb5910b2.zip
linhes_pkgbuild-aec629d7b2db2f719d6d5c561e20ced9bb5910b2.tar.gz
linhes_pkgbuild-aec629d7b2db2f719d6d5c561e20ced9bb5910b2.tar.bz2
aufs2:removed as module is now in patched in kernel26.
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/aufs2/PKGBUILD66
-rw-r--r--abs/core/aufs2/aufs2.install12
2 files changed, 0 insertions, 78 deletions
diff --git a/abs/core/aufs2/PKGBUILD b/abs/core/aufs2/PKGBUILD
deleted file mode 100644
index 12203af..0000000
--- a/abs/core/aufs2/PKGBUILD
+++ /dev/null
@@ -1,66 +0,0 @@
-# Contributor: Paul Mattal <pjmattal@elys.com>
-# Maintainer: Calimero <calimeroteknik@free.fr>
-
-pkgname=aufs2
-pkgver=2.6.39_20110711
-pkgrel=1
-#_kernver=${pkgver%_*}-ARCH
-
-# Set to whatever the tree of your aufs-friendly kernel is, and set the right dependency.
-#_kernver=2.6.39-ARCH
-#depends=('aufs_friendly')
-
-_kernver=2.6.39-LinHES
-depends=('kernel26>=2.6.39')
-
-pkgdesc="Another Unionfs Implementation"
-arch=('i686' 'x86_64')
-url="http://aufs.sourceforge.net/"
-license=('GPL2')
-replaces=('aufs')
-install=${pkgname}.install
-source=("http://calimeroteknik.free.fr/src/${pkgname}-${pkgver}.tar.gz")
-options=('!makeflags' '!strip')
-md5sums=('74bde9670759201f07025adf70bbaf43')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- sed -i 's|CONFIG_AUFS_HNOTIFY =.*|CONFIG_AUFS_HNOTIFY = y|' \
- config.mk || return 1
- sed -i 's|CONFIG_AUFS_HFSNOTIFY =.*|CONFIG_AUFS_HFSNOTIFY = y|' \
- config.mk || return 1
- sed -i 's|CONFIG_AUFS_EXPORT =.*|CONFIG_AUFS_EXPORT = y|' \
- config.mk || return 1
- sed -i 's|CONFIG_AUFS_SHWH =.*|CONFIG_AUFS_SHWH = y|' \
- config.mk || return 1
- sed -i 's|CONFIG_AUFS_BDEV_LOOP =.*|CONFIG_AUFS_BDEV_LOOP = y|' \
- config.mk || return 1
- sed -i 's|CONFIG_AUFS_BR_RAMFS =.*|CONFIG_AUFS_BR_RAMFS = y|' \
- config.mk || return 1
- sed -i 's|CONFIG_AUFS_DEBUG =.*|CONFIG_AUFS_DEBUG =|' \
- config.mk || return 1
- if [ "${CARCH}" = "x86_64" ]; then
- inot64=" y"
- else
- inot64=""
- fi
- sed -i "s|CONFIG_AUFS_INO_T_64 =.*|CONFIG_AUFS_INO_T_64 =${inot64}|" \
- config.mk
- # build, sed fixes are from gentoo portage build
- sed -i "s:aufs.ko usr/include/linux/aufs_type.h:aufs.ko:g" Makefile
- sed -i "s:__user::g" include/linux/aufs_type.h
- make 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
- # tweak the install script for the right kernel version
- sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" \
- $startdir/$pkgname.install
- # install include file
- 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 {} \;
-}
diff --git a/abs/core/aufs2/aufs2.install b/abs/core/aufs2/aufs2.install
deleted file mode 100644
index e0153ac..0000000
--- a/abs/core/aufs2/aufs2.install
+++ /dev/null
@@ -1,12 +0,0 @@
-post_install() {
- KERNEL_VERSION=2.6.39-ARCH
- depmod $KERNEL_VERSION
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}