[arch-commits] Commit in btrfs-progs/trunk (PKGBUILD btrfs.install)

Tom Gundersen tomegun at archlinux.org
Wed Oct 3 22:36:36 UTC 2012


    Date: Wednesday, October 3, 2012 @ 18:36:35
  Author: tomegun
Revision: 167939

upgpkg: btrfs-progs 0.19.20120904-6

add post-upgraed message

Added:
  btrfs-progs/trunk/btrfs.install
Modified:
  btrfs-progs/trunk/PKGBUILD

---------------+
 PKGBUILD      |    3 ++-
 btrfs.install |   10 ++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-10-03 22:23:56 UTC (rev 167938)
+++ PKGBUILD	2012-10-03 22:36:35 UTC (rev 167939)
@@ -4,7 +4,7 @@
 
 pkgname=btrfs-progs
 pkgver=0.19.20120904
-pkgrel=5
+pkgrel=6
 pkgdesc="btrfs filesystem utilities"
 arch=(i686 x86_64)
 depends=('glibc' 'e2fsprogs')
@@ -14,6 +14,7 @@
 provides=('btrfs-progs-unstable')
 license=('GPL2')
 source=(ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.xz)
+install=btrfs.install
 
 build() {
    cd $srcdir/$pkgname-$pkgver

Added: btrfs.install
===================================================================
--- btrfs.install	                        (rev 0)
+++ btrfs.install	2012-10-03 22:36:35 UTC (rev 167939)
@@ -0,0 +1,10 @@
+#!/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"
+    echo "the btrfs mkinitcpio hook has now been replaced by the udev hook"
+  fi
+}
+
+# vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list