[PATCH] Add ReactOS

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

 



They're currently rapidly producing releases versioned '0.*'. The images don't
contain anything to distinguish the branches or versions.
---
 data/oses/Makefile.am                      |  1 +
 data/oses/reactos.xml.in                   | 45 ++++++++++++++++++++++++++++++
 test/isodata/reactos/reactos0/reactos0.txt | 29 +++++++++++++++++++
 test/test-isodetect.c                      |  7 +++++
 4 files changed, 82 insertions(+)
 create mode 100644 data/oses/reactos.xml.in
 create mode 100644 test/isodata/reactos/reactos0/reactos0.txt

diff --git a/data/oses/Makefile.am b/data/oses/Makefile.am
index e1fb6fb..96ea98b 100644
--- a/data/oses/Makefile.am
+++ b/data/oses/Makefile.am
@@ -16,6 +16,7 @@ database_in_files =	\
 	macos.xml.in    \
 	openbsd.xml.in  \
 	opensuse.xml.in \
+	reactos.xml.in  \
 	rhl.xml.in      \
 	rhel.xml.in     \
 	solaris.xml.in  \
diff --git a/data/oses/reactos.xml.in b/data/oses/reactos.xml.in
new file mode 100644
index 0000000..ccb3104
--- /dev/null
+++ b/data/oses/reactos.xml.in
@@ -0,0 +1,45 @@
+<libosinfo version="0.0.1">
+
+  <os id="https://reactos.org/";>
+    <short-id>reactos0</short-id>
+    <name>ReactOS</name>
+    <version>0</version>
+    <vendor>ReactOS Foundation</vendor>
+    <family>winnt</family>
+    <distro>win</distro>
+
+    <devices>
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/10ec/8029"/> <!-- ne2k_pci network -->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/8086/2415"/> <!-- AC97 -->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1234/1111"/> <!-- VGA -->
+    </devices>
+
+    <media arch="i686">
+      <iso>
+          <volume-id>REACTOS</volume-id>
+      </iso>
+    </media>
+
+    <resources arch="i686">
+      <minimum>
+        <cpu>133000000</cpu>
+        <n-cpus>1</n-cpus>
+        <ram>33554432</ram>
+        <storage>335544320</storage>
+      </minimum>
+
+      <recommended>
+        <cpu>350000000</cpu>
+        <ram>100663296</ram>
+        <storage>1073741824</storage>
+      </recommended>
+    </resources>
+
+    <installer>
+      <script id='http://reactos.org/scripts/rhel/jeos'/>
+      <script id='http://reactos.org/scripts/rhel/desktop'/>
+    </installer>
+
+  </os>
+
+</libosinfo>
diff --git a/test/isodata/reactos/reactos0/reactos0.txt b/test/isodata/reactos/reactos0/reactos0.txt
new file mode 100644
index 0000000..b85ea55
--- /dev/null
+++ b/test/isodata/reactos/reactos0/reactos0.txt
@@ -0,0 +1,29 @@
+CD-ROM is in ISO 9660 format
+System id: 
+Volume id: REACTOS
+Volume set id: 
+Publisher id: 
+Data preparer id: 
+Application id: 
+Copyright File id: 
+Abstract File id: 
+Bibliographic File id: 
+Volume set size is: 1
+Volume set sequence number is: 1
+Logical block size is: 2048
+Volume size is: 37302
+El Torito VD version 1 found, boot catalog is in sector 20
+Joliet with UCS level 3 found
+NO Rock Ridge present
+Eltorito validation header:
+    Hid 1
+    Arch 0 (x86)
+    ID 'ReactOS Foundation'
+    Key 55 AA
+    Eltorito defaultboot header:
+        Bootid 88 (bootable)
+        Boot media 0 (No Emulation Boot)
+        Load segment 0
+        Sys type 0
+        Nsect 4
+        Bootoff 15 21
diff --git a/test/test-isodetect.c b/test/test-isodetect.c
index 5bd211a..2a3c949 100644
--- a/test/test-isodetect.c
+++ b/test/test-isodetect.c
@@ -408,6 +408,12 @@ START_TEST(test_mageia)
 }
 END_TEST
 
+START_TEST(test_reactos)
+{
+    test_one("reactos");
+}
+END_TEST
+
 static Suite *
 list_suite(void)
 {
@@ -426,6 +432,7 @@ list_suite(void)
     tcase_add_test(tc, test_gnome);
     tcase_add_test(tc, test_altlinux);
     tcase_add_test(tc, test_mageia);
+    tcase_add_test(tc, test_reactos);
     suite_add_tcase(s, tc);
     return s;
 }
-- 
2.1.0

_______________________________________________
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