Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 2019 02:11:35 +0100
From:      "Herbert J. Skuhra" <herbert@gojira.at>
To:        freebsd-current@freebsd.org
Subject:   Re: /etc/os-release isn't created
Message-ID:  <20191125011135.GA69956@mail.bsd4all.net>
In-Reply-To: <20191125.081319.1547651065831056208.yasu@utahime.org>
References:  <20191124.061357.2264854536159910571.yasu@utahime.org> <CAG6CVpVoC8Od7w_Hej_6tMW93e67C-qcL0-3z=BzpFZFhgvtAQ@mail.gmail.com> <20191125.081319.1547651065831056208.yasu@utahime.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 25, 2019 at 08:13:19AM +0900, Yasuhiro KIMURA wrote:

> distribution:
> .if !defined(DESTDIR)
> 	@echo "set DESTDIR before running \"make ${.TARGET}\""
> 	@false
> .endif
> 	${_+_}cd ${.CURDIR}/gss; ${MAKE} install
> 	${_+_}cd ${.CURDIR}/mtree; ${MAKE} install
> 	${_+_}cd ${SRCTOP}/share/termcap; ${MAKE} etc-termcap
> 	${_+_}cd ${SRCTOP}/usr.sbin/rmt; ${MAKE} etc-rmt
> 	${INSTALL_SYMLINK} ../var/run/os-release \
> 		${DESTDIR}/etc/os-release
> yasu@rolling-vm-freebsd1[2105]% 
> 
> But 'make distribution' isn't executed by normal upgrade steps. So
> it's a bug and should be fixed.

- mergemaster runs 'make distribution':
  ${MM_MAKE} DESTDIR=${TEMPROOT} distribution >/dev/null;} || 
- the link etc/os-release is created in /var/tmp/temproot when running
  mergemaster but not moved to /

-- 
Herbert



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20191125011135.GA69956>