Commit 59554ec
committed
builder-module: Change the default wrap-mode policy of meson
By default network access inside the build sandbox is
disabled, however meson defaults into trying to initialize
fallbacks and attempt to download them, returning a
potentially misleading error message.
Setting wrap-mode to nodownload will instruct meson to
not try to use the network to fetch any resources and
only the pre-existing checkouts will be taken into account.
This matches both the default network permission and the
design of flatpak-builder for bundling and staging all
the sources ahead of time.
Side effect is that it makes it slightly harder for
projects to use the network access at build time, is
they also have to edit their meson setup arguments
to change the wrap-mode.1 parent d2abdda commit 59554ec
1 file changed
+16
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1780 | 1780 | | |
1781 | 1781 | | |
1782 | 1782 | | |
| 1783 | + | |
| 1784 | + | |
| 1785 | + | |
| 1786 | + | |
| 1787 | + | |
| 1788 | + | |
| 1789 | + | |
| 1790 | + | |
| 1791 | + | |
| 1792 | + | |
| 1793 | + | |
| 1794 | + | |
| 1795 | + | |
| 1796 | + | |
| 1797 | + | |
| 1798 | + | |
1783 | 1799 | | |
1784 | 1800 | | |
1785 | 1801 | | |
| |||
0 commit comments