Re: grub2 confusion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 06, 2011 at 10:09:44PM +0200, Michael Schwendt wrote:
> 
> grub2-mkconfig is just a brute-force shell script that ends with
> 
>    # none of the children aborted with error, install the new grub.cfg
>    mv -f ${grub_cfg}.new ${grub_cfg}
> 
> so instead of not shipping an incompatible /etc/grub2.cfg symlink as
> long as this tool obviously cannot handle the symlink, there are lame and
> dubious attempts at defending the symlink.

File a bug against grub2.  If instead of

    mv -f ${grub_cfg}.new ${grub_cfg}

you would have
     
     cat ${grub_cfg}.new > ${grub_cfg}; rm -f ${grub_cfg}.new

you would not notice any troubles.

  Michal
-- 
test mailing list
test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe: 
https://admin.fedoraproject.org/mailman/listinfo/test


[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux