[arch-commits] Commit in btrfs-progs/repos (12 files)
Tom Gundersen
tomegun at archlinux.org
Fri Oct 5 10:14:22 UTC 2012
Date: Friday, October 5, 2012 @ 06:14:22
Author: tomegun
Revision: 168017
db-move: moved btrfs-progs from [core] to [testing] (i686, x86_64)
Added:
btrfs-progs/repos/testing-i686/
btrfs-progs/repos/testing-i686/PKGBUILD
(from rev 168016, btrfs-progs/repos/core-i686/PKGBUILD)
btrfs-progs/repos/testing-i686/btrfs.install
(from rev 168016, btrfs-progs/repos/core-i686/btrfs.install)
btrfs-progs/repos/testing-i686/initcpio-hook-btrfs
(from rev 168016, btrfs-progs/repos/core-i686/initcpio-hook-btrfs)
btrfs-progs/repos/testing-i686/initcpio-install-btrfs
(from rev 168016, btrfs-progs/repos/core-i686/initcpio-install-btrfs)
btrfs-progs/repos/testing-x86_64/
btrfs-progs/repos/testing-x86_64/PKGBUILD
(from rev 168016, btrfs-progs/repos/core-x86_64/PKGBUILD)
btrfs-progs/repos/testing-x86_64/btrfs.install
(from rev 168016, btrfs-progs/repos/core-x86_64/btrfs.install)
btrfs-progs/repos/testing-x86_64/initcpio-hook-btrfs
(from rev 168016, btrfs-progs/repos/core-x86_64/initcpio-hook-btrfs)
btrfs-progs/repos/testing-x86_64/initcpio-install-btrfs
(from rev 168016, btrfs-progs/repos/core-x86_64/initcpio-install-btrfs)
Deleted:
btrfs-progs/repos/core-i686/
btrfs-progs/repos/core-x86_64/
---------------------------------------+
testing-i686/PKGBUILD | 43 ++++++++++++++++++++++++++++++++
testing-i686/btrfs.install | 9 ++++++
testing-i686/initcpio-hook-btrfs | 10 +++++++
testing-i686/initcpio-install-btrfs | 15 +++++++++++
testing-x86_64/PKGBUILD | 43 ++++++++++++++++++++++++++++++++
testing-x86_64/btrfs.install | 9 ++++++
testing-x86_64/initcpio-hook-btrfs | 10 +++++++
testing-x86_64/initcpio-install-btrfs | 15 +++++++++++
8 files changed, 154 insertions(+)
Copied: btrfs-progs/repos/testing-i686/PKGBUILD (from rev 168016, btrfs-progs/repos/core-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2012-10-05 10:14:22 UTC (rev 168017)
@@ -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.20120904
+pkgrel=6
+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.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"
+}
+
+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'
+ '2d3df276f80bb09813f56a56d6f93ddd'
+ '9fb35142755b477a96cb7292f3d64839')
Copied: btrfs-progs/repos/testing-i686/btrfs.install (from rev 168016, btrfs-progs/repos/core-i686/btrfs.install)
===================================================================
--- testing-i686/btrfs.install (rev 0)
+++ testing-i686/btrfs.install 2012-10-05 10:14:22 UTC (rev 168017)
@@ -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 168016, btrfs-progs/repos/core-i686/initcpio-hook-btrfs)
===================================================================
--- testing-i686/initcpio-hook-btrfs (rev 0)
+++ testing-i686/initcpio-hook-btrfs 2012-10-05 10:14:22 UTC (rev 168017)
@@ -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 168016, btrfs-progs/repos/core-i686/initcpio-install-btrfs)
===================================================================
--- testing-i686/initcpio-install-btrfs (rev 0)
+++ testing-i686/initcpio-install-btrfs 2012-10-05 10:14:22 UTC (rev 168017)
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+build() {
+ add_module btrfs
+ add_binary btrfs
+ add_runscript
+}
+
+help() {
+ cat <<HELPEOF
+This hook provides support for multi-device btrfs volumes, in the absence of udev.
+HELPEOF
+}
+
+# vim: set ft=sh ts=4 sw=4 et:
Copied: btrfs-progs/repos/testing-x86_64/PKGBUILD (from rev 168016, btrfs-progs/repos/core-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-10-05 10:14:22 UTC (rev 168017)
@@ -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.20120904
+pkgrel=6
+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.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"
+}
+
+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'
+ '2d3df276f80bb09813f56a56d6f93ddd'
+ '9fb35142755b477a96cb7292f3d64839')
Copied: btrfs-progs/repos/testing-x86_64/btrfs.install (from rev 168016, btrfs-progs/repos/core-x86_64/btrfs.install)
===================================================================
--- testing-x86_64/btrfs.install (rev 0)
+++ testing-x86_64/btrfs.install 2012-10-05 10:14:22 UTC (rev 168017)
@@ -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 168016, btrfs-progs/repos/core-x86_64/initcpio-hook-btrfs)
===================================================================
--- testing-x86_64/initcpio-hook-btrfs (rev 0)
+++ testing-x86_64/initcpio-hook-btrfs 2012-10-05 10:14:22 UTC (rev 168017)
@@ -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 168016, btrfs-progs/repos/core-x86_64/initcpio-install-btrfs)
===================================================================
--- testing-x86_64/initcpio-install-btrfs (rev 0)
+++ testing-x86_64/initcpio-install-btrfs 2012-10-05 10:14:22 UTC (rev 168017)
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+build() {
+ add_module btrfs
+ add_binary btrfs
+ add_runscript
+}
+
+help() {
+ cat <<HELPEOF
+This hook provides support for multi-device btrfs volumes, in the absence of udev.
+HELPEOF
+}
+
+# vim: set ft=sh ts=4 sw=4 et:
More information about the arch-commits
mailing list