summaryrefslogtreecommitdiff
path: root/core/btrfs-progs
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-06 00:25:32 -0700
committerroot <root@rshg054.dnsready.net>2012-10-06 00:25:32 -0700
commite7552010f531ef1b114352f0ce71a307360bf1d4 (patch)
treed37bd67211f2dc084113f36b80f2b4b5b9622aa5 /core/btrfs-progs
parent777466db27694f0cad10a7159ba66f2a2b39a516 (diff)
Sat Oct 6 00:25:32 PDT 2012
Diffstat (limited to 'core/btrfs-progs')
-rw-r--r--core/btrfs-progs/PKGBUILD39
-rw-r--r--core/btrfs-progs/btrfs-progs.install9
2 files changed, 29 insertions, 19 deletions
diff --git a/core/btrfs-progs/PKGBUILD b/core/btrfs-progs/PKGBUILD
index 2c5b6f907..5e690e728 100644
--- a/core/btrfs-progs/PKGBUILD
+++ b/core/btrfs-progs/PKGBUILD
@@ -1,9 +1,10 @@
-# $Id: PKGBUILD 164224 2012-07-27 20:04:40Z dreisner $
+# $Id: PKGBUILD 168061 2012-10-05 15:07:13Z tomegun $
# Maintainer: Tom Gundersen <teg@jklm.no>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
+
pkgname=btrfs-progs
-pkgver=0.19.20120328
-pkgrel=4
+pkgver=0.19.20120904
+pkgrel=7
pkgdesc="btrfs filesystem utilities"
arch=(i686 x86_64)
depends=('glibc' 'e2fsprogs')
@@ -13,17 +14,22 @@ conflicts=('btrfs-progs-unstable')
provides=('btrfs-progs-unstable')
license=('GPL2')
source=(ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.xz
- 70-btrfs.rules
- initcpio-install-btrfs
- initcpio-hook-btrfs)
-md5sums=('f4504e73cf9254779b78d5b2318ac570'
- '345c62c8b267082361729ca5b647518f'
- 'e5186ec3fe8a809b7473470128d1c4ab'
- '9fb35142755b477a96cb7292f3d64839')
+ initcpio-install-btrfs
+ initcpio-hook-btrfs
+ 70-btrfs.rules)
+#install=btrfs-progs.install
build() {
cd $srcdir/$pkgname-$pkgver
make CFLAGS="$CFLAGS"
+
+ # install mkinitcpio hooks
+ install -Dm644 "$srcdir/initcpio-install-btrfs" \
+ "$pkgdir/usr/lib/initcpio/install/btrfs"
+ install -Dm644 "$srcdir/initcpio-hook-btrfs" \
+ "$pkgdir/usr/lib/initcpio/hooks/btrfs"
+ install -Dm644 "$srcdir/70-btrfs.rules" \
+ "$pkgdir/usr/lib/udev/rules.d/70-btrfs.rules"
}
package() {
@@ -34,13 +40,8 @@ package() {
mv $pkgdir/usr/man $pkgdir/usr/share/man
mkdir -p ${pkgdir}/sbin
ln -sf /usr/bin/btrfs ${pkgdir}/sbin/btrfs
-
- # add udev rule
- install -Dm644 "$srcdir/70-btrfs.rules" "$pkgdir/usr/lib/udev/rules.d/70-btrfs.rules"
-
- # install mkinitcpio hooks
- install -Dm644 "$srcdir/initcpio-install-btrfs" \
- "$pkgdir/usr/lib/initcpio/install/btrfs"
- install -Dm644 "$srcdir/initcpio-hook-btrfs" \
- "$pkgdir/usr/lib/initcpio/hooks/btrfs"
}
+md5sums=('d9c96e670fac7c2098a9e7ef98d4b2e2'
+ 'e5186ec3fe8a809b7473470128d1c4ab'
+ '9fb35142755b477a96cb7292f3d64839'
+ '345c62c8b267082361729ca5b647518f')
diff --git a/core/btrfs-progs/btrfs-progs.install b/core/btrfs-progs/btrfs-progs.install
new file mode 100644
index 000000000..077d7529a
--- /dev/null
+++ b/core/btrfs-progs/btrfs-progs.install
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+post_upgrade() {
+ if [ "$(vercmp 0.19.20120904-6 "$2")" -eq 1 ]; then
+ echo "btrfs multi-device support now relies on linux 3.6 or later"
+ fi
+}
+
+# vim:set ts=2 sw=2 et: