Tested only with yaboot, but should have the same problem with grub.conf. mkinitrd-5.1.2-1.4 Patch from Lin Feng Shen <shenlinf.com> attached # cat /etc/yaboot.conf | tail -6 image=/vmlinuz-2.6.18-1.2739.el5 label=linux read-only initrd=/initrd-2.6.18-1.2739.el5.img root=/dev/VolGroup00/LogVol00 append="console=hvc0 rhgb quiet" # cp /etc/yaboot.conf /etc/yaboot.conf.orig # mkdir /home/tmpdir; cd /home/tmpdir # /sbin/grubby --yaboot --update-kernel=/boot/vmlinuz-2.6.18-1.2739.el5 --args=crashkernel=576M@32M grubby: error creating ../boot/etc/yaboot.conf-: No such file or directory # diff /etc/yaboot.conf /etc/yaboot.conf.orig # cd /root # /sbin/grubby --yaboot --update-kernel=/boot/vmlinuz-2.6.18-1.2739.el5 --args=crashkernel=576M@32M # diff /etc/yaboot.conf /etc/yaboot.conf.orig 21c21 < append="console=hvc0 rhgb quiet crashkernel=576M@32M" --- > append="console=hvc0 rhgb quiet"
Created attachment 141052 [details] fix_mkinitrd_by_changing-basename-to-dirname.patch
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux major release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Major release. This request is not yet committed for inclusion.
Already fixed in mkinitrd 5.1.16-1 .