/etc/os-release isn't created

Herbert J. Skuhra herbert at gojira.at
Mon Nov 25 01:11:45 UTC 2019


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 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


More information about the freebsd-current mailing list