ComixHe
67aff2635e
fix: correct the way of exporting only-app UAB
...
Signed-off-by: ComixHe <ComixHe1895@outlook.com>
2025-06-11 16:37:05 +08:00
ComixHe
dbe988add5
style: format whole project
...
based on clang-format 19.1.7
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-05-14 11:35:50 +08:00
ComixHe
ec5352d860
fix: correct container's hook
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-04-16 16:50:29 +08:00
reddevillg
f32ba2cfb2
feat: add ll-builder-utils to build uab header and loader
...
Signed-off-by: reddevillg <reddevillg@gmail.com>
2025-04-15 10:14:35 +08:00
reddevillg
60c5ba8740
feat: Introduce export UAB option --loader
...
Option --loader=<app_loader> can be used to run app without container
involved. With custom loader, only app's layer will be exported. When
custom loader get started, environment variable LINGLONG_UAB_APPROOT
is the app directory.
2025-02-27 14:28:19 +08:00
ice909
990b690d93
fix: missing environment variables for uab run
...
This commit allows uab to run directly without detecting linglong.
2025-02-18 09:16:55 +08: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
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
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
ComixHe
53814760e8
fix(uab): use 'fusermount' to unmount erofs
...
Older versions of umount require root privileges
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-12-24 17:47:57 +08:00
ComixHe
85cc8ea8ee
build(uab): correct cmake file
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-12-24 12:29:46 +08:00
ComixHe
a39015081c
refactor(gen): make all generator as a static library
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-12-18 15:28:04 +08:00
ComixHe
644c0c4c48
refactor(uab): remove dependency 'libelf'
...
implement needed functions in light_elf
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-12-12 15:03:04 +08:00
ComixHe
ee85b850b2
fix: exit when the destination of 'extract' isn't specific
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-12-06 15:47:34 +08:00
ComixHe
ac3fedcca1
fix(uab): Correct the creation of the directory where the destination is being unpacked
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-12-05 14:10:11 +08:00
ComixHe
2c66e0feb2
refactor(uab): remove openssl
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-12-02 16:29:15 +08:00
ComixHe
01eb8ab22b
feat: add sha256 implementation for uab
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-11-29 17:58:00 +08:00
ComixHe
6ae5725e2c
fix: add fallback channel "main" to earlier packageInfo
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-11-23 16:03:16 +08:00
ComixHe
f2201a7070
refactor(uab): improve signal handler when program exits unexpectedly
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-07-24 16:20:58 +08:00
ComixHe
a5e4b9dfd4
refactor(uab): isolating uab-loader and uab-header
...
shouldn't pass envs from uab-header to loader
and tweak some misc
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-07-23 16:32:50 +08:00
myml
f86bf0ad96
feat: Use symbolic links to mount variable system files
...
使用软链接挂载可变的系统文件,可避免容器不更新重建的系统文件
Log:
2024-07-22 17:10:29 +08:00
ComixHe
de9437a7c2
fix(uab-loader): correct commands which executed by ll-box
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-07-10 10:25:02 +08:00
ComixHe
45f303b23e
fix: correct mismatched iterator and change signature of importSelf
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-07-09 16:22:37 +08:00
black-desk
ff8360cfde
build(builder): change uab elfs install dest
...
Signed-off-by: black-desk <me@black-desk.cn>
2024-07-09 16:20:47 +08:00
ComixHe
4814ec62b7
build: make ll-box statically linked and enable uab build on deepin 23
...
and uos 20
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-07-09 13:22:00 +08:00
ComixHe
90f0846d2e
refactor: unserialize metaInfo of uab by generated api
...
if ll-cli exist in host machine, uab should check app has been
already installed or not before install
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-07-03 13:10:16 +08:00
ComixHe
fd30959180
fix(uab-header): correct the args passed to ll-cli
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-07-02 11:53:29 +08:00
ComixHe
482b753813
fix: correct the command to install uab
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-06-28 14:40:25 +08:00
ComixHe
4370745c93
build: link libzstd.a to uab-header due to libcrypto.a needs it
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-06-21 14:34:12 +08:00
ComixHe
e057f5a694
build: link libcrypto.a to uab-header
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-06-21 14:17:51 +08:00
ComixHe
21a1451a0b
refactor: optimize uab-header
...
- add a fallback for XDG_RUNTIME_DIR
- increasing buffer size to 4096
- passing errno to elf_errmsg
- check EAGAIN during reading from file
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-06-21 13:40:00 +08:00
kamiyadm
879ace5b49
fix: fix a warning during build deb
...
* Rename ENABLE_UAB_HEADER to ENABLE_UAB.
* If ENABLE_UAB is not set, do not build uab-loader.
Log:
2024-06-20 17:41:01 +08:00
dengbo
3a7f05ca3d
fix: deb package error
...
libzstd-dev is missing when deb package, add it
Log:
2024-06-20 15:34:08 +08:00
ComixHe
1326fb0c0e
feat: support export uab file
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-06-19 16:08:11 +08:00