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

Dave Reisner dreisner at archlinux.org
Sat Nov 17 15:24:14 UTC 2012


    Date: Saturday, November 17, 2012 @ 10:24:13
  Author: dreisner
Revision: 171445

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

Added:
  btrfs-progs/repos/testing-i686/
  btrfs-progs/repos/testing-i686/PKGBUILD
    (from rev 171444, btrfs-progs/trunk/PKGBUILD)
  btrfs-progs/repos/testing-i686/btrfs-progs.install
    (from rev 171444, btrfs-progs/trunk/btrfs-progs.install)
  btrfs-progs/repos/testing-i686/initcpio-hook-btrfs
    (from rev 171444, btrfs-progs/trunk/initcpio-hook-btrfs)
  btrfs-progs/repos/testing-i686/initcpio-install-btrfs
    (from rev 171444, btrfs-progs/trunk/initcpio-install-btrfs)
  btrfs-progs/repos/testing-x86_64/
  btrfs-progs/repos/testing-x86_64/PKGBUILD
    (from rev 171444, btrfs-progs/trunk/PKGBUILD)
  btrfs-progs/repos/testing-x86_64/btrfs-progs.install
    (from rev 171444, btrfs-progs/trunk/btrfs-progs.install)
  btrfs-progs/repos/testing-x86_64/initcpio-hook-btrfs
    (from rev 171444, btrfs-progs/trunk/initcpio-hook-btrfs)
  btrfs-progs/repos/testing-x86_64/initcpio-install-btrfs
    (from rev 171444, btrfs-progs/trunk/initcpio-install-btrfs)

---------------------------------------+
 testing-i686/PKGBUILD                 |   43 ++++++++++++++++++++++++++++++++
 testing-i686/btrfs-progs.install      |    9 ++++++
 testing-i686/initcpio-hook-btrfs      |    7 +++++
 testing-i686/initcpio-install-btrfs   |   17 ++++++++++++
 testing-x86_64/PKGBUILD               |   43 ++++++++++++++++++++++++++++++++
 testing-x86_64/btrfs-progs.install    |    9 ++++++
 testing-x86_64/initcpio-hook-btrfs    |    7 +++++
 testing-x86_64/initcpio-install-btrfs |   17 ++++++++++++
 8 files changed, 152 insertions(+)

Copied: btrfs-progs/repos/testing-i686/PKGBUILD (from rev 171444, btrfs-progs/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-11-17 15:24:13 UTC (rev 171445)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=btrfs-progs
+pkgver=0.19.20121005
+pkgrel=3
+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)
+install=btrfs-progs.install
+md5sums=('7fb014324954ee073b039dc0066de960'
+         '9b73cbf5ee7f379b28489e5dc2e9027c'
+         'b09688a915a0ec8f40e2f5aacbabc9ad')
+
+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"
+}
+
+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
+}

Copied: btrfs-progs/repos/testing-i686/btrfs-progs.install (from rev 171444, btrfs-progs/trunk/btrfs-progs.install)
===================================================================
--- testing-i686/btrfs-progs.install	                        (rev 0)
+++ testing-i686/btrfs-progs.install	2012-11-17 15:24:13 UTC (rev 171445)
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+post_upgrade() {
+  if [ "$(vercmp 0.19.20121005 "$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 171444, btrfs-progs/trunk/initcpio-hook-btrfs)
===================================================================
--- testing-i686/initcpio-hook-btrfs	                        (rev 0)
+++ testing-i686/initcpio-hook-btrfs	2012-11-17 15:24:13 UTC (rev 171445)
@@ -0,0 +1,7 @@
+#!/usr/bin/ash
+
+run_hook() {
+    btrfs device scan
+}
+
+# vim: set ft=sh ts=4 sw=4 et:

Copied: btrfs-progs/repos/testing-i686/initcpio-install-btrfs (from rev 171444, btrfs-progs/trunk/initcpio-install-btrfs)
===================================================================
--- testing-i686/initcpio-install-btrfs	                        (rev 0)
+++ testing-i686/initcpio-install-btrfs	2012-11-17 15:24:13 UTC (rev 171445)
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+build() {
+    add_module btrfs
+    add_binary btrfs
+    add_binary btrfsfsck
+    add_runscript
+}
+
+help() {
+    cat <<HELPEOF
+This hook provides support for multi-device btrfs volumes. This hook
+is only needed for initramfs images which do not use udev.
+HELPEOF
+}
+
+# vim: set ft=sh ts=4 sw=4 et:

Copied: btrfs-progs/repos/testing-x86_64/PKGBUILD (from rev 171444, btrfs-progs/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-11-17 15:24:13 UTC (rev 171445)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=btrfs-progs
+pkgver=0.19.20121005
+pkgrel=3
+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)
+install=btrfs-progs.install
+md5sums=('7fb014324954ee073b039dc0066de960'
+         '9b73cbf5ee7f379b28489e5dc2e9027c'
+         'b09688a915a0ec8f40e2f5aacbabc9ad')
+
+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"
+}
+
+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
+}

Copied: btrfs-progs/repos/testing-x86_64/btrfs-progs.install (from rev 171444, btrfs-progs/trunk/btrfs-progs.install)
===================================================================
--- testing-x86_64/btrfs-progs.install	                        (rev 0)
+++ testing-x86_64/btrfs-progs.install	2012-11-17 15:24:13 UTC (rev 171445)
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+post_upgrade() {
+  if [ "$(vercmp 0.19.20121005 "$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 171444, btrfs-progs/trunk/initcpio-hook-btrfs)
===================================================================
--- testing-x86_64/initcpio-hook-btrfs	                        (rev 0)
+++ testing-x86_64/initcpio-hook-btrfs	2012-11-17 15:24:13 UTC (rev 171445)
@@ -0,0 +1,7 @@
+#!/usr/bin/ash
+
+run_hook() {
+    btrfs device scan
+}
+
+# vim: set ft=sh ts=4 sw=4 et:

Copied: btrfs-progs/repos/testing-x86_64/initcpio-install-btrfs (from rev 171444, btrfs-progs/trunk/initcpio-install-btrfs)
===================================================================
--- testing-x86_64/initcpio-install-btrfs	                        (rev 0)
+++ testing-x86_64/initcpio-install-btrfs	2012-11-17 15:24:13 UTC (rev 171445)
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+build() {
+    add_module btrfs
+    add_binary btrfs
+    add_binary btrfsfsck
+    add_runscript
+}
+
+help() {
+    cat <<HELPEOF
+This hook provides support for multi-device btrfs volumes. This hook
+is only needed for initramfs images which do not use udev.
+HELPEOF
+}
+
+# vim: set ft=sh ts=4 sw=4 et:




More information about the arch-commits mailing list