diff options
author | Miruna Paun <Miruna.Paun@enea.com> | 2016-10-25 16:30:13 +0200 |
---|---|---|
committer | Miruna Paun <Miruna.Paun@enea.com> | 2016-10-25 16:30:13 +0200 |
commit | d4c585068c0dcfc9f13e5dc4f66f6c51ae92ad35 (patch) | |
tree | 1e6fc54267f9dbf7e8ec76bdca7c852bbd70132a /doc/book-enea-linux-release-info | |
parent | b828d67c8c429c2b1bf87d2f890607c378d55200 (diff) | |
download | el_releases-networking-d4c585068c0dcfc9f13e5dc4f66f6c51ae92ad35.tar.gz |
Autogenerate list of manifest files for repo cmd
From the manifest, autocreate an XML file with a
list of the manifest files which can be used
in the repo command, and including this XML file
in the release info.
Also changed the prompt in prerequisites.xml from
# to $
Signed-off-by: Miruna Paun <Miruna.Paun@enea.com>
Diffstat (limited to 'doc/book-enea-linux-release-info')
-rw-r--r-- | doc/book-enea-linux-release-info/doc/getting_enea_linux.xml | 51 | ||||
-rw-r--r-- | doc/book-enea-linux-release-info/doc/prerequisites.xml | 2 |
2 files changed, 19 insertions, 34 deletions
diff --git a/doc/book-enea-linux-release-info/doc/getting_enea_linux.xml b/doc/book-enea-linux-release-info/doc/getting_enea_linux.xml index f25c1a5..93a5c59 100644 --- a/doc/book-enea-linux-release-info/doc/getting_enea_linux.xml +++ b/doc/book-enea-linux-release-info/doc/getting_enea_linux.xml | |||
@@ -41,45 +41,30 @@ $ chmod a+x ~/bin/repo</programlisting>The instruction assumes that ~/bin | |||
41 | </listitem> | 41 | </listitem> |
42 | 42 | ||
43 | <listitem> | 43 | <listitem> |
44 | <para>Use the repo tool to download the source:<remark>FIXME: Before | 44 | <para>Use the repo tool to download the source:<remark>FIXME: At final |
45 | final release the tag for the manifest must be set in Makefile as | 45 | release the tag for the manifest must be set in mainfest_conf.mk as |
46 | MANIFESTHASH, typically something like refs/tags/EL6. Before that, a | 46 | MANIFESTHASH, typically something like refs/tags/EL6. Before final |
47 | generic branch name is used instead, e.g. krogoth in | 47 | release, it is possible to set MANIFESTHASH on the make command line |
48 | Makefile</remark></para> | 48 | to override the value, e.g. with a commit hash string for a release |
49 | 49 | candidate to be tested</remark></para> | |
50 | <para><programlisting>$ mkdir enea-linux | 50 | |
51 | <programlisting>$ mkdir enea-linux | ||
51 | $ cd enea-linux | 52 | $ cd enea-linux |
52 | $ repo init -u <xi:include href="../../s_docsrc_common/pardoc-distro.xml" | 53 | $ repo init -u <xi:include href="../../s_docsrc_common/pardoc-distro.xml" |
53 | xmlns:xi="http://www.w3.org/2001/XInclude" | 54 | xmlns:xi="http://www.w3.org/2001/XInclude" |
54 | xpointer="element(EneaLinux_MANIFESTURL/1)" /> \ | 55 | xpointer="element(EneaLinux_MANIFESTURL/1)" /> \ |
55 | -b <xi:include href="../../s_docsrc_common/pardoc-distro.xml" | 56 | -b <xi:include href="../../s_docsrc_common/pardoc-distro.xml" |
56 | xmlns:xi="http://www.w3.org/2001/XInclude" | 57 | xmlns:xi="http://www.w3.org/2001/XInclude" |
57 | xpointer="element(EneaLinux_MANIFESTHASH/1)" /> \ | 58 | xpointer="element(EneaLinux_MANIFESTHASH/1)" /> \ |
58 | -m <manifest file> | 59 | -m <manifest file> |
59 | $ repo sync</programlisting></para> | 60 | $ repo sync</programlisting> |
60 | |||
61 | <para>The parameter <manifest file> depends on the target. See | ||
62 | the following table:</para> | ||
63 | |||
64 | <informaltable> | ||
65 | <tgroup cols="2"> | ||
66 | <thead> | ||
67 | <row> | ||
68 | <entry align="center">Target</entry> | ||
69 | |||
70 | <entry align="center">Manifest file</entry> | ||
71 | </row> | ||
72 | </thead> | ||
73 | 61 | ||
74 | <tbody> | 62 | <para>The parameter <manifest file> depends on the target. Use |
75 | <row> | 63 | the following:</para> |
76 | <entry>P2041RDB</entry> | ||
77 | 64 | ||
78 | <entry><para>p2041rdb/default.xml</para></entry> | 65 | <xi:include element="manifestfiles/1" |
79 | </row> | 66 | href="manifestfiles_generated.xml" |
80 | </tbody> | 67 | xmlns:xi="http://www.w3.org/2001/XInclude" /> |
81 | </tgroup> | ||
82 | </informaltable> | ||
83 | </listitem> | 68 | </listitem> |
84 | </orderedlist> | 69 | </orderedlist> |
85 | 70 | ||
diff --git a/doc/book-enea-linux-release-info/doc/prerequisites.xml b/doc/book-enea-linux-release-info/doc/prerequisites.xml index 3b55b26..71f7d7e 100644 --- a/doc/book-enea-linux-release-info/doc/prerequisites.xml +++ b/doc/book-enea-linux-release-info/doc/prerequisites.xml | |||
@@ -18,7 +18,7 @@ | |||
18 | <primary>Ubuntu</primary> | 18 | <primary>Ubuntu</primary> |
19 | </indexterm> distribution you need the following packages:</para> | 19 | </indexterm> distribution you need the following packages:</para> |
20 | 20 | ||
21 | <programlisting># sudo apt-get install sed wget subversion git-core | 21 | <programlisting>$ sudo apt-get install sed wget subversion git-core |
22 | coreutils unzip texi2html texinfo libsdl1.2-dev docbook-utils fop gawk | 22 | coreutils unzip texi2html texinfo libsdl1.2-dev docbook-utils fop gawk |
23 | python-pysqlite2 diffstat make gcc build-essential xsltproc g++ | 23 | python-pysqlite2 diffstat make gcc build-essential xsltproc g++ |
24 | desktop-file-utils chrpath libgl1-mesa-dev libglu1-mesa-dev autoconf automake | 24 | desktop-file-utils chrpath libgl1-mesa-dev libglu1-mesa-dev autoconf automake |