diff options
author | root <root@rshg054.dnsready.net> | 2012-05-20 00:04:49 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-05-20 00:04:49 +0000 |
commit | aad2fba0fc475162b566f1577d8e7a020cd9e80d (patch) | |
tree | f289660c47a6cbbf3b68078aeb56f5c19e30a662 /core/mdadm | |
parent | 5d334c7470b5851fbacd4545c8ee0ea676a21ccc (diff) |
Sun May 20 00:04:49 UTC 2012
Diffstat (limited to 'core/mdadm')
-rw-r--r-- | core/mdadm/PKGBUILD | 24 | ||||
-rw-r--r-- | core/mdadm/mdadm.service | 8 |
2 files changed, 22 insertions, 10 deletions
diff --git a/core/mdadm/PKGBUILD b/core/mdadm/PKGBUILD index 82b034a36..d270ca783 100644 --- a/core/mdadm/PKGBUILD +++ b/core/mdadm/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 158626 2012-05-05 03:23:11Z dreisner $ +# $Id: PKGBUILD 159240 2012-05-18 16:47:23Z tpowa $ # Maintainer: Tobias Powalowski <tpowa@archlinux.org> # Contributor: Judd Vinet <jvinet@zeroflux.org> pkgname=mdadm -pkgver=3.2.3 -pkgrel=3 +pkgver=3.2.4 +pkgrel=1 pkgdesc="A tool for managing/monitoring Linux md device arrays, also known as Software RAID" arch=(i686 x86_64) license=('GPL') @@ -18,8 +18,17 @@ source=(ftp://ftp.kernel.org/pub/linux/utils/raid/mdadm/mdadm-$pkgver.tar.bz2 mdadm_install mdadm_hook mdadm_udev_install + mdadm.service disable-werror.patch) replaces=('raidtools') +md5sums=('c25007b981e0f5362eacdad385ff0e15' + '8333d405f550317c2bacd5510bf1cb60' + '00cbed931db4f15b6ce49e3e7d433966' + '9b01e96b6c3c218fb61628c9281fe688' + 'fbb5542d9bdf87441a11dd7e7a0a17f8' + '2318b99701dba9b01a6891c62be7bc1c' + 'aafb5f9ac8437a284cbf948b9b13b179' + '4ad87b74a4bc9a34621280abe0e0c3e4') build() { cd $srcdir/$pkgname-$pkgver @@ -44,11 +53,6 @@ package() { # move /lib/* to /usr/lib/ mv $pkgdir/lib/udev $pkgdir/usr/lib/ rm -rf $pkgdir/lib + # systemd service file + install -D -m644 $srcdir/mdadm.service $pkgdir/usr/lib/systemd/system/mdadm.service } -md5sums=('d789d6ecb9c1d5ebcc64f0fc52bca92f' - '8333d405f550317c2bacd5510bf1cb60' - '00cbed931db4f15b6ce49e3e7d433966' - '9b01e96b6c3c218fb61628c9281fe688' - 'fbb5542d9bdf87441a11dd7e7a0a17f8' - '2318b99701dba9b01a6891c62be7bc1c' - '4ad87b74a4bc9a34621280abe0e0c3e4') diff --git a/core/mdadm/mdadm.service b/core/mdadm/mdadm.service new file mode 100644 index 000000000..8389715e8 --- /dev/null +++ b/core/mdadm/mdadm.service @@ -0,0 +1,8 @@ +[Unit] +Description=MDADM Event Monitor + +[Service] +ExecStart=/sbin/mdadm --monitor --scan + +[Install] +WantedBy=multi-user.target |