FS#37796 - [mkinitcpio] should look for hooks local-machine friendly places
Attached to Project:
Arch Linux
Opened by Anonymous (reallybmn) - Saturday, 16 November 2013, 20:05 GMT
Last edited by Dave Reisner (falconindy) - Tuesday, 24 December 2013, 21:07 GMT
Opened by Anonymous (reallybmn) - Saturday, 16 November 2013, 20:05 GMT
Last edited by Dave Reisner (falconindy) - Tuesday, 24 December 2013, 21:07 GMT
|
Details
Currently mkinitcpio looks for hooks/scripts only in
/usr/lib/initcpio, forcing you to place custom hooks into
that directory as well.
For ease of handling stuff like maintenance, backups, etc. it would be better if mkinitcpio allowed hooks/scripts to be installed in a more fhs-friendly manner, eg. the obvious /usr/local/lib/.. or /etc/mkinitcpio.d/.. |
This task depends upon
Closed by Dave Reisner (falconindy)
Tuesday, 24 December 2013, 21:07 GMT
Reason for closing: Fixed
Additional comments about closing: mkinitcpio 16
Tuesday, 24 December 2013, 21:07 GMT
Reason for closing: Fixed
Additional comments about closing: mkinitcpio 16
I'm not too keen on this because of some implications, but it's a trivial change.
P.S. FHS isn't even close to relevant here.
It's a somewhat specific progress so I would not expect mkinitcpio to supply any hooks to cover this use case.
In a more general sense, I don't think supplying all hooks or scripts ever conceivable beeing distributed or supported by OS packages is a feasable assumption, so this ticket should be valid anyways.
Point taken on the FHS.
https://projects.archlinux.org/mkinitcpio.git/commit/?id=0ccd0bcf0449686