Commit Graph

2310 Commits

Author SHA1 Message Date
ComixHe 306ff229f5 fix: failed to generate ldcache
remove 'RootfsPropagation' which cause to container failed to start

Signed-off-by: ComixHe <heyuming@deepin.org>
2025-04-11 17:14:58 +08:00
ice909 ab7a147d6a chore: adjust the builder output format
Increase the width of the packge under the builder Processing Dependency.

Signed-off-by: ice909 <gaochang1@uniontech.com>
2025-04-11 13:29:19 +08:00
ice909 a846af863f chore: update translation
Signed-off-by: ice909 <gaochang1@uniontech.com>
2025-04-11 13:29:19 +08:00
ice909 ada2bc85ab chore: add transifex config file
add transifex.yaml

Signed-off-by: ice909 <gaochang1@uniontech.com>
2025-04-11 09:33:03 +08:00
ComixHe efc5f9d331 refactor: bind mount init to container
change the way of starting container

Signed-off-by: ComixHe <heyuming@deepin.org>
2025-04-10 16:52:23 +08:00
ComixHe 963e00d928 feat: vendoring 'dumb-init' as container init
project source: https://github.com/Yelp/dumb-init

We need an init process to forwarding signal and cleaning orphaned zombie processes.
In above cases, it is more convenent that replacing bash with dumb-init

Signed-off-by: ComixHe <heyuming@deepin.org>
2025-04-10 16:52:23 +08:00
ComixHe c5271dd5fe refactor: remove vendoring ll-box
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-04-10 16:52:23 +08:00
reddevillg b67fc5c348 feat: add isolate network option for build
use --isolate-network to build in an isolated network environment
2025-04-08 10:08:43 +08:00
reddevillg 672f23f0d3 refactor: separate build process into several stages
separate build process into several stages
2025-04-08 10:08:43 +08:00
reddevillg 761d44f5ad refactor: make builder and pm use ContainerCfgBuiler
Make builder and pm use ContainerCfgBuiler
2025-04-08 10:08:43 +08:00
reddevillg 4524903d93 refactor: Introduce class ContainerCfgBuiler
Use builder design pattern to generate container config
2025-04-08 10:08:43 +08:00
ComixHe 64277c75d0 feat(ll-box): waiting for all process within the container
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-04-07 17:34:51 +08:00
ice909 4eaac1fe9a chore: change the connection timeout period to 5 seconds
Users can set the timeout period using environment variables `LINGLONG_CONNECT_TIMEOUT`.

Signed-off-by: ice909 <gaochang1@uniontech.com>
2025-04-07 17:30:11 +08:00
ice909 33f5913209 feat: extract the export paths as a config file
Signed-off-by: ice909 <gaochang1@uniontech.com>
2025-04-07 17:14:27 +08:00
reddevillg eb1da48ae6 fix: avoid gio start thread before unshare
set GVFS_REMOTE_VOLUME_MONITOR_IGNORE to 1
2025-04-07 17:13:46 +08:00
reddevillg 5ab119abae fix: merge runtime module also
old runtime module is equal to binary module
2025-04-07 13:14:57 +08:00
ComixHe 468466df1f chore: suppress error while executing systemd-generator
file or directory may not exist

Signed-off-by: ComixHe <heyuming@deepin.org>
2025-04-07 13:03:20 +08:00
ComixHe 6cdc6ca73d fix: failed to compile with qt 6.9
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-04-03 15:14:47 +08:00
dengbo 85b52cc23a release 1.8.0 2025-04-02 16:54:16 +08:00
dengbo 2fb12eca32 feat: support Qt6 packaging
Support Qt6 packaging according to the method recommended by the Qt official.
2025-04-02 15:56:22 +08:00
ice909 337e42022f feat: support don't export the develop module
When exporting layer, add --no-develop to avoid exporting the develop module.

Signed-off-by: ice909 <gaochang1@uniontech.com>
2025-04-02 14:28:22 +08:00
ComixHe 6bfebe8e0c fix: compatible with qt 5.11
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-04-02 14:24:07 +08:00
ice909 e8227994de chore: adjust the builder output format
Increase the width of the packge under the builder Processing Dependency.

Signed-off-by: ice909 <gaochang1@uniontech.com>
2025-04-02 14:22:22 +08:00
dengbo 9dad8536a6 feat: add share/templates dir to whitelist
Templates file should be exported, add it to whitelist.
2025-03-31 13:19:27 +08:00
dengbo bd5f7ebeee refactor: use the new unmount command to unmount the directory
Use fusermount -u to replace umount.
2025-03-28 13:16:51 +08:00
dengbo c6afc10ee2 fix: failed to umount layer dir
Layer dir has been umount in unpack,
so do not need to umount again in LayerPackager destructor.
2025-03-28 13:16:51 +08:00
ice909 e5010969ac fix: ll-builder build failed
Symbolic should only be created for directories.

Signed-off-by: ice909 <gaochang1@uniontech.com>
2025-03-28 12:25:40 +08:00
ice909 619a93ea5c fix: version comparison error
Direct string comparisons should not be used.

Signed-off-by: ice909 <gaochang1@uniontech.com>
2025-03-27 17:56:15 +08:00
myml b332bbd5df fix: exporting systemd service may cause system error
builder不再将systemd service导出到share目录,
避免因share优先级过高影响系统功能
2025-03-26 13:43:30 +08:00
reddevillg d6a36355a3 fix: fix unshare error
tryMigrate may use ostree repo, put GIO_USE_VFS=local before it
2025-03-26 13:32:39 +08:00
reddevillg a7a8cf5efa fix: skip whiteout files
skip fuse-overlayfs whiteout files which name starts with ".wh."
2025-03-26 13:12:33 +08:00
reddevillg c7ba19a611 fix: fix compiler error
fix compiler error when use nlohmann from CPM
2025-03-26 11:09:08 +08:00
myml 17276ba01d fix: adjust container mount items
在之前的提交中, 本应删除/tmp挂载, 却误删了/dev的挂载
2025-03-26 09:34:49 +08:00
ComixHe 1d29b19a11 chore: add missing SPDX comment
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-03-24 14:21:02 +08:00
ComixHe 917e7f0977 fix: correct path deduplication while fixmount
only need to skip strictly equivalent path

Signed-off-by: ComixHe <heyuming@deepin.org>
2025-03-24 14:21:02 +08:00
dengbo 8813fcf268 release 1.7.11 2025-03-21 17:42:09 +08:00
dengbo b956b77471 feat: add release script
Add release script.
2025-03-21 17:41:54 +08:00
dengbo 06dc2a06f8 fix: empty directory exists after app uninstall
Delete empty directories after uninstalling the app.
2025-03-20 17:40:25 +08:00
myml a11b66d9e3 fix: no free space when installing dependencies
tmp目录被挂载成tmpfs并且设置了64M大小, 导致安装deb依赖时报错
现在会在宿主机的tmp目录创建新的临时文件夹做为容器的tmp目录
2025-03-18 20:09:59 +08:00
myml 0450a2726c feat: supports selecting compression algorithm
在导出时传递参数自选压缩算法
layer默认使用lzma有更高压缩率
uab默认使用lz4可以更快解压速度,避免影响应用自运行
2025-03-18 15:16:36 +08:00
dengbo 534fb1b0f8 fix: dsg config not effective
DSG_APP_ID should be add to environment.
2025-03-18 14:52:14 +08:00
dengbo 05655fc764 feat: support export dsg config file
Support export dsg config file for self-developed applications.
2025-03-18 14:52:14 +08:00
ice909 4fa4148801 fix: Invalid symbolic links should also be copied
Signed-off-by: ice909 <gaochang1@uniontech.com>
2025-03-14 10:36:27 +08:00
ice909 52479429ae fix: relative symlinks to directories from becoming empty folders
When copying relative symlinks pointing to existing directories, they were incorrectly turned into empty folders.

Issue: https://github.com/OpenAtom-Linyaps/linyaps/issues/1039

Signed-off-by: ice909 <gaochang1@uniontech.com>
2025-03-14 10:36:27 +08:00
ice909 f72413cdd3 fix: ostree init failed
Signed-off-by: ice909 <gaochang1@uniontech.com>
2025-03-13 14:07:41 +08:00
ice909 f5cb7a22c0 fix: preserve packages with different modules while filtering by version
Previously, packages with the same id but different module values were incorrectly treated as the same package, causing some to be lost.
This fix ensures that (id, module) is used as the unique key, preserving all distinct packages while still filtering by version.

Signed-off-by: ice909 <gaochang1@uniontech.com>
2025-03-13 11:37:35 +08:00
ice909 1e9c45de71 fix: ostree repo config is not initialized
Signed-off-by: ice909 <gaochang1@uniontech.com>
2025-03-12 17:27:07 +08:00
ice909 b24d059538 fix: network exception waiting time is to long
Setting connection timeout is 1 second.

Issue: https://github.com/OpenAtom-Linyaps/linyaps/issues/1041

Signed-off-by: ice909 <gaochang1@uniontech.com>
2025-03-12 16:31:23 +08:00
dengbo a0f68ba652 refactor: adust the behavior of install UAB
Do not Execute UAB when install UAB.
2025-03-12 16:30:56 +08:00
dengbo 845089d652 fix: app cannot be started immediately after exiting
Mount /tmp to tmpfs to prevent some files sharing.
2025-03-12 09:46:18 +08:00