Re: Fedora 28

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 11, 2018 at 12:57 AM, Matthias Clasen <mclasen@xxxxxxxxxx> wrote:
> From 060fb63cceb4dab2dfaa8ebfaa7b826529c6cdee Mon Sep 17 00:00:00 2001
> From: Matthias Clasen <mclasen@xxxxxxxxxx>
> Date: Thu, 10 May 2018 17:54:34 -0400
> Subject: [PATCH] Add Fedora 28
>
> This adds all the variants of Fedora 28.
> ---
>  data/os/fedoraproject.org/fedora-28.xml.in | 129 +++++++++++++++++++++
>  1 file changed, 129 insertions(+)
>  create mode 100644 data/os/fedoraproject.org/fedora-28.xml.in
>
> diff --git a/data/os/fedoraproject.org/fedora-28.xml.in
> b/data/os/fedoraproject.org/fedora-28.xml.in
> new file mode 100644
> index 0000000..761f3df
> --- /dev/null
> +++ b/data/os/fedoraproject.org/fedora-28.xml.in
> @@ -0,0 +1,129 @@
> +<libosinfo version="0.0.1">
> +<!-- Licensed under the GNU General Public License version 2 or later.
> +     See http://www.gnu.org/licenses/ for a copy of the license text -->
> +  <os id="http://fedoraproject.org/fedora/28";>
> +    <short-id>fedora28</short-id>
> +    <_name>Fedora 28</_name>
> +    <version>28</version>
> +    <_vendor>Fedora Project</_vendor>
> +    <family>linux</family>
> +    <distro>fedora</distro>
> +    <upgrades id="http://fedoraproject.org/fedora/27"/>
> +    <derives-from id="http://fedoraproject.org/fedora/27"/>
> +
> +    <release-date>2018-05-01</release-date>
> +
> +    <variant id="workstation">
> +      <_name>Fedora 28 Workstation</_name>
> +    </variant>
> +    <variant id="workstation-netinst">
> +      <_name>Fedora 28 Workstation</_name>
> +    </variant>
> +    <variant id="workstation-atomic">
> +      <_name>Fedora 28 Workstation</_name>
> +    </variant>
> +    <variant id="server">
> +      <_name>Fedora 28 Server</_name>
> +    </variant>
> +    <variant id="server-netinst">
> +      <_name>Fedora 28 Server</_name>
> +    </variant>
> +
> +    <!-- Workstation -->
> +
> +    <!-- Live -->
> +    <media arch="x86_64" live="true">
> +      <variant id="workstation"/>
> +
> <url>https://download.fedoraproject.org/pub/fedora/linux/releases/28/Workstation/x86_64/iso/Fedora-Workstation-Live-x86_64-28-1.1.iso</url>
> +      <iso>
> +        <volume-id>Fedora-WS-Live-28.*</volume-id>
> +        <system-id>LINUX</system-id>
> +      </iso>
> +      <kernel>isolinux/vmlinuz</kernel>
> +      <initrd>isolinux/initrd.img</initrd>
> +    </media>
> +
> +    <!-- Atomic -->
> +    <media arch="x86_64">
> +      <variant id="workstation-atomic"/>
> +
> <url>https://download.fedoraproject.org/pub/fedora/linux/releases/28/AtomicWorkstation/x86_64/iso/Fedora-WorkstationOstree-ostree-x86_64-28-1.1.iso</url>

While trying to download the ISOs, I've noticed that this URL is wrong.
https://download.fedoraproject.org/pub/fedora/linux/releases/28/AtomicWorkstation/x86_64/iso/Fedora-AtomicWorkstation-ostree-x86_64-28-1.1.iso
is the correct one.

> +      <iso>
> +        <volume-id>Fedora-WSOstree-ostree-x86_64-28</volume-id>

After having access to the isodata I've noticed that the volume-id is wrong.
Fedora-AW-ostree-x86_64-28 is the correct one

> +        <system-id>LINUX</system-id>
> +      </iso>
> +      <kernel>isolinux/vmlinuz</kernel>
> +      <initrd>isolinux/initrd.img</initrd>
> +    </media>
> +
> +    <!-- Network Installer !-->
> +    <media arch="x86_64">
> +      <variant id="workstation-netinst"/>
> +
> <url>https://download.fedoraproject.org/pub/fedora/linux/releases/28/Workstation/x86_64/iso/Fedora-Workstation-netinst-x86_64-28-1.1.iso</url>
> +      <iso>
> +        <volume-id>Fedora-WS-dvd-x86_64-28</volume-id>
> +        <system-id>LINUX</system-id>
> +      </iso>
> +      <kernel>isolinux/vmlinuz</kernel>
> +      <initrd>isolinux/initrd.img</initrd>
> +    </media>
> +
> +    <!-- Server -->
> +
> +    <!-- DVD -->
> +    <media arch="x86_64">
> +      <variant id="server"/>
> +
> <url>https://download.fedoraproject.org/pub/fedora/linux/releases/28/Server/x86_64/iso/Fedora-Server-dvd-x86_64-28-1.1.iso</url>
> +      <iso>
> +        <volume-id>Fedora-S-dvd-x86_64-28</volume-id>
> +        <system-id>LINUX</system-id>
> +        <volume-size>2490122240</volume-size>

After having access to the isodata, I've noticed that the volume-size is wrong.
2903031808 is the correct one.

> +      </iso>
> +      <kernel>isolinux/vmlinuz</kernel>
> +      <initrd>isolinux/initrd.img</initrd>
> +    </media>
> +
> +    <!-- Network Installer !-->
> +    <media arch="x86_64">
> +      <variant id="server-netinst"/>
> +
> <url>https://download.fedoraproject.org/pub/fedora/linux/releases/28/Server/x86_64/iso/Fedora-Server-netinst-x86_64-28-1.1.iso</url>
> +      <iso>
> +        <volume-id>Fedora-S-dvd-x86_64-28</volume-id>
> +        <system-id>LINUX</system-id>
> +        <volume-size>535017472</volume-size>

After having access to the isodata, I've noticed that the volume-size is wrong.
610408448 is the correct one.

> +      </iso>
> +      <kernel>isolinux/vmlinuz</kernel>
> +      <initrd>isolinux/initrd.img</initrd>
> +    </media>
> +
> +    <tree arch="x86_64">
> +
> <url>https://download.fedoraproject.org/pub/fedora/linux/releases/28/Server/x86_64/os/</url>
> +      <variant id="server"/>
> +      <treeinfo>
> +        <family>Fedora</family>
> +        <version>28</version>
> +        <arch>x86_64</arch>
> +      </treeinfo>
> +    </tree>
> +
> +    <!-- No install media or tree is provided for Fedora 28 Cloud variant
> -->
> +
> +    <resources arch="all">
> +      <minimum>
> +        <n-cpus>1</n-cpus>
> +        <cpu>1000000000</cpu>
> +        <ram>1073741824</ram>
> +        <storage>10737418240</storage>
> +      </minimum>
> +
> +      <recommended>
> +        <ram>2147483648</ram>
> +        <storage>21474836480</storage>
> +      </recommended>
> +    </resources>
> +
> +    <installer>
> +      <script id='http://fedoraproject.org/fedora/kickstart/jeos'/>
> +      <script id='http://fedoraproject.org/fedora/kickstart/desktop'/>
> +    </installer>
> +  </os>
> +</libosinfo>
> --
> 2.17.0
>
>
> _______________________________________________
> Libosinfo mailing list
> Libosinfo@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/libosinfo
>

Also, when updating Fedora data would be really nice to also bump the
fedora-unknown.xml.in.

I've fixed all of issues before pushing the patch and I'll submit the
fedora-unknown.xml.in change + fedora isoinfo.

Thanks for the contribution!
-- 
Fabiano Fidêncio

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux