From 7901631f1829d757753675d24edcb588eb85c2a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Piotrowski?= Date: Tue, 4 Jan 2022 16:10:35 +0100 Subject: [PATCH] Use dbus-run-session to spawn nested flatpak-builder --- master/buildbot/flathub_master.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/master/buildbot/flathub_master.py b/master/buildbot/flathub_master.py index c7386611df..8f6c493d48 100644 --- a/master/buildbot/flathub_master.py +++ b/master/buildbot/flathub_master.py @@ -956,7 +956,7 @@ def run(self): util.Interpolate('--sandbox --delete-build-dirs --user ' + ' '.join(fb_deps_args) + ' --extra-sources=%(prop:builddir)s/../downloads '), util.Property('flathub_subject')] else: - command = ['flatpak', 'run', 'org.flatpak.Builder', '-v', '--force-clean', '--sandbox', '--delete-build-dirs', + command = ['dbus-run-session', 'flatpak', 'run', 'org.flatpak.Builder', '-v', '--force-clean', '--sandbox', '--delete-build-dirs', '--user', fb_deps_args, util.Property('extra_fb_args'), '--mirror-screenshots-url=https://dl.flathub.org/repo/screenshots', '--repo', 'repo',