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

Fabiano Fidêncio fidencio at redhat.com
Wed Feb 20 12:51:00 UTC 2019


On Tue, 2019-02-19 at 17:27 +0100, Fabiano Fidêncio wrote:
> 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-18.04.xml.in | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/data/os/ubuntu.com/ubuntu-18.04.xml.in
> b/data/os/ubuntu.com/ubuntu-18.04.xml.in
> index 296fd7a..e5833a6 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
> >

This patch will need the follow fixup:

Refs: v20190218-34-g6bc4c07
Author:     Fabiano Fidêncio <fidencio at redhat.com>
AuthorDate: Wed Feb 20 11:48:33 2019 +0100
Commit:     Fabiano Fidêncio <fidencio at redhat.com>
CommitDate: Wed Feb 20 13:49:25 2019 +0100

    fixup! ubuntu18.04: Copy installer under medias
---
 data/os/ubuntu.com/ubuntu-18.04.xml.in | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/data/os/ubuntu.com/ubuntu-18.04.xml.in
b/data/os/ubuntu.com/ubuntu-18.04.xml.in
index e5833a6..e1cd6b2 100644
--- a/data/os/ubuntu.com/ubuntu-18.04.xml.in
+++ b/data/os/ubuntu.com/ubuntu-18.04.xml.in
@@ -38,10 +38,6 @@
       </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
>




More information about the Libosinfo mailing list