os-release: Automatically update RELEASE_TYPE

This commit is contained in:
Xi Ruoyao 2024-12-21 11:56:57 +08:00
parent 6913a42bff
commit bfb0cbae18
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3
2 changed files with 4 additions and 1 deletions

View File

@ -59,7 +59,7 @@ ID=lfs
PRETTY_NAME="Linux From Scratch &version;"
VERSION_CODENAME="<your name here>"
HOME_URL="&lfs-root;lfs/"
RELEASE_TYPE="development"
RELEASE_TYPE="&os-release-type;"
EOF</userinput></screen>
<para>Be sure to customize the fields 'DISTRIB_CODENAME' and

View File

@ -34,6 +34,7 @@
&patches-root;,
&donwloads-root;, and
&test-results; -->
<!ENTITY os-release-type "development"> <!-- used by /etc/os-release -->
]]><!-- End %development -->
<![ %release; [
@ -52,6 +53,7 @@
&test-results; -->
<!ENTITY releasedate "%reldate;">
<!ENTITY copyrightdate "%crdate;">
<!ENTITY os-release-type "stable"> <!-- used by /etc/os-release -->
]]>
<![ %rc; [
@ -70,6 +72,7 @@
&test-results; -->
<!ENTITY releasedate "%reldate;">
<!ENTITY copyrightdate "%crdate;">
<!ENTITY os-release-type "development"> <!-- used by /etc/os-release -->
]]>
<![ %sysv; [