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

Dave Reisner dreisner at archlinux.org
Thu Apr 12 11:42:00 EDT 2012


    Date: Thursday, April 12, 2012 @ 11:42:00
  Author: dreisner
Revision: 156057

db-move: moved btrfs-progs from [testing] to [core] (i686)

Added:
  btrfs-progs/repos/core-i686/PKGBUILD
    (from rev 156056, btrfs-progs/repos/testing-i686/PKGBUILD)
  btrfs-progs/repos/core-i686/initcpio-hook-btrfs
    (from rev 156056, btrfs-progs/repos/testing-i686/initcpio-hook-btrfs)
  btrfs-progs/repos/core-i686/initcpio-install-btrfs
    (from rev 156056, btrfs-progs/repos/testing-i686/initcpio-install-btrfs)
Deleted:
  btrfs-progs/repos/core-i686/PKGBUILD
  btrfs-progs/repos/testing-i686/

------------------------+
 PKGBUILD               |   72 ++++++++++++++++++++++++++---------------------
 initcpio-hook-btrfs    |    7 ++++
 initcpio-install-btrfs |   15 +++++++++
 3 files changed, 63 insertions(+), 31 deletions(-)

Deleted: core-i686/PKGBUILD
===================================================================
--- core-i686/PKGBUILD	2012-04-12 15:32:54 UTC (rev 156056)
+++ core-i686/PKGBUILD	2012-04-12 15:42:00 UTC (rev 156057)
@@ -1,31 +0,0 @@
-# $Id$
-# Maintainer: Tom Gundersen <teg at jklm.no>
-# Contributor: Tobias Powalowski <tpowa at archlinux.org>
-pkgname=btrfs-progs
-pkgver=0.19.20120110
-pkgrel=2
-pkgdesc="btrfs filesystem utilities"
-arch=(i686 x86_64)
-depends=('glibc' 'e2fsprogs')
-source=(ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.xz)
-url="http://btrfs.wiki.kernel.org/"
-replaces=('btrfs-progs-unstable')
-conflicts=('btrfs-progs-unstable')
-provides=('btrfs-progs-unstable')
-license=('GPL2')
-
-build() {
-   cd $srcdir/$pkgname
-   make CFLAGS="$CFLAGS" all convert
-}
-
-package() {
-   cd $srcdir/$pkgname
-   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=('a3f6fbeb166f8e6b5c06833888d4ecf2')

Copied: btrfs-progs/repos/core-i686/PKGBUILD (from rev 156056, btrfs-progs/repos/testing-i686/PKGBUILD)
===================================================================
--- core-i686/PKGBUILD	                        (rev 0)
+++ core-i686/PKGBUILD	2012-04-12 15:42:00 UTC (rev 156057)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+pkgname=btrfs-progs
+pkgver=0.19.20120328
+pkgrel=2
+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)
+md5sums=('f4504e73cf9254779b78d5b2318ac570'
+         'bdaaf6bd339220c63260acec809864d2'
+         'b09688a915a0ec8f40e2f5aacbabc9ad')
+
+build() {
+   cd $srcdir/$pkgname-$pkgver
+   make CFLAGS="$CFLAGS"
+}
+
+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
+
+   # 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"
+}

Copied: btrfs-progs/repos/core-i686/initcpio-hook-btrfs (from rev 156056, btrfs-progs/repos/testing-i686/initcpio-hook-btrfs)
===================================================================
--- core-i686/initcpio-hook-btrfs	                        (rev 0)
+++ core-i686/initcpio-hook-btrfs	2012-04-12 15:42:00 UTC (rev 156057)
@@ -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/core-i686/initcpio-install-btrfs (from rev 156056, btrfs-progs/repos/testing-i686/initcpio-install-btrfs)
===================================================================
--- core-i686/initcpio-install-btrfs	                        (rev 0)
+++ core-i686/initcpio-install-btrfs	2012-04-12 15:42:00 UTC (rev 156057)
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+build() {
+    MODULES=$(all_modules btrfs)
+    BINARIES=btrfs
+    SCRIPT=btrfs
+}
+
+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