forked from Mirrors/flatpak-builder
Set FLATPAK_BUILDER_BUILDDIR in env when building module
This is set to the /run/build/$module directory name so that you can easily refer to it in the build. Fixes https://github.com/flatpak/flatpak-builder/issues/172 Closes: #180 Approved by: alexlarssonauto
parent
7cfdec0538
commit
bfd599cd4e
|
@ -1162,6 +1162,7 @@ setup_build_args (GFile *app_dir,
|
|||
else
|
||||
builddir = "/run/build/";
|
||||
|
||||
g_ptr_array_add (args, g_strdup_printf ("--env=FLATPAK_BUILDER_BUILDDIR=%s%s", builddir, module_name));
|
||||
g_ptr_array_add (args, g_strdup ("--nofilesystem=host"));
|
||||
|
||||
/* We mount the canonical location, because bind-mounts of symlinks don't really work */
|
||||
|
|
Loading…
Reference in New Issue