mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-12-27 03:33:50 -05:00
Remove all versiond entities
This commit is contained in:
@@ -31,50 +31,33 @@
|
||||
out which LFS version is installed on the system. Create this file by
|
||||
running:</para>
|
||||
|
||||
<screen revision="sysv"><userinput>echo &version; > /etc/lfs-release</userinput></screen>
|
||||
<screen><userinput>echo &version; > /etc/lfs-release</userinput></screen>
|
||||
|
||||
<screen revision="systemd"><userinput>echo &versiond; > /etc/lfs-release</userinput></screen>
|
||||
|
||||
<para>Two files describing the installed system may be used by packages
|
||||
that can be installed on the system later, either in binary form or by building
|
||||
<para>Two files describing the installed system may be used by packages that
|
||||
can be installed on the system later, either in binary form or by building
|
||||
them.</para>
|
||||
|
||||
<para>The first one shows the status of your
|
||||
new system with respect to the Linux Standards Base (LSB). To create
|
||||
this file, run:</para>
|
||||
|
||||
<screen revision="sysv"><userinput>cat > /etc/lsb-release << "EOF"
|
||||
<screen><userinput>cat > /etc/lsb-release << "EOF"
|
||||
DISTRIB_ID="Linux From Scratch"
|
||||
DISTRIB_RELEASE="&version;"
|
||||
DISTRIB_CODENAME="<your name here>"
|
||||
DISTRIB_DESCRIPTION="Linux From Scratch"
|
||||
EOF</userinput></screen>
|
||||
|
||||
<screen revision="systemd"><userinput>cat > /etc/lsb-release << "EOF"
|
||||
DISTRIB_ID="Linux From Scratch"
|
||||
DISTRIB_RELEASE="&versiond;"
|
||||
DISTRIB_CODENAME="<your name here>"
|
||||
DISTRIB_DESCRIPTION="Linux From Scratch"
|
||||
EOF</userinput></screen>
|
||||
|
||||
<para>The second one contains roughly the same information, and is used
|
||||
by systemd and some graphical desktop environments. To create
|
||||
this file, run:</para>
|
||||
|
||||
<screen revision="sysv"><userinput>cat > /etc/os-release << "EOF"
|
||||
<screen><userinput>cat > /etc/os-release << "EOF"
|
||||
NAME="Linux From Scratch"
|
||||
VERSION="&version;"
|
||||
ID=lfs
|
||||
PRETTY_NAME="Linux From Scratch &version;"
|
||||
VERSION_CODENAME="<your name here>"
|
||||
EOF</userinput></screen>
|
||||
|
||||
<screen revision="systemd"><userinput>cat > /etc/os-release << "EOF"
|
||||
NAME="Linux From Scratch"
|
||||
VERSION="&versiond;"
|
||||
ID=lfs
|
||||
PRETTY_NAME="Linux From Scratch &versiond;"
|
||||
VERSION_CODENAME="<your name here>"
|
||||
EOF</userinput></screen>
|
||||
|
||||
<para>Be sure to put some sort of customization for the fields
|
||||
|
||||
Reference in New Issue
Block a user