Build the flatpak as user, not system.

This commit is contained in:
Matthieu Gautier 2018-11-27 10:11:31 +01:00
parent feec272d1f
commit a18c28b168
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ class FlatpakBuilder:
def build(self):
log = pj(self.platform.buildEnv.log_dir, 'cmd_build_flatpak.log')
context = Context('build', log, False)
command = "flatpak-builder --ccache --force-clean --repo=repo builddir manifest.json"
command = "flatpak-builder --user --ccache --force-clean --repo=repo builddir manifest.json"
try:
run_command(command, self.platform.buildEnv.build_dir, context, self.platform.buildEnv)
context._finalise()