summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiruna Paun <Miruna.Paun@enea.com>2017-04-03 16:42:52 +0200
committerMiruna Paun <Miruna.Paun@enea.com>2017-04-03 16:42:52 +0200
commitf620480ac54ceb9080f450627bdbaffc049a9095 (patch)
tree7f1bc2b038453529d1773513cafc5a711d35a688
parent3af3e895dd79c89c59a70cef90cb3354fbf98ec3 (diff)
downloadel_releases-standard-f620480ac54ceb9080f450627bdbaffc049a9095.tar.gz
Updated script and fixed typo
LXCR-7377 changes continue for el6 net profle Signed-off-by: Miruna Paun <Miruna.Paun@enea.com>
-rw-r--r--doc/book-enea-linux-release-info/doc/about_release.xml2
-rw-r--r--doc/gen_pkgdiff.py12
2 files changed, 13 insertions, 1 deletions
diff --git a/doc/book-enea-linux-release-info/doc/about_release.xml b/doc/book-enea-linux-release-info/doc/about_release.xml
index 009cd56..eaf3667 100644
--- a/doc/book-enea-linux-release-info/doc/about_release.xml
+++ b/doc/book-enea-linux-release-info/doc/about_release.xml
@@ -130,7 +130,7 @@
130 </section> 130 </section>
131 131
132 <section id="relinfo-provided-sdk"> 132 <section id="relinfo-provided-sdk">
133 <title>Provided Toolchain/s (SDK)</title> 133 <title>Provided Toolchains (SDK)</title>
134 134
135 <para>The SDK contains toolchains supporting cross-compilation of 135 <para>The SDK contains toolchains supporting cross-compilation of
136 applications for the targets on an x86_64 host. See the <olink 136 applications for the targets on an x86_64 host. See the <olink
diff --git a/doc/gen_pkgdiff.py b/doc/gen_pkgdiff.py
index ddacf44..11b3809 100644
--- a/doc/gen_pkgdiff.py
+++ b/doc/gen_pkgdiff.py
@@ -108,6 +108,18 @@ elif len(sys.argv) == 1:
108 prev_lic_file = get_param("prev_lic_file") 108 prev_lic_file = get_param("prev_lic_file")
109 new_lic_file = get_param("new_lic_file") 109 new_lic_file = get_param("new_lic_file")
110 110
111 if not (prev_baseline and prev_lic_file and new_lic_file):
112 print '<?xml version="1.0" encoding="ISO-8859-1"?>'
113 print '<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"'
114 print '"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">'
115 print '<section id="relinfo-package-set-changes">'
116 print ' <title>Changes in the Set of Provided Package</title>'
117 print ' <para>'
118 print ' N/A. No previous baseline defined.'
119 print ' </para>'
120 print '</section>'
121 exit(0)
122
111 new_file = os.path.relpath(os.path.join(repo_root, new_lic_file)) 123 new_file = os.path.relpath(os.path.join(repo_root, new_lic_file))
112 prev_file = "%s:%s" % (prev_baseline, prev_lic_file) 124 prev_file = "%s:%s" % (prev_baseline, prev_lic_file)
113 125