[arch-commits] Commit in btrfs-progs/repos (16 files)

Tom Gundersen tomegun at archlinux.org
Fri Oct 5 13:06:44 UTC 2012


    Date: Friday, October 5, 2012 @ 09:06:44
  Author: tomegun
Revision: 168026

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  btrfs-progs/repos/core-i686/
  btrfs-progs/repos/core-x86_64/
  btrfs-progs/repos/testing-i686/
  btrfs-progs/repos/testing-i686/70-btrfs.rules
    (from rev 168025, btrfs-progs/trunk/70-btrfs.rules)
  btrfs-progs/repos/testing-i686/PKGBUILD
    (from rev 168025, btrfs-progs/trunk/PKGBUILD)
  btrfs-progs/repos/testing-i686/btrfs.install
    (from rev 168025, btrfs-progs/trunk/btrfs.install)
  btrfs-progs/repos/testing-i686/initcpio-hook-btrfs
    (from rev 168025, btrfs-progs/trunk/initcpio-hook-btrfs)
  btrfs-progs/repos/testing-i686/initcpio-install-btrfs
    (from rev 168025, btrfs-progs/trunk/initcpio-install-btrfs)
  btrfs-progs/repos/testing-x86_64/
  btrfs-progs/repos/testing-x86_64/70-btrfs.rules
    (from rev 168025, btrfs-progs/trunk/70-btrfs.rules)
  btrfs-progs/repos/testing-x86_64/PKGBUILD
    (from rev 168025, btrfs-progs/trunk/PKGBUILD)
  btrfs-progs/repos/testing-x86_64/btrfs.install
    (from rev 168025, btrfs-progs/trunk/btrfs.install)
  btrfs-progs/repos/testing-x86_64/initcpio-hook-btrfs
    (from rev 168025, btrfs-progs/trunk/initcpio-hook-btrfs)
  btrfs-progs/repos/testing-x86_64/initcpio-install-btrfs
    (from rev 168025, btrfs-progs/trunk/initcpio-install-btrfs)
Deleted:
  btrfs-progs/repos/testing-i686/
  btrfs-progs/repos/testing-x86_64/

---------------------------------------+
 testing-i686/70-btrfs.rules           |    1 
 testing-i686/PKGBUILD                 |   47 ++++++++++++++++++++++++++++++++
 testing-i686/btrfs.install            |    9 ++++++
 testing-i686/initcpio-hook-btrfs      |   10 ++++++
 testing-i686/initcpio-install-btrfs   |   17 +++++++++++
 testing-x86_64/70-btrfs.rules         |    1 
 testing-x86_64/PKGBUILD               |   47 ++++++++++++++++++++++++++++++++
 testing-x86_64/btrfs.install          |    9 ++++++
 testing-x86_64/initcpio-hook-btrfs    |   10 ++++++
 testing-x86_64/initcpio-install-btrfs |   17 +++++++++++
 10 files changed, 168 insertions(+)

Copied: btrfs-progs/repos/testing-i686/70-btrfs.rules (from rev 168025, btrfs-progs/trunk/70-btrfs.rules)
===================================================================
--- testing-i686/70-btrfs.rules	                        (rev 0)
+++ testing-i686/70-btrfs.rules	2012-10-05 13:06:44 UTC (rev 168026)
@@ -0,0 +1 @@
+ACTION!="remove", SUBSYSTEM=="block", ENV{ID_FS_TYPE}=="btrfs", RUN+="/usr/bin/btrfs device scan /dev/%k"

Copied: btrfs-progs/repos/testing-i686/PKGBUILD (from rev 168025, btrfs-progs/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-10-05 13:06:44 UTC (rev 168026)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=btrfs-progs
+pkgver=0.19.20120904
+pkgrel=7
+pkgdesc="btrfs filesystem utilities"
+arch=(i686 x86_64)
+depends=('glibc' 'e2fsprogs')
+url="http://btrfs.wiki.kernel.org/"
+replaces=('btrfs-progs-unstable')
+conflicts=('btrfs-progs-unstable')
+provides=('btrfs-progs-unstable')
+license=('GPL2')
+source=(ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.xz
+	initcpio-install-btrfs
+	initcpio-hook-btrfs
+	70-btrfs.rules)
+install=btrfs.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() {
+   cd $srcdir/$pkgname-$pkgver
+   make prefix=$pkgdir/usr install
+   # fix manpage
+   mkdir -p $pkgdir/usr/share/
+   mv $pkgdir/usr/man $pkgdir/usr/share/man
+   mkdir -p ${pkgdir}/sbin
+   ln -sf /usr/bin/btrfs ${pkgdir}/sbin/btrfs
+}
+md5sums=('d9c96e670fac7c2098a9e7ef98d4b2e2'
+         'e5186ec3fe8a809b7473470128d1c4ab'
+         '9fb35142755b477a96cb7292f3d64839'
+         '345c62c8b267082361729ca5b647518f')

Copied: btrfs-progs/repos/testing-i686/btrfs.install (from rev 168025, btrfs-progs/trunk/btrfs.install)
===================================================================
--- testing-i686/btrfs.install	                        (rev 0)
+++ testing-i686/btrfs.install	2012-10-05 13:06:44 UTC (rev 168026)
@@ -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:

Copied: btrfs-progs/repos/testing-i686/initcpio-hook-btrfs (from rev 168025, btrfs-progs/trunk/initcpio-hook-btrfs)
===================================================================
--- testing-i686/initcpio-hook-btrfs	                        (rev 0)
+++ testing-i686/initcpio-hook-btrfs	2012-10-05 13:06:44 UTC (rev 168026)
@@ -0,0 +1,10 @@
+#!/usr/bin/ash
+
+run_hook() {
+    # if udevd is running, this is done async by add/change events
+    if [ "$udevd_running" -ne 1 ]; then
+        btrfs device scan
+    fi
+}
+
+# vim: set ft=sh ts=4 sw=4 et:

Copied: btrfs-progs/repos/testing-i686/initcpio-install-btrfs (from rev 168025, btrfs-progs/trunk/initcpio-install-btrfs)
===================================================================
--- testing-i686/initcpio-install-btrfs	                        (rev 0)
+++ testing-i686/initcpio-install-btrfs	2012-10-05 13:06:44 UTC (rev 168026)
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+build() {
+    add_module btrfs
+    add_binary btrfs
+    add_runscript
+
+    add_file /usr/lib/udev/rules.d/70-btrfs.rules
+}
+
+help() {
+    cat <<HELPEOF
+This hook provides support for multi-device btrfs volumes.
+HELPEOF
+}
+
+# vim: set ft=sh ts=4 sw=4 et:

Copied: btrfs-progs/repos/testing-x86_64/70-btrfs.rules (from rev 168025, btrfs-progs/trunk/70-btrfs.rules)
===================================================================
--- testing-x86_64/70-btrfs.rules	                        (rev 0)
+++ testing-x86_64/70-btrfs.rules	2012-10-05 13:06:44 UTC (rev 168026)
@@ -0,0 +1 @@
+ACTION!="remove", SUBSYSTEM=="block", ENV{ID_FS_TYPE}=="btrfs", RUN+="/usr/bin/btrfs device scan /dev/%k"

Copied: btrfs-progs/repos/testing-x86_64/PKGBUILD (from rev 168025, btrfs-progs/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-10-05 13:06:44 UTC (rev 168026)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=btrfs-progs
+pkgver=0.19.20120904
+pkgrel=7
+pkgdesc="btrfs filesystem utilities"
+arch=(i686 x86_64)
+depends=('glibc' 'e2fsprogs')
+url="http://btrfs.wiki.kernel.org/"
+replaces=('btrfs-progs-unstable')
+conflicts=('btrfs-progs-unstable')
+provides=('btrfs-progs-unstable')
+license=('GPL2')
+source=(ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.xz
+	initcpio-install-btrfs
+	initcpio-hook-btrfs
+	70-btrfs.rules)
+install=btrfs.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() {
+   cd $srcdir/$pkgname-$pkgver
+   make prefix=$pkgdir/usr install
+   # fix manpage
+   mkdir -p $pkgdir/usr/share/
+   mv $pkgdir/usr/man $pkgdir/usr/share/man
+   mkdir -p ${pkgdir}/sbin
+   ln -sf /usr/bin/btrfs ${pkgdir}/sbin/btrfs
+}
+md5sums=('d9c96e670fac7c2098a9e7ef98d4b2e2'
+         'e5186ec3fe8a809b7473470128d1c4ab'
+         '9fb35142755b477a96cb7292f3d64839'
+         '345c62c8b267082361729ca5b647518f')

Copied: btrfs-progs/repos/testing-x86_64/btrfs.install (from rev 168025, btrfs-progs/trunk/btrfs.install)
===================================================================
--- testing-x86_64/btrfs.install	                        (rev 0)
+++ testing-x86_64/btrfs.install	2012-10-05 13:06:44 UTC (rev 168026)
@@ -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:

Copied: btrfs-progs/repos/testing-x86_64/initcpio-hook-btrfs (from rev 168025, btrfs-progs/trunk/initcpio-hook-btrfs)
===================================================================
--- testing-x86_64/initcpio-hook-btrfs	                        (rev 0)
+++ testing-x86_64/initcpio-hook-btrfs	2012-10-05 13:06:44 UTC (rev 168026)
@@ -0,0 +1,10 @@
+#!/usr/bin/ash
+
+run_hook() {
+    # if udevd is running, this is done async by add/change events
+    if [ "$udevd_running" -ne 1 ]; then
+        btrfs device scan
+    fi
+}
+
+# vim: set ft=sh ts=4 sw=4 et:

Copied: btrfs-progs/repos/testing-x86_64/initcpio-install-btrfs (from rev 168025, btrfs-progs/trunk/initcpio-install-btrfs)
===================================================================
--- testing-x86_64/initcpio-install-btrfs	                        (rev 0)
+++ testing-x86_64/initcpio-install-btrfs	2012-10-05 13:06:44 UTC (rev 168026)
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+build() {
+    add_module btrfs
+    add_binary btrfs
+    add_runscript
+
+    add_file /usr/lib/udev/rules.d/70-btrfs.rules
+}
+
+help() {
+    cat <<HELPEOF
+This hook provides support for multi-device btrfs volumes.
+HELPEOF
+}
+
+# vim: set ft=sh ts=4 sw=4 et:




More information about the arch-commits mailing list