Bug#388724: grub: automatically update /etc/kernel-img.conf

Karl Chen quarl at cs.berkeley.edu
Sat Sep 23 23:31:56 UTC 2006


>>>>> On 2006-09-23 01:57 PDT, Robert Millan writes:

    Robert> That matches more things than necessary (e.g. replaces
    Robert> /usr/sbin/update-grub with /usr/update-grub).  If at
    Robert> all, it would have to be something like:

    Robert>   sed -i /etc/kernel-img.conf -e "s,\(.*\)
    Robert>   */sbin/update-grub$,\1 update-grub,g"

Good point.  That line looks good (do you need the g though?).


-- 
Karl 2006-09-23 16:30




More information about the Pkg-grub-devel mailing list