Bug 118554

Summary: mkinitrd fails when no System.map is found
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Takashi Iwai <tiwai>
Component: BasesystemAssignee: Hannes Reinecke <hare>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: RC 4   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: mkinitrd

Description Takashi Iwai 2005-09-23 09:34:25 UTC
The recent mkinitrd requires System.map (or the one with the version suffix) on
/boot.  If not exists, however, it still creats initrd file which is unusable
because of lack of modules.dep.

mkinitrd should check the existence of System.map and doesn't pass -F option if
not there, or completely fail.  Better would be to have another option to
specify System.map explicitly like -k or -i.
Comment 1 Hannes Reinecke 2005-12-05 14:53:37 UTC
Added a switch '-M' to mkinitrd to specify a System.map file to use. Abort if no useable file has been found.
Comment 2 Hannes Reinecke 2005-12-05 14:56:36 UTC
Created attachment 59829 [details]
mkinitrd

New /sbin/mkinitrd.
Comment 3 Hannes Reinecke 2005-12-05 14:57:03 UTC
Will be submitting the new mkinitrd for the next Alpha release.