On Mon, Jun 11, 2018 at 10:22 AM Fabiano Fidêncio <fabiano@xxxxxxxxxxxx> 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! _______________________________________________ Libosinfo mailing list Libosinfo@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libosinfo