[Libosinfo] [PATCH osinfo-db] fedora: add Fedora 27 info

Fabiano Fidêncio fabiano at fidencio.org
Sun Mar 11 20:12:56 UTC 2018


On Sun, Mar 11, 2018 at 6:58 PM, Fabiano Fidêncio <fabiano at fidencio.org> wrote:
> On Wed, Nov 22, 2017 at 10:47 AM, Pierre-Alain TORET
> <pierre-alain.toret at protonmail.com> wrote:
>> Signed-off-by: Pierre-Alain TORET <pierre-alain.toret at protonmail.com>
>> ---
>>  data/os/fedoraproject.org/fedora-27.xml.in | 114 +++++++++++++++++++++++++++++
>>  1 file changed, 114 insertions(+)
>>  create mode 100644 data/os/fedoraproject.org/fedora-27.xml.in
>>
>> diff --git a/data/os/fedoraproject.org/fedora-27.xml.in b/data/os/fedoraproject.org/fedora-27.xml.in
>> new file mode 100644
>> index 0000000..53881ca
>> --- /dev/null
>> +++ b/data/os/fedoraproject.org/fedora-27.xml.in
>> @@ -0,0 +1,114 @@
>> +<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/27">
>> +    <short-id>fedora27</short-id>
>> +    <_name>Fedora 27</_name>
>> +    <version>27</version>
>> +    <_vendor>Fedora Project</_vendor>
>> +    <family>linux</family>
>> +    <distro>fedora</distro>
>> +    <upgrades id="http://fedoraproject.org/fedora/26"/>
>> +    <derives-from id="http://fedoraproject.org/fedora/26"/>
>> +
>> +    <release-date>2017-11-14</release-date>
>> +
>> +    <variant id="workstation">
>> +      <_name>Fedora 27 Workstation</_name>
>> +    </variant>
>> +    <variant id="workstation-netinst">
>> +      <_name>Fedora 27 Workstation</_name>
>> +    </variant>
>> +    <variant id="server">
>> +      <_name>Fedora 27 Server</_name>
>> +    </variant>
>> +    <variant id="server-netinst">
>> +      <_name>Fedora 27 Server</_name>
>> +    </variant>
>> +
>> +    <!-- Workstation -->
>> +
>> +    <!-- Live -->
>> +    <media arch="x86_64" live="true">
>> +      <variant id="workstation"/>
>> +      <url>https://download.fedoraproject.org/pub/fedora/linux/releases/27/Workstation/x86_64/iso/Fedora-Workstation-Live-x86_64-27-1.6.iso</url>
>> +      <iso>
>> +        <volume-id>Fedora-WS-Live-27.*</volume-id>
>> +        <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/27/Workstation/x86_64/iso/Fedora-Workstation-netinst-x86_64-27-1.6.iso</url>
>> +      <iso>
>> +        <volume-id>Fedora-WS-dvd-x86_64-26</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/27/Server/x86_64/iso/Fedora-Server-dvd-x86_64-27-1.6.iso</url>
>> +      <iso>
>> +        <volume-id>Fedora-S-dvd-x86_64-27</volume-id>
>> +        <system-id>LINUX</system-id>
>> +        <volume-size>2490368000</volume-size>
>> +      </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/27/Server/x86_64/iso/Fedora-Server-netinst-x86_64-27-1.6.iso</url>
>> +      <iso>
>> +        <volume-id>Fedora-S-dvd-x86_64-27</volume-id>
>> +        <system-id>LINUX</system-id>
>> +        <volume-size>535822336</volume-size>
>> +      </iso>
>> +      <kernel>isolinux/vmlinuz</kernel>
>> +      <initrd>isolinux/initrd.img</initrd>
>> +    </media>
>> +
>> +    <tree arch="x86_64">
>> +      <url>https://download.fedoraproject.org/pub/fedora/linux/releases/27/Server/x86_64/os/</url>
>> +      <variant id="server"/>
>> +      <treeinfo>
>> +        <family>Fedora</family>
>> +        <version>27</version>
>> +        <arch>x86_64</arch>
>> +      </treeinfo>
>> +    </tree>
>> +
>> +    <!-- No install media or tree is provided for Fedora 27 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.15.0
>>
>> _______________________________________________
>> Libosinfo mailing list
>> Libosinfo at redhat.com
>> https://www.redhat.com/mailman/listinfo/libosinfo
>
> Ack both patches, they will be pushed Today with a few others!
>
> --
> Fabiano Fidêncio

I ended up pushing two follow up patches ...

One fixing a link:

--- a/data/os/fedoraproject.org/fedora-27.xml.in
+++ b/data/os/fedoraproject.org/fedora-27.xml.in
@@ -45,7 +45,7 @@
       <variant id="workstation-netinst"/>
       <url>https://download.fedoraproject.org/pub/fedora/linux/releases/27/Workstation/x86_64/is
       <iso>
-        <volume-id>Fedora-WS-dvd-x86_64-26</volume-id>
+        <volume-id>Fedora-WS-dvd-x86_64-27</volume-id>
         <system-id>LINUX</system-id>
       </iso>
       <kernel>isolinux/vmlinuz</kernel>

And the other one fixing the volume-size of the Server medias:

--- a/data/os/fedoraproject.org/fedora-27.xml.in
+++ b/data/os/fedoraproject.org/fedora-27.xml.in
@@ -61,7 +61,7 @@
       <iso>
         <volume-id>Fedora-S-dvd-x86_64-27</volume-id>
         <system-id>LINUX</system-id>
-        <volume-size>2490368000</volume-size>
+        <volume-size>2490122240</volume-size>
       </iso>
       <kernel>isolinux/vmlinuz</kernel>
       <initrd>isolinux/initrd.img</initrd>
@@ -74,7 +74,7 @@
       <iso>
         <volume-id>Fedora-S-dvd-x86_64-27</volume-id>
         <system-id>LINUX</system-id>
-        <volume-size>535822336</volume-size>
+        <volume-size>535017472</volume-size>
       </iso>
       <kernel>isolinux/vmlinuz</kernel>
       <initrd>isolinux/initrd.img</initrd>

-- 
Fabiano Fidêncio




More information about the Libosinfo mailing list