[gnome-build-meta/valentindavid/osinfodb: 2/2] Add osinfo db for GNOME Boxes
- From: Jordan Petridis <jpetridis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/valentindavid/osinfodb: 2/2] Add osinfo db for GNOME Boxes
- Date: Sat, 29 Aug 2020 12:25:44 +0000 (UTC)
commit 8fe13ec75c614a87d96a0ee62bd9c57f2f4b997c
Author: Valentin David <valentin david codethink co uk>
Date: Wed Aug 26 18:02:45 2020 +0200
Add osinfo db for GNOME Boxes
This helps to run other images than GNOME OS.
Also put gnome.org images to the top of recommended images.
elements/core-deps/osinfo-db.bst | 12 ++++++++++++
elements/core/gnome-boxes.bst | 3 +++
files/gnome-boxes/re-order-recommended.patch | 18 ++++++++++++++++++
3 files changed, 33 insertions(+)
---
diff --git a/elements/core-deps/osinfo-db.bst b/elements/core-deps/osinfo-db.bst
new file mode 100644
index 00000000..d08fce61
--- /dev/null
+++ b/elements/core-deps/osinfo-db.bst
@@ -0,0 +1,12 @@
+kind: manual
+
+sources:
+- kind: remote
+ url: https://releases.pagure.org/libosinfo/osinfo-db-20200813.tar.xz
+
+build-depends:
+- core-deps/osinfo-db-tools.bst
+
+config:
+ install-commands:
+ - osinfo-db-import --root '%{install-root}' --dir '%{datadir}/osinfo' osinfo-db-*.tar.xz
diff --git a/elements/core/gnome-boxes.bst b/elements/core/gnome-boxes.bst
index d0b5fe87..f575fe62 100644
--- a/elements/core/gnome-boxes.bst
+++ b/elements/core/gnome-boxes.bst
@@ -11,6 +11,8 @@ sources:
subprojects/libovf-glib:
checkout: true
url: gitlab_gnome_org:felipeborges/libovf-glib.git
+- kind: patch
+ path: files/gnome-boxes/re-order-recommended.patch
build-depends:
- sdk/vala.bst
@@ -23,6 +25,7 @@ depends:
- core-deps/libhandy-0.bst
- core-deps/libosinfo.bst
- core-deps/libvirt-glib.bst
+- core-deps/osinfo-db.bst
- core-deps/spice-gtk.bst
- core-deps/tracker-2.bst
- core-deps/tracker-miners-2.bst
diff --git a/files/gnome-boxes/re-order-recommended.patch b/files/gnome-boxes/re-order-recommended.patch
new file mode 100644
index 00000000..b8253363
--- /dev/null
+++ b/files/gnome-boxes/re-order-recommended.patch
@@ -0,0 +1,18 @@
+diff --git a/data/recommended-downloads.xml b/data/recommended-downloads.xml
+index 31d8546b..4ba1edd8 100644
+--- a/data/recommended-downloads.xml
++++ b/data/recommended-downloads.xml
+@@ -9,6 +9,7 @@
+ available.
+ -->
+ <list>
++ <os_id>http://gnome.org/gnome/nightly</os_id>
+ <os_id>http://redhat.com/rhel/8.2</os_id>
+ <os_id>http://fedoraproject.org/fedora/32</os_id>
+ <os_id>http://fedoraproject.org/silverblue/32</os_id>
+@@ -16,5 +17,4 @@
+ <os_id>http://opensuse.org/opensuse/15.1</os_id>
+ <os_id>http://debian.org/debian/10</os_id>
+ <os_id>http://endlessos.com/eos/3.7</os_id>
+- <os_id>http://gnome.org/gnome/nightly</os_id>
+ </list>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]