]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r354922
authorWarner Losh <imp@FreeBSD.org>
Fri, 31 Jan 2020 13:18:25 +0000 (13:18 +0000)
committerWarner Losh <imp@FreeBSD.org>
Fri, 31 Jan 2020 13:18:25 +0000 (13:18 +0000)
commitf84a192477adb5fcefec445bbffabfc5b5076541
tree7d00deb6b9d0dcac9fa9ef2b3a92a7a53efe7a23
parent739a124304d0027eb934240a123e64d37fe93fb3
MFC r354922

> Author: imp <imp@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
> Date:   Wed Nov 20 23:45:31 2019 +0000
>
>    Create /etc/os-release file.
>
>    Each boot, regenerate /var/run/os-release based on the currently running
>    system. Create a /etc/os-release symlink pointing to this file (so that this
>    doesn't create a new reason /etc can not be mounted read-only).
>
>    This is compatible with what other systems do and is what the sysutil/os-release
>    port attempted to do, but in an incomplete way. Linux, Solaris and DragonFly all
>    implement this natively as well. The complete standard can be found at
>    https://www.freedesktop.org/software/systemd/man/os-release.html
>
>    Moving this to the base solves both the non-standard location problem with the
>    port, as well as the lack of update of this file on system update.
>
>    Bump __FreeBSD_version to 1300060
>
>    PR: 238953
>    Differential Revision:  https://reviews.freebsd.org/D22271

Execpt bump __FreeBSD_version to 1201511
etc/Makefile
libexec/rc/rc.conf
libexec/rc/rc.d/Makefile
libexec/rc/rc.d/os-release [new file with mode: 0755]
share/man/man5/Makefile
share/man/man5/os-release.5 [new file with mode: 0644]
sys/sys/param.h