[arch-commits] Commit in dmraid/repos (9 files)
Dave Reisner
dreisner at archlinux.org
Sat May 5 03:20:12 UTC 2012
Date: Friday, May 4, 2012 @ 23:20:12
Author: dreisner
Revision: 158621
db-move: moved dmraid from [testing] to [core] (x86_64)
Added:
dmraid/repos/core-x86_64/PKGBUILD
(from rev 158619, dmraid/repos/testing-x86_64/PKGBUILD)
dmraid/repos/core-x86_64/dmraid.install
(from rev 158619, dmraid/repos/testing-x86_64/dmraid.install)
dmraid/repos/core-x86_64/dmraid_hook
(from rev 158619, dmraid/repos/testing-x86_64/dmraid_hook)
dmraid/repos/core-x86_64/dmraid_install
(from rev 158619, dmraid/repos/testing-x86_64/dmraid_install)
Deleted:
dmraid/repos/core-x86_64/PKGBUILD
dmraid/repos/core-x86_64/dmraid.install
dmraid/repos/core-x86_64/dmraid_hook
dmraid/repos/core-x86_64/dmraid_install
dmraid/repos/testing-x86_64/
----------------+
PKGBUILD | 78 +++++++++++++++++++++++++++----------------------------
dmraid.install | 28 +++++++++----------
dmraid_hook | 33 +++++++++--------------
dmraid_install | 38 +++++++++++++-------------
4 files changed, 86 insertions(+), 91 deletions(-)
Deleted: core-x86_64/PKGBUILD
===================================================================
--- core-x86_64/PKGBUILD 2012-05-05 03:20:10 UTC (rev 158620)
+++ core-x86_64/PKGBUILD 2012-05-05 03:20:12 UTC (rev 158621)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
-#Contributor: Urs Wolfer <uwolfer @ fwo.ch>
-
-pkgname=dmraid
-pkgver=1.0.0.rc16.3
-pkgrel=2
-pkgdesc="Device mapper RAID interface"
-url="http://people.redhat.com/~heinzm/sw/dmraid/"
-conflicts=('mkinitcpio<0.7')
-depends=('device-mapper>=2.0.54')
-arch=('i686' 'x86_64')
-license=('GPL')
-source=(#ftp://ftp.archlinux.org/other/dmraid/$pkgname-$pkgver.tar.bz2
- http://people.redhat.com/~heinzm/sw/dmraid/src/$pkgname-1.0.0.rc16-3.tar.bz2
- dmraid_install
- dmraid_hook)
-install=dmraid.install
-md5sums=('819338fcef98e8e25819f0516722beeb'
- 'bf6c61a11dbbb40d5152835075c9f438'
- '2a1ef82fb32f065ee560dceef736475e')
-
-build() {
- cd "$srcdir"/$pkgname/1.0.0.rc16-3/$pkgname
- ./configure --enable-led --enable-intel_led
- make
-}
-
-package() {
- cd "$srcdir"/$pkgname/1.0.0.rc16-3/$pkgname
- make DESTDIR="$pkgdir" prefix=/ libdir=/lib mandir=/usr/share/man includedir=/usr/include install
- mkdir -p "$pkgdir"/var/lock/dmraid
- chmod 1777 "$pkgdir"/var/lock/
- install -D -m644 "$srcdir"/dmraid_install "$pkgdir"/lib/initcpio/install/dmraid
- install -D -m644 "$srcdir"/dmraid_hook "$pkgdir"/lib/initcpio/hooks/dmraid
- # fix permissions
- chmod 644 "$pkgdir"/lib/libdmraid.a
- chmod 644 "$pkgdir"/usr/include/dmraid/*
-}
Copied: dmraid/repos/core-x86_64/PKGBUILD (from rev 158619, dmraid/repos/testing-x86_64/PKGBUILD)
===================================================================
--- core-x86_64/PKGBUILD (rev 0)
+++ core-x86_64/PKGBUILD 2012-05-05 03:20:12 UTC (rev 158621)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+#Contributor: Urs Wolfer <uwolfer @ fwo.ch>
+
+pkgname=dmraid
+pkgver=1.0.0.rc16.3
+pkgrel=4
+pkgdesc="Device mapper RAID interface"
+url="http://people.redhat.com/~heinzm/sw/dmraid/"
+conflicts=('mkinitcpio<0.7')
+depends=('device-mapper>=2.0.54')
+arch=('i686' 'x86_64')
+license=('GPL')
+source=(#ftp://ftp.archlinux.org/other/dmraid/$pkgname-$pkgver.tar.bz2
+ http://people.redhat.com/~heinzm/sw/dmraid/src/$pkgname-1.0.0.rc16-3.tar.bz2
+ dmraid_install
+ dmraid_hook)
+install=dmraid.install
+md5sums=('819338fcef98e8e25819f0516722beeb'
+ '832ed57a0f7ca6ba72adebcba2b17f87'
+ 'faec669dc85f87187b45b5d3968efe2c')
+
+build() {
+ cd "$pkgname/1.0.0.rc16-3/$pkgname"
+ ./configure --enable-led --enable-intel_led
+ make
+}
+
+package() {
+ cd "$pkgname/1.0.0.rc16-3/$pkgname"
+ make DESTDIR="$pkgdir" prefix=/usr libdir=/usr/lib mandir=/usr/share/man includedir=/usr/include install
+ mkdir -p "$pkgdir"/var/lock/dmraid
+ chmod 1777 "$pkgdir"/var/lock/
+ install -D -m644 "$srcdir"/dmraid_install "$pkgdir"/usr/lib/initcpio/install/dmraid
+ install -D -m644 "$srcdir"/dmraid_hook "$pkgdir"/usr/lib/initcpio/hooks/dmraid
+ # fix permissions
+ chmod 644 "$pkgdir"/usr/lib/libdmraid.a
+ chmod 644 "$pkgdir"/usr/include/dmraid/*
+}
Deleted: core-x86_64/dmraid.install
===================================================================
--- core-x86_64/dmraid.install 2012-05-05 03:20:10 UTC (rev 158620)
+++ core-x86_64/dmraid.install 2012-05-05 03:20:12 UTC (rev 158621)
@@ -1,14 +0,0 @@
-post_upgrade() {
- if [ "$(vercmp $2 1.0.0.rc15)" -lt 0 ]; then
- # important upgrade notice
- echo ">>>"
- echo ">>> IMPORTANT DMRAID UPGRADE NOTICE"
- echo ">>> -------------------------------"
- echo ">>> Version 1.0.0.rc15 and greater introduce a new name scheme:"
- echo ">>> You need to add an additional 'p' in front of your number."
- echo ">>> e.g. <yourname><number> --> <yourname>p<number>"
- echo ">>> firsthd1 --> firsthdp1"
- echo ">>> Please change your bootloader and fstab accordingly."
- echo ">>>"
- fi
-}
Copied: dmraid/repos/core-x86_64/dmraid.install (from rev 158619, dmraid/repos/testing-x86_64/dmraid.install)
===================================================================
--- core-x86_64/dmraid.install (rev 0)
+++ core-x86_64/dmraid.install 2012-05-05 03:20:12 UTC (rev 158621)
@@ -0,0 +1,14 @@
+post_upgrade() {
+ if [ "$(vercmp $2 1.0.0.rc15)" -lt 0 ]; then
+ # important upgrade notice
+ echo ">>>"
+ echo ">>> IMPORTANT DMRAID UPGRADE NOTICE"
+ echo ">>> -------------------------------"
+ echo ">>> Version 1.0.0.rc15 and greater introduce a new name scheme:"
+ echo ">>> You need to add an additional 'p' in front of your number."
+ echo ">>> e.g. <yourname><number> --> <yourname>p<number>"
+ echo ">>> firsthd1 --> firsthdp1"
+ echo ">>> Please change your bootloader and fstab accordingly."
+ echo ">>>"
+ fi
+}
Deleted: core-x86_64/dmraid_hook
===================================================================
--- core-x86_64/dmraid_hook 2012-05-05 03:20:10 UTC (rev 158620)
+++ core-x86_64/dmraid_hook 2012-05-05 03:20:12 UTC (rev 158621)
@@ -1,19 +0,0 @@
-# vim: set ft=sh:
-run_hook ()
-{
- /sbin/modprobe -q dm-mod >/dev/null 2>&1
- /sbin/modprobe -q dm-mirror >/dev/null 2>&1
- if [ -e "/sys/class/misc/device-mapper" ]; then
- if [ ! -e "/dev/mapper/control" ]; then
- mkdir /dev/mapper
- mknod "/dev/mapper/control" c $(cat /sys/class/misc/device-mapper/dev | sed 's|:| |')
- fi
- msg ":: Activating dmraid arrays..."
- # prevent any event monitoring calls with -I
- if [ "${quiet}" = "y" ]; then
- /sbin/dmraid -ay -I -Z >/dev/null
- else
- /sbin/dmraid -ay -I -Z
- fi
- fi
-}
Copied: dmraid/repos/core-x86_64/dmraid_hook (from rev 158619, dmraid/repos/testing-x86_64/dmraid_hook)
===================================================================
--- core-x86_64/dmraid_hook (rev 0)
+++ core-x86_64/dmraid_hook 2012-05-05 03:20:12 UTC (rev 158621)
@@ -0,0 +1,14 @@
+#!/usr/bin/ash
+
+run_hook() {
+ modprobe -a -q dm-mod dm-mirror >/dev/null 2>&1
+ msg ":: Activating dmraid arrays..."
+ # prevent any event monitoring calls with -I
+ if [ "$quiet" = "y" ]; then
+ dmraid -ay -I -Z >/dev/null
+ else
+ dmraid -ay -I -Z
+ fi
+}
+
+# vim: set ft=sh ts=4 sw=4 et:
Deleted: core-x86_64/dmraid_install
===================================================================
--- core-x86_64/dmraid_install 2012-05-05 03:20:10 UTC (rev 158620)
+++ core-x86_64/dmraid_install 2012-05-05 03:20:12 UTC (rev 158621)
@@ -1,19 +0,0 @@
-# vim: set ft=sh:
-
-build()
-{
- MODULES=" dm-mod dm-mirror "
- BINARIES="/sbin/dmraid /sbin/dmsetup"
- FILES=""
- SCRIPT="dmraid"
- add_file "/lib/udev/rules.d/10-dm.rules"
- add_file "/lib/udev/rules.d/13-dm-disk.rules"
- add_file "/lib/udev/rules.d/95-dm-notify.rules"
-}
-
-help ()
-{
-cat<<HELPEOF
- This hook loads the necessary modules for a dmraid root device.
-HELPEOF
-}
Copied: dmraid/repos/core-x86_64/dmraid_install (from rev 158619, dmraid/repos/testing-x86_64/dmraid_install)
===================================================================
--- core-x86_64/dmraid_install (rev 0)
+++ core-x86_64/dmraid_install 2012-05-05 03:20:12 UTC (rev 158621)
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+build() {
+ MODULES=" dm-mod dm-mirror "
+ BINARIES="dmraid dmsetup"
+ SCRIPT="dmraid"
+
+ add_file "/usr/lib/udev/rules.d/10-dm.rules"
+ add_file "/usr/lib/udev/rules.d/13-dm-disk.rules"
+ add_file "/usr/lib/udev/rules.d/95-dm-notify.rules"
+}
+
+help() {
+ cat <<HELPEOF
+This hook loads the necessary modules for a dmraid root device.
+HELPEOF
+}
+
+# vim: set ft=sh ts=4 sw=4 et:
More information about the arch-commits
mailing list