[Libosinfo] [osinfo-db PATCH 27/29] ubuntu18.04: Move installer under medias

Fabiano Fidêncio fidencio at redhat.com
Tue Feb 19 15:30:15 UTC 2019


JeOS installations have never been tested as libosinfo never had an app
consuming those scripts.

Knowing that there's no consumers affected, let's move the installers
under the specific medias the installer has been tested against.

The reason why the "desktop" profile has also been moved under the
"server" medias is because we can safely use the "desktop" script with
the "server" medias and have the very same result as when using the
"desktop" medias. Unfortunately, the opposite is not true (performing
a "JeOS" installation in a "desktop" media and having the same result).

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
---
 data/os/ubuntu.com/ubuntu-18.04.xml.in | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/data/os/ubuntu.com/ubuntu-18.04.xml.in b/data/os/ubuntu.com/ubuntu-18.04.xml.in
index a39fe5f..b8b94ea 100644
--- a/data/os/ubuntu.com/ubuntu-18.04.xml.in
+++ b/data/os/ubuntu.com/ubuntu-18.04.xml.in
@@ -38,6 +38,10 @@
       </iso>
       <kernel>install/vmlinuz</kernel>
       <initrd>install/initrd.gz</initrd>
+      <installer>
+        <script id='http://ubuntu.com/ubuntu/preseed/jeos'/>
+        <script id='http://ubuntu.com/ubuntu/preseed/desktop'/>
+      </installer>
     </media>
     <media arch="x86_64" live="true">
       <url>http://releases.ubuntu.com/releases/bionic/ubuntu-18.04.2-desktop-amd64.iso</url>
@@ -46,6 +50,9 @@
       </iso>
       <kernel>casper/vmlinuz</kernel>
       <initrd>casper/initrd.lz</initrd>
+      <installer>
+        <script id='http://ubuntu.com/ubuntu/preseed/desktop'/>
+      </installer>
     </media>
     <media arch="aarch64">
       <url>http://cdimage.ubuntu.com/releases/18.04/release/ubuntu-18.04.2-server-arm64.iso</url>
@@ -82,10 +89,5 @@
       <kernel>current/images/netboot/ubuntu-installer/amd64/linux</kernel>
       <initrd>current/images/netboot/ubuntu-installer/amd64/initrd.gz</initrd>
     </tree>
-
-    <installer>
-      <script id='http://ubuntu.com/ubuntu/preseed/jeos'/>
-      <script id='http://ubuntu.com/ubuntu/preseed/desktop'/>
-    </installer>
   </os>
 </libosinfo>
-- 
2.20.1




More information about the Libosinfo mailing list