mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-24 15:26:04 +00:00
fix(nativeguest): load glibc locales and iconv modules without proot (#3096)
* fix(nativeguest): load glibc locales and iconv modules without proot glibc opens its locale files and gconv modules with its own internal open(), which the hook never sees, so every program ran in the C locale and iconv knew only built-in charsets: Qt warned it could not switch to UTF-8, setlocale() failed for C.UTF-8 and the app's language, and iconv -t latin1 was unsupported. The hook now points LOCPATH and GCONV_PATH at the rootfs; droiddeck-fex keeps x86 guests on their own gconv modules. * test(nativeguest): the locale default test ignores the developer's own paths
This commit is contained in:
1 parent
59e98afae7
commit
ec31c9e2b6
4 files changed
+33
-1
No files matched your search
@@ -670,6 +670,8 @@ def guest_environment(fex, env):
|
||||
result.setdefault("FEX_SILENTLOG", "0")
|
||||
result.setdefault("FEX_OUTPUTLOG", "stderr")
|
||||
result.pop("GLIBC_TUNABLES", None)
|
||||
if "aarch64" in result.get("GCONV_PATH", ""):
|
||||
result["GCONV_PATH"] = ""
|
||||
result.setdefault("GC_DISABLE_INCREMENTAL", "1")
|
||||
if fex["portable"]:
|
||||
result["FEX_PORTABLE"] = "1"
|
||||
|
||||
Reference in new issue
Block a user