我正在尝试在无法访问 FUSE 的环境中使用 flatpak-builder 构建 Flatpak 包。这会导致以下问题:
Initializing build dir
Committing stage init to cache
Starting build of com.example.TestApp
fuse: device not found, try 'modprobe fuse' first
========================================================================
Building module poetry-deps in /opt/atlassian/pipelines/agent/build/.flatpak-builder/build/poetry-deps-1
========================================================================
Running: pip3 install --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST} altgraph attrdict3 bidict certifi charset-normalizer contourpy cycler fonttools idna importlib-resources kiwisolver macholib matplotlib mypy mypy-extensions numpy packaging pefile pillow pyinstaller pyinstaller-hooks-contrib pyparsing pyserial python-dateutil python-vxi11 pyvisa pyvisa-py pywin32-ctypes readerwriterlock requests scipy setuptools six tomli types-pyserial types-wxpython typing-extensions urllib3 watchdog wxpython wxPython wxPython wxPython wxPython zipp
error: Build directory /opt/atlassian/pipelines/agent/build/.flatpak-builder/rofiles/rofiles-WlL1EH not initialized, use flatpak build-init
Error: module poetry-deps: Child process exited with code 1
有什么办法可以解决这个问题吗?无法访问 FUSE,因为它是我无法控制的硬件上的有限环境。
您可以通过向 flatpak-builder 提供参数来解决此问题
--disable-rofiles-fuse
。例如: