>      35 
>      36 BOOT_ARCHIVE=platform/i86pc/boot_archive
>      37 BOOT_ARCHIVE_64=platform/i86pc/amd64/boot_archive
>      38 
>      39 export PATH=$PATH:/usr/sbin:/usr/bin:/sbin
> 
> AFAIK this is completely wrong. If $PATH gets added then it should be
> after all the primary stuff, otherwise adding something "unexpected"
> which supersets normal tools in /usr/bin/ may cause havoc...

 It's a misguided attempt to work around bfu being more than a bit of
a mess in that respect. This has been changed to explicitly check for
and pick up tmp/bfubin:

if [ "`echo $PATH | cut -f 1 -d :`" = /tmp/bfubin ] && \
    [ -O /tmp/bfubin ] ; then
        export PATH=/tmp/bfubin:/usr/sbin:/usr/bin:/sbin
else
        export PATH=/usr/sbin:/usr/bin:/sbin
fi

 That change will go back with the new-boot sparc wad.

-jan



Reply via email to