Re: /etc/os-release isn't created

From: Herbert J. Skuhra <herbert_at_gojira.at>
Date: Mon, 25 Nov 2019 02:11:35 +0100
On Mon, Nov 25, 2019 at 08:13:19AM +0900, Yasuhiro KIMURA wrote:

> distribution:
> .if !defined(DESTDIR)
> 	_at_echo "set DESTDIR before running \"make ${.TARGET}\""
> 	_at_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_at_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
Received on Mon Nov 25 2019 - 00:11:45 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:22 UTC