FS#28063 - [mdadm] don't assume mkinitcpio

Attached to Project: Arch Linux
Opened by Geert Hendrickx (ghen) - Monday, 23 January 2012, 08:41 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 21 April 2012, 17:00 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Dave Reisner (falconindy)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
pacman -S mdadm
[...]
(1/1) upgrading mdadm [#########################################] 100%
grep: /etc/mkinitcpio.conf: No such file or directory

On my VPS I don't use an initrd hence I don't have mkinitcpio installed. mdadm assumes /etc/mkinitcpio.conf exists though.

The above error is not fatal, just a (very) minor annoyance. But it can be fixed easily by using "grep -s" (to make grep fail silently) instead of just "grep" in mdadm.install.
This task depends upon

Closed by  Dave Reisner (falconindy)
Saturday, 21 April 2012, 17:00 GMT
Reason for closing:  Fixed
Additional comments about closing:  Removed install scriptlet in SVN. No need to warn about something that happened 3 1/2 years ago.
Comment by Dave Reisner (falconindy) - Monday, 23 January 2012, 18:22 GMT
Better yet, this warning should be removed. kernel 2.6.8 was released in 2004.
Comment by Geert Hendrickx (ghen) - Monday, 23 January 2012, 19:11 GMT
Ok. :-)

Loading...