[Libosinfo] Request for feedback: Differentiate server/desktop ISOs

Felipe Borges felipe10borges at gmail.com
Mon Jun 11 08:28:37 UTC 2018


On Mon, Jun 11, 2018 at 10:22 AM Fabiano Fidêncio <fabiano at fidencio.org> wrote:
> Having it as part of variant doesn't make me happy.
>
> Think about a distro which doesn't have any variant id set but it's
> still desktop (like ubuntu, for instance). By forcing this to be part
> of variant we'd have to:
> - Create the variant that would have exactly the same content as the
> normal ditro;
> - Add a new attribute to variant
>
> While if we have it linked to the media itself as in [0] no additional
> info is required apart from the flavour for those who'll choose to use
> it.
>
> [0]:
>  32     <media arch="i686" flavour="server">
>  33       <url>http://old-releases.ubuntu.com/releases/zesty/ubuntu-17.04-server-i386.iso</url>
>  34       <iso>
>  35         <volume-id>Ubuntu-Server 17.04(.\d)? i386</volume-id>
>  36       </iso>
>  37       <kernel>install/vmlinuz</kernel>
>  38       <initrd>install/initrd.gz</initrd>
>  39     </media>
>
>
> What do you think, Felipe?

Sounds good to me. It would take an extra step to get the <_name> for
the given media, but it sorts the corner case you mentioned (which I
haven't considered).

Works for me.
Thank you!




More information about the Libosinfo mailing list