Re: [d-i on kfreebsd] quick status report
On Fri, Aug 07, 2009 at 08:53:06AM +0200, Felix Zielcke wrote:
> --- grub-installer (revision 60026)
> +++ grub-installer (working copy)
> @@ -115,7 +115,7 @@ convert () {
> tmp_disk=$(echo "$1" | sed 's%\([sh]d[0-9]*\).*%\1%')
> tmp_part=$(echo "$1" | sed "s%$tmp_disk%%")
> ;;
> - freebsd*)
> + freebsd*|gnu/kfreebsd*)
> tmp_disk=$(echo "$1" | sed 's%r\{0,1\}\([saw]d[0-9]*\).*$%r\1%' | \
> sed 's%r\{0,1\}\(da[0-9]*\).*$%r\1%')
> tmp_part=$(echo "$1" | \
> @@ -166,7 +166,7 @@ convert () {
> fi
> echo "$tmp_drive"
> ;;
> - freebsd*)
> + freebsd*|gnu/kfreebsd*)
> if echo $tmp_part | grep "^s" >/dev/null; then
> tmp_pc_slice=$(echo $tmp_part | \
> sed "s%s\([0-9]*\)[a-h]*$%\1%")
I think the convert() function is only used for GRUB Legacy.
--
Robert Millan
The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
how) you may access your data; but nobody's threatening your freedom: we
still allow you to remove your data and not access it at all."
Reply to: