Bug#549298: mdadm should copy its own rules file to the initramfs

martin f krafft madduck at debian.org
Sun Oct 25 11:26:20 UTC 2009


also sprach Petter Reinholdtsen <pere at hungry.com> [2009.10.25.1157 +0100]:
> Right.  So something like this would work then.
> 
> diff -ur mdadm-3.0/debian/initramfs/hook mdadm-3.0-pere/debian/initramfs/hook
> --- mdadm-3.0/debian/initramfs/hook     2009-10-24 23:46:21.000000000 +0200
> +++ mdadm-3.0-pere/debian/initramfs/hook        2009-10-25 11:56:08.000000000 +0100
> @@ -281,6 +281,9 @@
>      done
>    fi
> 
> +  # Copy udev rules, udev want to stop copying it
> +  mkdir -p $DESTDIR/lib/udev/rules.d/
> +  cp /lib/udev/rules.d/64-md-raid.rules $DESTDIR/lib/udev/rules.d/

I think it would be better to use 'install -m644'

-- 
 .''`.   martin f. krafft <madduck at d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
URL: <http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20091025/1862d9e1/attachment.pgp>


More information about the pkg-mdadm-devel mailing list