[virt-tools-list] [PATCH v2] Add alpine linux 3.5, 3.6 and 3.7

Natanael Copa ncopa at alpinelinux.org
Wed Nov 29 12:17:15 UTC 2017


Signed-off-by: Natanael Copa <ncopa at alpinelinux.org>
---
Changes since v1:
 - add minimum and recommended memory/disk
 - add alpine 3.7 release
 - fix so release candidate iso images are detected (eg 3.7.0_rc2)

 data/os/alpinelinux.org/alpinelinux-3.5.xml.in | 37 ++++++++++++++++++++++++
 data/os/alpinelinux.org/alpinelinux-3.6.xml.in | 40 ++++++++++++++++++++++++++
 data/os/alpinelinux.org/alpinelinux-3.7.xml.in | 40 ++++++++++++++++++++++++++
 3 files changed, 117 insertions(+)
 create mode 100644 data/os/alpinelinux.org/alpinelinux-3.5.xml.in
 create mode 100644 data/os/alpinelinux.org/alpinelinux-3.6.xml.in
 create mode 100644 data/os/alpinelinux.org/alpinelinux-3.7.xml.in

diff --git a/data/os/alpinelinux.org/alpinelinux-3.5.xml.in b/data/os/alpinelinux.org/alpinelinux-3.5.xml.in
new file mode 100644
index 0000000..c1f1f12
--- /dev/null
+++ b/data/os/alpinelinux.org/alpinelinux-3.5.xml.in
@@ -0,0 +1,37 @@
+<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://alpinelinux.org/alpinelinux/3.5">
+    <short-id>alpinelinux3.5</short-id>
+    <_name>Alpine Linux 3.5</_name>
+    <version>3.5</version>
+    <_vendor>Alpine Linux Project</_vendor>
+    <family>linux</family>
+    <distro>alpinelinux</distro>
+
+    <resources arch="all">
+      <minimum>
+        <cpu>1000000000</cpu>
+	<n-cpus>1</n-cpus>
+	<ram>134217728</ram>
+	<storage>1073741824</storage>
+      </minimum>
+      <recommended>
+        <cpu>1000000000</cpu>
+	<n-cpus>1</n-cpus>
+	<ram>805306368</ram>
+	<storage>4294967296</storage>
+      </recommended>
+    </resources>
+    <media arch="i686">
+      <iso>
+        <volume-id>alpine-.* 3.5.\d x86.*</volume-id>
+      </iso>
+    </media>
+    <media arch="x86_64">
+      <iso>
+        <volume-id>alpine-.* 3.5.\d x86_64.*</volume-id>
+      </iso>
+    </media>
+  </os>
+</libosinfo>
diff --git a/data/os/alpinelinux.org/alpinelinux-3.6.xml.in b/data/os/alpinelinux.org/alpinelinux-3.6.xml.in
new file mode 100644
index 0000000..3c531e2
--- /dev/null
+++ b/data/os/alpinelinux.org/alpinelinux-3.6.xml.in
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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://alpinelinux.org/alpinelinux/3.6">
+    <short-id>alpinelinux3.6</short-id>
+    <_name>Alpine Linux 3.6</_name>
+    <version>3.6</version>
+    <_vendor>Alpine Linux Project</_vendor>
+    <family>linux</family>
+    <distro>alpinelinux</distro>
+    <upgrades id="http://alpinelinux.org/alpinelinux/3.5"/>
+    <derives-from id="http://alpinelinux.org/alpinelinux/3.5"/>
+
+    <resources arch="all">
+      <minimum>
+        <cpu>1000000000</cpu>
+	<n-cpus>1</n-cpus>
+	<ram>134217728</ram>
+	<storage>1073741824</storage>
+      </minimum>
+      <recommended>
+        <cpu>1000000000</cpu>
+	<n-cpus>1</n-cpus>
+	<ram>805306368</ram>
+	<storage>4294967296</storage>
+      </recommended>
+    </resources>
+    <media arch="i686">
+      <iso>
+        <volume-id>alpine-.* 3.6.\d.* x86.*</volume-id>
+      </iso>
+    </media>
+    <media arch="x86_64">
+      <iso>
+        <volume-id>alpine-.* 3.6.\d.* x86_64.*</volume-id>
+      </iso>
+    </media>
+  </os>
+</libosinfo>
diff --git a/data/os/alpinelinux.org/alpinelinux-3.7.xml.in b/data/os/alpinelinux.org/alpinelinux-3.7.xml.in
new file mode 100644
index 0000000..65034ec
--- /dev/null
+++ b/data/os/alpinelinux.org/alpinelinux-3.7.xml.in
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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://alpinelinux.org/alpinelinux/3.7">
+    <short-id>alpinelinux3.7</short-id>
+    <_name>Alpine Linux 3.7</_name>
+    <version>3.7</version>
+    <_vendor>Alpine Linux Project</_vendor>
+    <family>linux</family>
+    <distro>alpinelinux</distro>
+    <upgrades id="http://alpinelinux.org/alpinelinux/3.6"/>
+    <derives-from id="http://alpinelinux.org/alpinelinux/3.6"/>
+
+    <resources arch="all">
+      <minimum>
+        <cpu>1000000000</cpu>
+	<n-cpus>1</n-cpus>
+	<ram>134217728</ram>
+	<storage>1073741824</storage>
+      </minimum>
+      <recommended>
+        <cpu>1000000000</cpu>
+	<n-cpus>1</n-cpus>
+	<ram>805306368</ram>
+	<storage>4294967296</storage>
+      </recommended>
+    </resources>
+    <media arch="i686">
+      <iso>
+        <volume-id>alpine-.* 3.7.\d.* x86.*</volume-id>
+      </iso>
+    </media>
+    <media arch="x86_64">
+      <iso>
+        <volume-id>alpine-.* 3.7.\d.* x86_64.*</volume-id>
+      </iso>
+    </media>
+  </os>
+</libosinfo>
-- 
2.15.0




More information about the virt-tools-list mailing list