[Libosinfo] [osinfo-db PATCH v2 23/29] ubuntu16.04: Copy installer under medias

Fabiano Fidêncio fidencio at redhat.com
Tue Feb 19 16:27:49 UTC 2019


Let's copy the installer under the medias as we've provided new APIs on
libosinfo for relying on the media content instead of relying on the OS.

The reasoning behind of that is because not all medias support
installers for both profiles.

Let's also leave the installer-script under the OSes as
osinfo-install-script relies on that.

Last but not least, we're just copying the installer under the medias
which the installer has been tested against.

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

diff --git a/data/os/ubuntu.com/ubuntu-16.04.xml.in b/data/os/ubuntu.com/ubuntu-16.04.xml.in
index 6da1d35..fbccc35 100644
--- a/data/os/ubuntu.com/ubuntu-16.04.xml.in
+++ b/data/os/ubuntu.com/ubuntu-16.04.xml.in
@@ -37,6 +37,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">
       <url>http://releases.ubuntu.com/16.04/ubuntu-16.04.5-server-amd64.iso</url>
@@ -45,6 +49,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="i686" live="true">
       <url>http://releases.ubuntu.com/16.04/ubuntu-16.04.5-desktop-i386.iso</url>
@@ -53,6 +61,9 @@
       </iso>
       <kernel>casper/vmlinuz</kernel>
       <initrd>casper/initrd</initrd>
+      <installer>
+        <script id='http://ubuntu.com/ubuntu/preseed/desktop'/>
+      </installer>
     </media>
     <media arch="x86_64" live="true">
       <url>http://releases.ubuntu.com/16.04/ubuntu-16.04.5-desktop-amd64.iso</url>
@@ -61,6 +72,9 @@
       </iso>
       <kernel>casper/vmlinuz</kernel>
       <initrd>casper/initrd</initrd>
+      <installer>
+        <script id='http://ubuntu.com/ubuntu/preseed/desktop'/>
+      </installer>
     </media>
     <media arch="ppc">
       <url>http://cdimage.ubuntu.com/ubuntu/releases/16.04/release/ubuntu-16.04.5-server-powerpc.iso</url>
-- 
2.20.1




More information about the Libosinfo mailing list