FS#37330 - [mdadm] fix reference to /usr/sbin in PKG files
Attached to Project:
Arch Linux
Opened by John (graysky) - Monday, 14 October 2013, 13:20 GMT
Last edited by Ionut Biru (wonder) - Wednesday, 16 October 2013, 11:00 GMT
Opened by John (graysky) - Monday, 14 October 2013, 13:20 GMT
Last edited by Ionut Biru (wonder) - Wednesday, 16 October 2013, 11:00 GMT
|
Details
The PKG ships with references to /usr/sbin in the following
which should be cleansed even though a symlink is on the
filesystem:
* /etc/mdadm.conf * /usr/lib/udev/rules.d/64-md-raid-assembly.rules Interestingly, despite the `make BINDIR=/usr/bin in the PKGBUILD, several binaries are as well hard-coded to /usr/sbin: % find . -type f -executable -exec grep sbin {} \; -print Binary file ./usr/bin/mdadm matches ./usr/bin/mdadm Binary file ./usr/bin/mdmon matches ./usr/bin/mdmon Binary file ./usr/bin/mdassemble matches ./usr/bin/mdassemble Additional info: * package version(s) 3.3-1 |
This task depends upon
1. My attempt |sbin|usr/bin| in the affected files.
2. An updated PKGBUILD.
Note - Please modify the mdadm.conf included in the PKG per my original post.
PKGBUILD.patch (2.5 KiB)
I will contact upastream to ask if they can make these daughter files honor the BINDIR the user chooses. Thank you for maintaining.
"I'm happy to have BINDIR in the Makefile affect everything that gets
installed (though maybe it should be renamed to SBINDIR).
If you can send me a patch that looks good I'll apply it.
Otherwise: I've put it on my to-do list and will probably get to in
eventually.
Thanks,
NeilBrown"