From d952dd8763c12974a765563a490f17d86505edb3 Mon Sep 17 00:00:00 2001 From: Owen W. Taylor Date: Mar 19 2019 16:03:51 +0000 Subject: installer.py: call flatpak build-update-repo when creating the local repo flatpak remote-add now requires a summary file to be present when adding a repo, not just when first installing from it. --- diff --git a/flatpak_module_tools/installer.py b/flatpak_module_tools/installer.py index 8b89baf..bc53df2 100644 --- a/flatpak_module_tools/installer.py +++ b/flatpak_module_tools/installer.py @@ -112,6 +112,7 @@ class Installer(object): os.makedirs(parent) check_call(['ostree', 'init', '--mode=archive-z2', '--repo', self.repodir]) + check_call(['flatpak', 'build-update-repo', self.repodir]) output = subprocess.check_output(['flatpak', 'remotes', '--user'], encoding="UTF-8") if not re.search('^flatpak-module-tools\s', output, re.MULTILINE):