[gnome-build-meta/alatiera/setup-nightly: 2/2] vm: simplify the flathub config setup
- From: Jordan Petridis <jpetridis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/alatiera/setup-nightly: 2/2] vm: simplify the flathub config setup
- Date: Thu, 30 Jul 2020 23:36:11 +0000 (UTC)
commit 7eaf4bd16350d9c1087a6f87d71535291e1f35a1
Author: Jordan Petridis <jordan centricular com>
Date: Fri Jul 31 02:35:09 2020 +0300
vm: simplify the flathub config setup
elements/vm/flathub-config.bst | 10 +++-------
files/vm/flathub-config/add-flathub.preset | 1 -
files/vm/flathub-config/add-flathub.service | 12 ------------
3 files changed, 3 insertions(+), 20 deletions(-)
---
diff --git a/elements/vm/flathub-config.bst b/elements/vm/flathub-config.bst
index 25d2036b..ba9067c2 100644
--- a/elements/vm/flathub-config.bst
+++ b/elements/vm/flathub-config.bst
@@ -3,15 +3,11 @@ kind: manual
depends:
- freedesktop-sdk.bst:bootstrap-import.bst
-runtime-depends:
-- core-deps/flatpak.bst
-
config:
install-commands:
- |
- install -Dm644 -t "%{install-root}%{indep-libdir}/systemd/system" add-flathub.service
- install -Dm644 -t "%{install-root}%{indep-libdir}/systemd/system-preset" add-flathub.preset
+ install -Dm644 -t "%{install-root}/etc/flatpak/remotes.d/" flathub.flatpakrepo
sources:
-- kind: local
- path: files/vm/flathub-config
+- kind: remote
+ url: 'https://flathub.org/repo/flathub.flatpakrepo'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]