Better flatpak command options.

This mainly add the option `--nointeractive` when installing the sdk.
This commit is contained in:
Matthieu Gautier
2022-03-10 15:43:02 +01:00
parent af3cff6aeb
commit 8b9b74d577
2 changed files with 2 additions and 2 deletions

View File

@ -223,7 +223,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 --user --ccache --force-clean --repo=repo builddir {id}.json"
command = "flatpak-builder --user --ccache --force-clean --keep-build-dirs --disable-rofiles-fuse --repo=repo builddir {id}.json"
command = command.format(id = MANIFEST['app-id'])
try:
run_command(command, self.platform.buildEnv.build_dir, context, env=self.platform.get_env())