[arch-commits] Commit in btrfs-progs/repos (10 files)
Tom Gundersen
tomegun at archlinux.org
Sat Sep 15 09:38:19 UTC 2012
Date: Saturday, September 15, 2012 @ 05:38:19
Author: tomegun
Revision: 166671
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
btrfs-progs/repos/testing-i686/
btrfs-progs/repos/testing-i686/70-btrfs.rules
(from rev 166670, btrfs-progs/trunk/70-btrfs.rules)
btrfs-progs/repos/testing-i686/PKGBUILD
(from rev 166670, btrfs-progs/trunk/PKGBUILD)
btrfs-progs/repos/testing-i686/initcpio-hook-btrfs
(from rev 166670, btrfs-progs/trunk/initcpio-hook-btrfs)
btrfs-progs/repos/testing-i686/initcpio-install-btrfs
(from rev 166670, btrfs-progs/trunk/initcpio-install-btrfs)
btrfs-progs/repos/testing-x86_64/
btrfs-progs/repos/testing-x86_64/70-btrfs.rules
(from rev 166670, btrfs-progs/trunk/70-btrfs.rules)
btrfs-progs/repos/testing-x86_64/PKGBUILD
(from rev 166670, btrfs-progs/trunk/PKGBUILD)
btrfs-progs/repos/testing-x86_64/initcpio-hook-btrfs
(from rev 166670, btrfs-progs/trunk/initcpio-hook-btrfs)
btrfs-progs/repos/testing-x86_64/initcpio-install-btrfs
(from rev 166670, btrfs-progs/trunk/initcpio-install-btrfs)
---------------------------------------+
testing-i686/70-btrfs.rules | 1
testing-i686/PKGBUILD | 47 ++++++++++++++++++++++++++++++++
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/initcpio-hook-btrfs | 10 ++++++
testing-x86_64/initcpio-install-btrfs | 17 +++++++++++
8 files changed, 150 insertions(+)
Copied: btrfs-progs/repos/testing-i686/70-btrfs.rules (from rev 166670, btrfs-progs/trunk/70-btrfs.rules)
===================================================================
--- testing-i686/70-btrfs.rules (rev 0)
+++ testing-i686/70-btrfs.rules 2012-09-15 09:38:19 UTC (rev 166671)
@@ -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 166670, btrfs-progs/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2012-09-15 09:38:19 UTC (rev 166671)
@@ -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=4
+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
+ 70-btrfs.rules
+ initcpio-install-btrfs
+ initcpio-hook-btrfs)
+
+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
+
+ # add udev rule
+ install -Dm644 "$srcdir/70-btrfs.rules" "$pkgdir/usr/lib/udev/rules.d/70-btrfs.rules"
+
+ # 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"
+}
+md5sums=('d9c96e670fac7c2098a9e7ef98d4b2e2'
+ '345c62c8b267082361729ca5b647518f'
+ 'e5186ec3fe8a809b7473470128d1c4ab'
+ '9fb35142755b477a96cb7292f3d64839')
Copied: btrfs-progs/repos/testing-i686/initcpio-hook-btrfs (from rev 166670, btrfs-progs/trunk/initcpio-hook-btrfs)
===================================================================
--- testing-i686/initcpio-hook-btrfs (rev 0)
+++ testing-i686/initcpio-hook-btrfs 2012-09-15 09:38:19 UTC (rev 166671)
@@ -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 166670, btrfs-progs/trunk/initcpio-install-btrfs)
===================================================================
--- testing-i686/initcpio-install-btrfs (rev 0)
+++ testing-i686/initcpio-install-btrfs 2012-09-15 09:38:19 UTC (rev 166671)
@@ -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 166670, btrfs-progs/trunk/70-btrfs.rules)
===================================================================
--- testing-x86_64/70-btrfs.rules (rev 0)
+++ testing-x86_64/70-btrfs.rules 2012-09-15 09:38:19 UTC (rev 166671)
@@ -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 166670, btrfs-progs/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-09-15 09:38:19 UTC (rev 166671)
@@ -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=4
+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
+ 70-btrfs.rules
+ initcpio-install-btrfs
+ initcpio-hook-btrfs)
+
+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
+
+ # add udev rule
+ install -Dm644 "$srcdir/70-btrfs.rules" "$pkgdir/usr/lib/udev/rules.d/70-btrfs.rules"
+
+ # 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"
+}
+md5sums=('d9c96e670fac7c2098a9e7ef98d4b2e2'
+ '345c62c8b267082361729ca5b647518f'
+ 'e5186ec3fe8a809b7473470128d1c4ab'
+ '9fb35142755b477a96cb7292f3d64839')
Copied: btrfs-progs/repos/testing-x86_64/initcpio-hook-btrfs (from rev 166670, btrfs-progs/trunk/initcpio-hook-btrfs)
===================================================================
--- testing-x86_64/initcpio-hook-btrfs (rev 0)
+++ testing-x86_64/initcpio-hook-btrfs 2012-09-15 09:38:19 UTC (rev 166671)
@@ -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 166670, btrfs-progs/trunk/initcpio-install-btrfs)
===================================================================
--- testing-x86_64/initcpio-install-btrfs (rev 0)
+++ testing-x86_64/initcpio-install-btrfs 2012-09-15 09:38:19 UTC (rev 166671)
@@ -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