[osinfo-db] install-script, opensuse: Add omit-xml-declaration to the output format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Without this change the output got from the command-line template will
look like "<?xml version=1> autoyast=device://sda/autoinst.xml" while
what we actually expect is just "autoyast=device://sda/autoinst.xml".

It's been the faulty part that caused problems with Tumbleweed and Leap
42.2 installations.

Signed-off-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx>
---
 data/install-script/opensuse.org/opensuse-autoyast-desktop.xml.in | 2 +-
 data/install-script/opensuse.org/opensuse-autoyast-jeos.xml.in    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/data/install-script/opensuse.org/opensuse-autoyast-desktop.xml.in b/data/install-script/opensuse.org/opensuse-autoyast-desktop.xml.in
index 75fc74d..6554eb6 100644
--- a/data/install-script/opensuse.org/opensuse-autoyast-desktop.xml.in
+++ b/data/install-script/opensuse.org/opensuse-autoyast-desktop.xml.in
@@ -31,7 +31,7 @@
         xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
         version="1.0">
 
-        <xsl:output method="xml" indent="yes"/>
+        <xsl:output method="xml" indent="yes" omit-xml-declaration="yes"/>
 
         <xsl:template name="l10n-language">
           <xsl:choose>
diff --git a/data/install-script/opensuse.org/opensuse-autoyast-jeos.xml.in b/data/install-script/opensuse.org/opensuse-autoyast-jeos.xml.in
index fb42c50..0079cc5 100644
--- a/data/install-script/opensuse.org/opensuse-autoyast-jeos.xml.in
+++ b/data/install-script/opensuse.org/opensuse-autoyast-jeos.xml.in
@@ -22,7 +22,7 @@
         xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
         version="1.0">
 
-        <xsl:output method="xml" indent="yes"/>
+        <xsl:output method="xml" indent="yes" omit-xml-declaration="yes"/>
 
         <xsl:template name="l10n-language">
           <xsl:choose>
-- 
2.9.3

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux