1. Removed debug logging code that was checking for script readability
2. Changed from direct export to echo output for systemd environment
handling
3. Simplified the logic by removing redundant checks since systemd
generators expect echo output
4. The change aligns better with systemd's environment generator
expectations where variables should be echoed rather than exported
directly
refactor: 简化 systemd 生成器中的环境变量处理
1. 移除了检查脚本可读性的调试日志代码
2. 将直接导出改为 echo 输出以适配 systemd 环境处理
3. 通过移除冗余检查简化了逻辑,因为 systemd 生成器期望 echo 输出
4. 此变更更符合 systemd 环境生成器的预期,变量应该通过 echo 输出而非直接
导出
Previously, app-specific patches were identified by matching the patch
filename (without the extension) against the application ID. This
approach was flawed as it caused patch conflicts between different
applications. For example, a patch named `com.app.A.json`, intended
only for `com.app.A`, would be incorrectly applied as a global patch
to `com.app.B`.
This commit introduces a directory-based mechanism to correctly isolate
application-specific patches. All patches for a specific app must now
reside within a subdirectory named after the app ID.
Signed-off-by: reddevillg <reddevillg@gmail.com>
Mounting may fail if the file types differed between the build layer and
host (e.g., regular file vs. symbolic link).
Implemented solution through two approaches
1. Build phase: Proactively remove /etc/localtime and /etc/resolv.conf
from base layer during overlayfs preparation to prevent conflicts
with host.
2. Container configuration: Introduced dedicated buildMountLocalTime
and buildNetworkConf methods to handle timezone and resolv.conf
mounts, with enableSelfAdjustingMount properly managing these cases.
Signed-off-by: reddevillg <reddevillg@gmail.com>
- Add content-based validation for ld.so.conf to detect layer path
changes
- Include configuration sources hash in ld.so.conf for validation
- In PackageManager GenerateCache always generate cache,
tryGenerateCache will skip it if cache directory exists
- use memcpy in sha256 to avoid unaligned visit
This ensures that ld.so.cache is properly regenerated when the
underlying layer configuration changes, preventing stale cache issues.
Signed-off-by: reddevillg <reddevillg@gmail.com>
* i18n: Translate po/en_US.po in pt_BR
93% of minimum 50% translated source file: 'po/en_US.po'
on 'pt_BR'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate po/en_US.po in pt_BR
95% of minimum 50% translated source file: 'po/en_US.po'
on 'pt_BR'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate po/en_US.po in pt_BR
95% of minimum 50% translated source file: 'po/en_US.po'
on 'pt_BR'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate po/en_US.po in pt_BR
100% translated source file: 'po/en_US.po'
on 'pt_BR'.
---------
Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
This change introduces a quoting mechanism (`quoteArg`) that:
1. Encloses each argument in single quotes.
2. Escapes embedded single quotes within an argument (e.g., `it's`
becomes `'it'\''s'`).
This ensures that arguments are passed to the `exec` command
in the entrypoint script as single, intact units, even if they
contain spaces or single quotes.
Signed-off-by: reddevillg <reddevillg@gmail.com>
Added missing return statements after loop.exit() calls in the prune
command
to prevent function execution from continuing after exit is called. This
fixes a crash that occurred when the function continued executing code
after
requesting the event loop to exit, potentially accessing invalid memory.
Updated the exportDir function to rename source files to include a ".linyaps.original" suffix if they are not already named as such, ensuring proper handling during the export process. This change prevents overwriting original files and maintains compatibility with existing export logic.
Changed the size type from int to int64_t in both Builder and UABPackager to ensure proper handling of larger values. Additionally, initialized struct stat variables to improve code clarity and maintainability.
* i18n: Translate po/en_US.po in pl
96% of minimum 50% translated source file: 'po/en_US.po'
on 'pl'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate po/en_US.po in pl
97% of minimum 50% translated source file: 'po/en_US.po'
on 'pl'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate po/en_US.po in pl
98% of minimum 50% translated source file: 'po/en_US.po'
on 'pl'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate po/en_US.po in pl
98% of minimum 50% translated source file: 'po/en_US.po'
on 'pl'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate po/en_US.po in pl
98% of minimum 50% translated source file: 'po/en_US.po'
on 'pl'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate po/en_US.po in pl
99% of minimum 50% translated source file: 'po/en_US.po'
on 'pl'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate po/en_US.po in pl
100% translated source file: 'po/en_US.po'
on 'pl'.
* i18n: Translate po/en_US.po in pl
100% translated source file: 'po/en_US.po'
on 'pl'.
---------
Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
* i18n: Translate po/en_US.po in es
93% of minimum 50% translated source file: 'po/en_US.po'
on 'es'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate po/en_US.po in ca
93% of minimum 50% translated source file: 'po/en_US.po'
on 'ca'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate po/en_US.po in pt_BR
93% of minimum 50% translated source file: 'po/en_US.po'
on 'pt_BR'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate po/en_US.po in fi
93% of minimum 50% translated source file: 'po/en_US.po'
on 'fi'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate po/en_US.po in en_GB
75% of minimum 50% translated source file: 'po/en_US.po'
on 'en_GB'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate po/en_US.po in sq
77% of minimum 50% translated source file: 'po/en_US.po'
on 'sq'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate po/en_US.po in pl
93% of minimum 50% translated source file: 'po/en_US.po'
on 'pl'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate po/en_US.po in uk
93% of minimum 50% translated source file: 'po/en_US.po'
on 'uk'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate po/en_US.po in zh_CN
93% of minimum 50% translated source file: 'po/en_US.po'
on 'zh_CN'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate po/en_US.po in ca
98% of minimum 50% translated source file: 'po/en_US.po'
on 'ca'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate po/en_US.po in ca
100% translated source file: 'po/en_US.po'
on 'ca'.
* i18n: Translate po/en_US.po in fi
95% of minimum 50% translated source file: 'po/en_US.po'
on 'fi'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate po/en_US.po in fi
97% of minimum 50% translated source file: 'po/en_US.po'
on 'fi'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate po/en_US.po in fi
98% of minimum 50% translated source file: 'po/en_US.po'
on 'fi'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate po/en_US.po in fi
100% translated source file: 'po/en_US.po'
on 'fi'.
* i18n: Translate po/en_US.po in zh_CN
94% of minimum 50% translated source file: 'po/en_US.po'
on 'zh_CN'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate po/en_US.po in zh_CN
94% of minimum 50% translated source file: 'po/en_US.po'
on 'zh_CN'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate po/en_US.po in zh_CN
95% of minimum 50% translated source file: 'po/en_US.po'
on 'zh_CN'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate po/en_US.po in zh_CN
97% of minimum 50% translated source file: 'po/en_US.po'
on 'zh_CN'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate po/en_US.po in zh_CN
99% of minimum 50% translated source file: 'po/en_US.po'
on 'zh_CN'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate po/en_US.po in zh_CN
100% translated source file: 'po/en_US.po'
on 'zh_CN'.
* i18n: Translate po/en_US.po in es
96% of minimum 50% translated source file: 'po/en_US.po'
on 'es'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate po/en_US.po in es
98% of minimum 50% translated source file: 'po/en_US.po'
on 'es'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate po/en_US.po in es
100% translated source file: 'po/en_US.po'
on 'es'.
---------
Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
MIPS architecture and globally applies the `-mxgot` flag to
compiler settings to address potential GOT overflow issues caused by
the architecture's strict limitations on GOT size.
1. Ensure container HOME env matches the host environment exactly, we
rely on it before support portal well.
2. remove /run/udev bind, udev database path and file across different
versions are not guaranteed to be compatible.
3. add all_proxy env to defulat forward list.
Signed-off-by: reddevillg <reddevillg@gmail.com>