From owner-svn-src-all@FreeBSD.ORG Tue Jan 22 17:56:07 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id BE7629EA; Tue, 22 Jan 2013 17:56:07 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by mx1.freebsd.org (Postfix) with ESMTP id 79D46938; Tue, 22 Jan 2013 17:56:07 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id c10so11960630ieb.25 for ; Tue, 22 Jan 2013 09:56:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=kjrn5pCSQsK+8lk2N8iFzwcH+bzuRw65lqu0Mg//NSY=; b=RK6MI7/unSMoyfCLF2VR2oHcAVfuxEhDx1PfQHGU15bEuUTMYpH/JUdLizJzH6SrJM qbBAq7C6b7fDJHDkVleXfkqLAXENiPRrQNJwmV75/Cyh6J6+G8sZYwg77hglvYB/o0T8 PHOiWv5yCMXGSDZQFhRvjFHvcURahhK8q8Pa00Vy7qyoRBhY+08ui+mkyCu+nIvGHRrQ niF9dxaoIsx3A3KXremd50D5ryuLT7gaTH0GAhJZkPQhvxhQvbEdfcZYoMdKzGi6B+si U1vuvwnDlkRuj7ZlT/Bb72iL/0QSm/Jn+n/a8lKWOs2cgZlIueuhUjklYjxod1CQUPTQ FC2A== X-Received: by 10.50.161.169 with SMTP id xt9mr12345721igb.62.1358877361566; Tue, 22 Jan 2013 09:56:01 -0800 (PST) MIME-Version: 1.0 Sender: utisoft@gmail.com Received: by 10.64.16.73 with HTTP; Tue, 22 Jan 2013 09:55:31 -0800 (PST) In-Reply-To: <201301212240.r0LMedcF088022@svn.freebsd.org> References: <201301212240.r0LMedcF088022@svn.freebsd.org> From: Chris Rees Date: Tue, 22 Jan 2013 17:55:31 +0000 X-Google-Sender-Auth: EGU5yYxbGmePB8yID77Ld_BhoLg Message-ID: Subject: Re: svn commit: r245752 - in head: etc share/mk To: Brooks Davis Content-Type: text/plain; charset=ISO-8859-1 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2013 17:56:07 -0000 On 21 January 2013 22:40, Brooks Davis wrote: > Author: brooks > Date: Mon Jan 21 22:40:39 2013 > New Revision: 245752 > URL: http://svnweb.freebsd.org/changeset/base/245752 > > Log: > Replace all known uses of ln in the build process with appropriate > install -l invocations via new INSTALL_LINK and INSTALL_SYMLINK > variables. > > Sponsored by: DARPA, AFRL > Reviewed by: ian, ray, rpaulo > > Modified: > head/etc/Makefile > head/share/mk/bsd.incs.mk > head/share/mk/bsd.info.mk > head/share/mk/bsd.lib.mk > head/share/mk/bsd.links.mk > head/share/mk/bsd.man.mk > head/share/mk/bsd.own.mk > > Modified: head/etc/Makefile > ============================================================================== > --- head/etc/Makefile Mon Jan 21 22:32:00 2013 (r245751) > +++ head/etc/Makefile Mon Jan 21 22:40:39 2013 (r245752) > @@ -324,26 +324,29 @@ distrib-dirs: > -f $$m -p $$d; \ > ${MTREE_CMD} -deU ${MTREE_FOLLOWS_SYMLINKS} -f $$m -p $$d; \ > done; true > - ln -sfh usr/src/sys ${DESTDIR}/sys > + ${INSTALL_SYMLINK} usr/src/sys ${DESTDIR}/sys This broke installworld for me, because of the different behaviour. ln -sf overwrites existing symlinks, whereas install -l a b puts a symlink to a inside itself... which fails on a read-only src (NFS mounted). Perhaps it's install misbehaving? I can't work out if it's bootstrapped properly; we should be using new install(1), are we? Chris