On Sun, Mar 05, 2017 at 04:09:18AM +0000, Rodney W. Grimes wrote:
> Author: rgrimes
> Date: Sun Mar  5 04:09:18 2017
> New Revision: 314693
> URL: https://svnweb.freebsd.org/changeset/base/314693
> 
> Log:
>   Change /etc/rmt symlink from absolute to relative path,
>   correcting the mistake made in r6499
>   
>   Approved by:        grehan
>   MFC after:  1 week
> 
> Modified:
>   head/usr.sbin/rmt/Makefile
> 
> Modified: head/usr.sbin/rmt/Makefile
> ==============================================================================
> --- head/usr.sbin/rmt/Makefile        Sun Mar  5 04:02:47 2017        
> (r314692)
> +++ head/usr.sbin/rmt/Makefile        Sun Mar  5 04:09:18 2017        
> (r314693)
> @@ -7,6 +7,6 @@ MAN=  rmt.8
>  # called from /usr/src/etc/Makefile
>  etc-rmt:
>       rm -f ${DESTDIR}/etc/rmt
> -     ln -s ${BINDIR}/rmt ${DESTDIR}/etc/rmt
> +     ln -s ..${BINDIR}/rmt ${DESTDIR}/etc/rmt

I think this should be ${INSTALL_RSYMLINK} ${BINDIR}/rmt ${DESTDIR}/etc/rmt

The rm -f before can then be removed, the symlink will be relative and the
METALOG will be respected 

Best regards,
Bapt

Attachment: signature.asc
Description: PGP signature

Reply via email to