source: postlfs/config/lsb-release.xml@ 0134954

10.0 10.1 11.0 7.10 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind ken/refactor-virt lazarus nosym perl-modules qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 0134954 was 0134954, checked in by Bruce Dubbs <bdubbs@…>, 5 years ago

Initial 7.10 tags; only 765 to go

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17651 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.4 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 <!ENTITY lsb-release-download-http "&sourceforge-repo2;/projects/lsb/files/lsb_release/&lsb-release-version;/lsb-release-&lsb-release-version;.tar.gz">
6 <!ENTITY lsb-release-download-ftp " ">
7 <!ENTITY lsb-release-md5sum "30537ef5a01e0ca94b7b8eb6a36bb1e4">
8 <!ENTITY lsb-release-size "12 KB">
9 <!ENTITY lsb-release-buildsize "80 KB">
10 <!ENTITY lsb-release-time "less than 0.1 SBU">
11
12 %general-entities;
13]>
14
15<sect1 id="lsb-release" xreflabel="lsb_release-&lsb-release-version;">
16 <?dbhtml filename="lsb-release.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>lsb_release-&lsb-release-version;</title>
24
25 <indexterm zone="lsb-release">
26 <primary sortas="a-lsb-release">lsb_release</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to lsb_release</title>
31
32 <para>The <application>lsb_release</application> script gives information
33 about the Linux Standards Base (LSB) status of the distribution.</para>
34
35 &lfs7a_checked;
36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>Download (HTTP): <ulink url="&lsb-release-download-http;"/></para>
41 </listitem>
42 <listitem>
43 <para>Download (FTP): <ulink url="&lsb-release-download-ftp;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download MD5 sum: &lsb-release-md5sum;</para>
47 </listitem>
48 <listitem>
49 <para>Download size: &lsb-release-size;</para>
50 </listitem>
51 <listitem>
52 <para>Estimated disk space required: &lsb-release-buildsize;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated build time: &lsb-release-time;</para>
56 </listitem>
57 </itemizedlist>
58
59 <para condition="html" role="usernotes">User Notes:
60 <ulink url="&blfs-wiki;/lsb_release"/></para>
61
62 </sect2>
63
64 <sect2 role="installation">
65 <title>Installation of lsb_release</title>
66
67 <para>First fix a minor display problem:</para>
68
69<screen><userinput>sed -i "s|n/a|unavailable|" lsb_release</userinput></screen>
70
71 <para>Install <application>lsb_release</application> by running the following
72 commands:</para>
73
74<screen><userinput>./help2man -N --include ./lsb_release.examples \
75 --alt_version_key=program_version ./lsb_release > lsb_release.1</userinput></screen>
76
77 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
78
79<screen role="root"><userinput>install -v -m 644 lsb_release.1 /usr/share/man/man1/lsb_release.1 &amp;&amp;
80install -v -m 755 lsb_release /usr/bin/lsb_release</userinput></screen>
81
82 </sect2>
83
84 <sect2>
85 <title>Configuration Information</title>
86
87 <para>
88 The configuration for this package was done in
89 <ulink url="&lfs-website;/lfs/view/stable/chapter09/theend.html">LFS</ulink>.
90 The file <filename>/etc/lsb-release</filename> should already exist.
91 Be sure that the DISTRIB_CODENAME entry has been set properly.
92 </para>
93
94 <para>
95 Add the current package version to <filename>/etc/lsb-release</filename>.
96 As the <systemitem class="username">root</systemitem> user:
97 </para>
98
99<screen><userinput>echo 'LSB_VERSION="&lsb-release-version;"' >> /etc/lsb-release</userinput></screen>
100
101 </sect2>
102
103 <sect2 role="content">
104 <title>Contents</title>
105
106 <segmentedlist>
107 <segtitle>Installed Programs</segtitle>
108 <segtitle>Installed Library</segtitle>
109 <segtitle>Installed Directories</segtitle>
110
111 <seglistitem>
112 <seg>lsb_release</seg>
113 <seg>None</seg>
114 <seg>None</seg>
115 </seglistitem>
116 </segmentedlist>
117
118 <variablelist>
119 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
120 <?dbfo list-presentation="list"?>
121 <?dbhtml list-presentation="table"?>
122
123 <varlistentry id="lsb_release-prog">
124 <term><command>lsb_release</command></term>
125 <listitem>
126 <para>is a script to give LSB data.</para>
127 <indexterm zone="lsb-release lsb_release-prog">
128 <primary sortas="b-lsb-release">lsb_release</primary>
129 </indexterm>
130 </listitem>
131 </varlistentry>
132 </variablelist>
133
134 </sect2>
135
136</sect1>
Note: See TracBrowser for help on using the repository browser.