ComixHe
16d2b9f2ce
fix(ll-builder): add missing part of code
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-02-12 13:32:19 +08:00
ComixHe
6450efa749
refactor: improve wait logic
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-02-12 11:44:02 +08:00
ComixHe
f28141f4dd
chore: sync upstream
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-02-12 11:44:02 +08:00
ComixHe
1f92d36d7d
fix: memory leak
...
optimizing some functions
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-02-11 21:04:58 +08:00
myml
60fdf7b363
fix: no error messages when fetch fails
...
使用QProcess执行fetch-file-source脚本下载文件时, 如果文件哈希值错误,
脚本会使用echo返回错误信息, 但玲珑打印的stderr, 导致错误信息丢失
本次提交给QProcess设置mergedChannels, 能同时打印process的stdout和stderr
2025-02-11 20:48:58 +08:00
dengbo
26b7b40b6f
feat: add sw arch support
...
Support sw64 arch.
2025-02-11 16:43:16 +08:00
reddevillg
21131d055e
fix: Fix incorrect path when build prefix is /usr/local
...
Fix incorrect path when build prefix is /usr/local
2025-02-11 16:39:59 +08:00
ComixHe
abe0b40577
fix: cli crash when information directory doesn't exist
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-02-11 09:23:40 +08:00
dengbo
c293aae85f
fix: launcher icon displays abnormally after uninstalling the app
...
Root entries directory should be symlink, or it can not be remove when uninstall app.
so we can not copy file to root entries directory but copy file in app entries and then modify.
2025-02-10 22:27:52 +08:00
ComixHe
2721eb8785
chore: migrating reuse dep5 to REUSE.toml
...
5ba095d80c
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-02-10 13:43:18 +08:00
ComixHe
51b08b627b
fix: adjust generating ld.so.cache
...
we need and only need to generate and mount zz_deepin-linglong-app.conf
during generating ld cache
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-02-10 13:34:14 +08:00
ComixHe
3f99cf5657
fix: resolve the real path for some host files
...
when host use systemd-resolved to manage dns and systemd-resolved
working on stub mode, the file /etc/resolv.conf is a symlink to
/run/systemd/resolve/stub-resolv.conf.
refactoring the process for normalization.
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-02-08 13:46:41 +08:00
ComixHe
d393cf3ed5
fix: make option accepts empty container
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-02-07 18:14:50 +08:00
myml
5a60515800
fix: translation error
...
修复中文翻译错误
2025-02-07 10:11:01 +08:00
ComixHe
bef4a49985
feat(ll-cli): add subcommand 'inspect'
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-01-20 05:41:29 +00:00
Comix
ed7dd782e9
refactor(uab): skip fc-cahce hook if uab file was exported in OnlyApp ( #966 )
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-01-16 16:51:14 +08:00
Comix
27ea143990
refactor: only create runtime directory before container running ( #965 )
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-01-16 16:12:01 +08:00
ComixHe
499cc111de
refactor: change the destination of exported sign files
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-01-15 09:42:08 +08:00
dengbo
5db9d54b40
fix: error to export applications entries directory
...
1. we must fix export entries when in no dbus mode;
2. we must copy application entries directorys to the root entries
directorys before rewrite file;
2025-01-10 22:00:11 +08:00
ComixHe
033dfdedcb
feat: change the compression strategy of uab
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-01-10 17:54:06 +08:00
ComixHe
ba889e2c46
chore: fix some compiler warnings
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-01-10 12:08:59 +08:00
ComixHe
ec86bf68f1
fix: remove unneeded template disambiguator
...
After llvm 19, the program is ill-formed if the name prefixed by the template keyword is not followed by a template-argument-list.
Original cwg defects : https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#96
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-01-10 12:08:59 +08:00
dengbo
7831877744
fix: can not install app when cancel a task
...
Allow setup different tasks by the same ref.
2025-01-10 11:28:55 +08:00
ComixHe
715d3a6fb6
chore: ldd-check ignores some libs which under /opt
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-01-09 15:29:34 +08:00
ComixHe
3c475dea5f
fix: add runtimeCheck method for builder
...
all checkers should execute at the container which
based on binary layer
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-01-09 14:50:27 +08:00
dengbo
c7c3c6bb92
feat: add some translation
...
1. ll-dialog need to load translation file when running.
2. add some notification message translation.
2025-01-09 14:07:59 +08:00
dengbo
de440dc6bc
fix: can not install app in chroot
...
this is a temporary solution:
1. allow cache generation failure;
2. disable font cache generation.
2025-01-09 14:07:59 +08:00
ComixHe
f8aa5249db
fix: Change the way to check if the next task should be started
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-01-08 15:54:57 +08:00
ComixHe
54330be319
chore: update package files
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-01-07 11:54:08 +08:00
ComixHe
66fd26ff8b
chore: update translations
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-01-07 11:54:08 +08:00
ComixHe
ba4821dc06
feat: support installing uab which is exported in 'onlyApp' mode
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-01-07 11:54:08 +08:00
ComixHe
ebb84b48cc
feat(gen): add annotations for skipping some oci-cfg-generators
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-01-07 11:54:08 +08:00
ComixHe
67afecfb42
refactor(uab): adjust the process of creating container
...
to support self-running uab which is exported in 'onlyApp' mode
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-01-07 11:54:08 +08:00
ComixHe
137fe30110
feat(builder): support exporting uab in 'onlyApp' mode
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-01-07 11:54:08 +08:00
ComixHe
a28330e1e4
refactor(uab): use fd with fchdir in pivotRoot instead of ll-host
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-01-07 11:54:08 +08:00
ComixHe
30aaa4785b
feat(box): skip creation process if some dev symbolic links existing
...
ll-box wouldn't treat EEXIST as an error during creating
some dev symbolic links.
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-01-07 11:54:08 +08:00
ComixHe
4769801e5b
refactor: reimplement function that calculating the size of directory
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-01-07 11:54:08 +08:00
ComixHe
85c17bf538
feat: add optional field 'onlyApp' to UabMetaInfo
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-01-07 11:54:08 +08:00
ComixHe
d51b9b5b8c
chore(uab): add exporting blacklist
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-01-07 11:54:08 +08:00
ComixHe
6ec4093aa7
feat(box): check some needed kernel settings at runtime
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-12-27 09:34:11 +08:00
ComixHe
f655205db9
feat: Temporarily disable directory permission interactions
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-12-26 16:05:33 +08:00
ComixHe
a3a04ef4e9
feat(box): support capabilities manipulation
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-12-26 15:36:56 +08:00
kamiyadm
d9544e26d8
fix: no desktop in launcher after install app
...
Bring updateAM() back and call another service which in system bus.
Service name is org.desktopspec.ApplicationUpdateNotifier1.
Log:
2024-12-25 18:06:41 +08:00
myml
8544c5a0d6
feat: adjust systemd/user priority
...
XDG_DATA_DIRS下面的systemd优先级很高, 会影响系统systemd服务
将应用的systemd导出到其他地方, 再使用user-generator复制到优先级最低的generator.late目录
2024-12-25 17:31:40 +08:00
kamiyadm
3d3d94804d
refactor: the behavior of install UAB
...
* Specialize the behavior of installing uab on uos and deepin.
Old: install->installFromFile->PM
New: install->installFromFile->(Execute xxx.uab)->install->installFromFile->PM
* Check LINGLONG_UAB_SKIP_RUNNING is exist or not before 'll-cli run'.
Log:
2024-12-25 16:54:17 +08:00
ComixHe
077098ff15
fix: use variable after move
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-12-25 16:46:59 +08:00
ComixHe
11ce80835b
feat: change the compression algorithm to zstd
...
erofsfuse use fuse3 after 1.8.3
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-12-25 16:43:04 +08:00
black-desk
ef3d303ec8
feat: auto install some modules
...
1. Update D-Bus API to allow Install method of PackageManager take
multiple modules;
2. ll-cli will automatically generate a module list for language modules
from language related environment variables when install a package
without specify any modules.
2024-12-25 10:21:53 +08:00
myml
8e8bd7b0d7
feat: no need to export all entries on startup
...
不需要在每次启动package-manager时都执行一遍全量导出
2024-12-25 09:45:19 +08:00
ComixHe
e1c9652009
fix: Correcting file mappings when there is no file path passing
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-12-24 17:47:57 +08:00