mdadm: update to 3.0.2
This commit is contained in:
parent
a7d5f4048a
commit
4865adcd8e
@ -1,2 +1 @@
|
||||
42b79d4160e996fb64758a17f2a2144b mdadm-3.0-vol_id.patch
|
||||
1eb89885b2b881562fc79ed2f5e1a056 mdadm-3.0.tar.gz
|
||||
afaf158497f76f95cd12a49eca8cae0e mdadm-3.0.2.tar.gz
|
||||
|
@ -3,14 +3,12 @@
|
||||
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
|
||||
|
||||
name=mdadm
|
||||
version=3.0
|
||||
release=2
|
||||
source=(http://www.kernel.org/pub/linux/utils/raid/$name/$name-$version.tar.gz
|
||||
$name-$version-vol_id.patch)
|
||||
version=3.0.2
|
||||
release=1
|
||||
source=(http://www.kernel.org/pub/linux/utils/raid/$name/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
patch -p1 -i $SRC/$name-$version-vol_id.patch
|
||||
make CXFLAGS="$CFLAGS" all mdadm.static
|
||||
make DESTDIR=$PKG MANDIR=/usr/man install
|
||||
install -m755 mdadm.static $PKG/sbin
|
||||
|
@ -1,14 +0,0 @@
|
||||
# http://git.kernel.org/?p=linux/hotplug/udev.git;a=commit;h=f07996885dab45102492d7f16e7e2997e264c725
|
||||
|
||||
diff -Nru mdadm-3.0.orig/udev-md-raid.rules mdadm-3.0/udev-md-raid.rules
|
||||
--- mdadm-3.0.orig/udev-md-raid.rules 2009-06-04 10:47:00.000000000 +0200
|
||||
+++ mdadm-3.0/udev-md-raid.rules 2009-06-04 10:48:50.000000000 +0200
|
||||
@@ -30,7 +30,7 @@
|
||||
ENV{DEVTYPE}=="partition", ENV{MD_DEVNAME}=="*[^0-9]", SYMLINK+="md/$env{MD_DEVNAME}%n"
|
||||
ENV{DEVTYPE}=="partition", ENV{MD_DEVNAME}=="*[0-9]", SYMLINK+="md/$env{MD_DEVNAME}p%n"
|
||||
|
||||
-IMPORT{program}="vol_id --export $tempnode"
|
||||
+IMPORT{program}="/sbin/blkid -o udev -p $tempnode"
|
||||
OPTIONS+="link_priority=100"
|
||||
ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{ID_FS_UUID_ENC}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID_ENC}"
|
||||
ENV{ID_FS_USAGE}=="filesystem|other", ENV{ID_FS_LABEL_ENC}=="?*", SYMLINK+="disk/by-label/$env{ID_FS_LABEL_ENC}"
|
Loading…
x
Reference in New Issue
Block a user