[Bug 242212] /etc/os-release isn't created when you upgrade an existing 13-CURRENT host
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Nov 24 23:29:40 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242212
Bug ID: 242212
Summary: /etc/os-release isn't created when you upgrade an
existing 13-CURRENT host
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: bin
Assignee: bugs at FreeBSD.org
Reporter: yasu at utahime.org
CC: imp at FreeBSD.org
With base r354922 /usr/src/etc/Makefile is changed as following.
yasu at rolling-vm-freebsd1[2109]% LANG=C svn diff -c 354922 /usr/src/etc/Makefile
Index: /usr/src/etc/Makefile
===================================================================
--- /usr/src/etc/Makefile (revision 354921)
+++ /usr/src/etc/Makefile (revision 354922)
@@ -57,6 +57,8 @@
${_+_}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
.if ${MK_UNBOUND} != "no"
if [ ! -e ${DESTDIR}/etc/unbound ]; then \
${INSTALL_SYMLINK} -T "package=unbound" \
yasu at rolling-vm-freebsd1[2110]%
This means /etc/os-release symbolic link is created when 'make distribution' is
executed. But this target isn't executed at normal upgrade steps. So as a
result /etc/os-release symbolic link isn't created when you upgrade an existing
13-CURRENT host.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list