[lfs] branch trunk updated: os-release: Automatically update RELEASE_TYPE

"Git Owner" ([email protected] via lfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.book
Message-ID <173475345093.27864.3768079675300969667@rivendell.linuxfromscratch.org>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository lfs.

The following commit(s) were added to refs/heads/trunk by this push:
     new bfb0cbae1 os-release: Automatically update RELEASE_TYPE
bfb0cbae1 is described below

commit bfb0cbae18b850f1c3e8f7a56d689e98e084b20b
Author: Xi Ruoyao <[email protected]>
AuthorDate: Sat Dec 21 11:56:57 2024 +0800

    os-release: Automatically update RELEASE_TYPE
---
 chapter11/theend.xml | 2 +-
 general.ent          | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/chapter11/theend.xml b/chapter11/theend.xml
index 92e0aaad5..994cba8c3 100644
--- a/chapter11/theend.xml
+++ b/chapter11/theend.xml
@@ -59,7 +59,7 @@ ID=lfs
 PRETTY_NAME="Linux From Scratch &version;"
 VERSION_CODENAME="&lt;your name here&gt;"
 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
diff --git a/general.ent b/general.ent
index d6bf13792..4e1480324 100644
--- a/general.ent
+++ b/general.ent
@@ -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; [

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.