Message info
 
To:arch-commits@archlinux.org From:Dave Reisner Subject:[arch-commits] Commit in btrfs-progs/repos (5 files) Date:Thu, 12 Apr 2012 11:42:01 -0400 (EDT)
 

Date: Thursday, April 12, 2012 @ 11:42:01
Author: dreisner
Revision: 156058

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

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

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

Deleted: core-x86_64/PKGBUILD
===================================================================
--- core-x86_64/PKGBUILD 2012-04-12 15:42:00 UTC (rev 156057)
+++ core-x86_64/PKGBUILD 2012-04-12 15:42:01 UTC (rev 156058)
@@ -1,31 +0,0 @@
-# $Id$
-# Maintainer: Tom Gundersen <teg@jklm.no>
-# Contributor: Tobias Powalowski <tpowa@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-x86_64/PKGBUILD (from rev 156056, btrfs-progs/repos/testing-x86_64/PKGBUILD)
===================================================================
--- core-x86_64/PKGBUILD (rev 0)
+++ core-x86_64/PKGBUILD 2012-04-12 15:42:01 UTC (rev 156058)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg@jklm.no>
+# Contributor: Tobias Powalowski <tpowa@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-x86_64/initcpio-hook-btrfs (from rev 156056, btrfs-progs/repos/testing-x86_64/initcpio-hook-btrfs)
===================================================================
--- core-x86_64/initcpio-hook-btrfs (rev 0)
+++ core-x86_64/initcpio-hook-btrfs 2012-04-12 15:42:01 UTC (rev 156058)
@@ -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-x86_64/initcpio-install-btrfs (from rev 156056, btrfs-progs/repos/testing-x86_64/initcpio-install-btrfs)
===================================================================
--- core-x86_64/initcpio-install-btrfs (rev 0)
+++ core-x86_64/initcpio-install-btrfs 2012-04-12 15:42:01 UTC (rev 156058)
@@ -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: