mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
removed aur/aufs3 - built into kernel now
This commit is contained in:
parent
16e4697ff3
commit
61faea5c22
2 changed files with 0 additions and 82 deletions
|
@ -1,70 +0,0 @@
|
|||
# Contributor: Paul Mattal <pjmattal@elys.com>
|
||||
# Maintainer: Calimero <calimeroteknik@free.fr>
|
||||
|
||||
plugrel=1
|
||||
noautobuild=1
|
||||
|
||||
pkgname=aufs3
|
||||
pkgver=3.0_20110919
|
||||
pkgrel=1
|
||||
#_kernver=${pkgver%_*}-ARCH
|
||||
|
||||
# Set to whatever the tree of your aufs-friendly kernel is, and set the right dependency.
|
||||
_kernver=3.0-ARCH
|
||||
depends=('aufs_friendly')
|
||||
makedepends=('linux-headers')
|
||||
#_kernver=3.0-aufs_friendly
|
||||
#depends=('linux-aufs_friendly')
|
||||
|
||||
pkgdesc="Another Unionfs Implementation"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://aufs.sourceforge.net/"
|
||||
license=('GPL2')
|
||||
replaces=('aufs' 'aufs2')
|
||||
conflicts=('aufs2')
|
||||
install=aufs3.install
|
||||
source=("http://calimeroteknik.free.fr/src/aufs3-${pkgver}.tar.gz")
|
||||
options=('!makeflags' '!strip')
|
||||
md5sums=('c82bf6612863828630cf30e9421434ee')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/aufs3-${pkgver}"
|
||||
sed -i 's|CONFIG_AUFS_HNOTIFY =.*|CONFIG_AUFS_HNOTIFY = y|' \
|
||||
config.mk
|
||||
sed -i 's|CONFIG_AUFS_HFSNOTIFY =.*|CONFIG_AUFS_HFSNOTIFY = y|' \
|
||||
config.mk
|
||||
sed -i 's|CONFIG_AUFS_EXPORT =.*|CONFIG_AUFS_EXPORT = y|' \
|
||||
config.mk
|
||||
sed -i 's|CONFIG_AUFS_SHWH =.*|CONFIG_AUFS_SHWH = y|' \
|
||||
config.mk
|
||||
sed -i 's|CONFIG_AUFS_BDEV_LOOP =.*|CONFIG_AUFS_BDEV_LOOP = y|' \
|
||||
config.mk
|
||||
sed -i 's|CONFIG_AUFS_BR_RAMFS =.*|CONFIG_AUFS_BR_RAMFS = y|' \
|
||||
config.mk
|
||||
sed -i 's|CONFIG_AUFS_DEBUG =.*|CONFIG_AUFS_DEBUG =|' \
|
||||
config.mk
|
||||
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}/aufs3-${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}/aufs3.install"
|
||||
# install include files
|
||||
install -D -m 644 include/linux/aufs_type.h "${pkgdir}/usr/include/linux/aufs_type.h"
|
||||
# gzip -9 the module
|
||||
find "${pkgdir}" -name '*.ko' -exec gzip -9 {} \;
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
post_install() {
|
||||
KERNEL_VERSION=3.0-ARCH
|
||||
depmod $KERNEL_VERSION
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
Loading…
Reference in a new issue