Commit Graph

42 Commits

Author SHA1 Message Date
kamiyadm 181b00841d fix: the version of runtime is not fuzzy in info.json
If the version of base or runtime is not set tweak, we should not write the
version with tweak to info.json.

Log:
2024-05-10 14:54:29 +08:00
kamiyadm c895c4d0c2 refactor: update pullDependency and overload it
-

Log:
2024-05-10 14:54:29 +08:00
ComixHe 54dd0f4f0c feat: support copy-symlink
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-05-10 10:45:51 +08:00
kamiyadm 9b8f4e50b8 fix: update the warning message in exportReference()
-

Log:
2024-05-09 17:41:34 +08:00
kamiyadm 1186628649 refactor: move shouldExport() to exportRefrence()
-

Log:
2024-05-09 17:41:34 +08:00
kamiyadm 967378e5d7 fix: some shared info is not update
Desktop database, mime info, glib-2.0/schemas.

Log:
2024-05-09 17:41:34 +08:00
kamiyadm a54b9a8718 fix: some config is not exported when installing layer
-

Log:
2024-05-09 17:41:34 +08:00
black-desk af82dd0424
Revert "fix: add finalizeMounts to delay remount"
This reverts commit 43a6068163.

Signed-off-by: black-desk <me@black-desk.cn>
2024-05-08 10:12:32 +08:00
ComixHe 43a6068163 fix: add finalizeMounts to delay remount
and fix some typo

Issue: https://github.com/linuxdeepin/linglong/issues/398

Signed-off-by: ComixHe <heyuming@deepin.org>
2024-05-07 15:15:59 +08:00
kamiyadm b973e9b646 fix: extract layer failed
If the directory is a mount point, it will be moved failed.
Use cp instead of mv.

Log:
2024-05-07 14:17:00 +08:00
kamiyadm fc9833c685 fix: format the output of ll-builder
-

Log:
2024-05-07 14:17:00 +08:00
kamiyadm 83d10afe36 fix: update fetch-git-repo.sh to fetch-git-repo
Use the correct file name which will be installed.

Log:
2024-05-07 14:17:00 +08:00
ComixHe 7f513e0d21 refact(generators): mount to default location
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-05-06 16:40:16 +08:00
kamiyadm bcfba62c29 fix: ll-cli install foundation or runtime failed
-

Log:
2024-05-06 09:38:54 +08:00
dengbo 6b633f6f8c docs: optimization api doc
add description of api doc

Log:
2024-04-29 17:09:24 +08:00
myml a2a3c90e5c feat: ll-builder support skip run container
builder支持跳过容器运行(构建), 用于只下载源码和依赖的时候使用

Log:
2024-04-29 07:02:48 +00:00
myml 9dff4a96c4 feat: clean up unseless environment variables
清理无用的环境变量

Log:
2024-04-29 11:45:09 +08:00
dengbo 9d488f0368 fix: ll-cli list(search) --type not valid
support ll-cli list(search) --type option

Log:
2024-04-29 10:58:29 +08:00
kamiyadm 63c721b614 feat: support ll-cli content
New subcommand to display the exported files.

Log:
2024-04-28 11:43:33 +08:00
dengbo 7284fd33df chore: file prefix is error
file prefix must be file://

Log:
2024-04-26 17:50:04 +08:00
black-desk d273a45cab fix: check app is valid
check app is valid

Log:
2024-04-26 17:50:04 +08:00
dengbo 778f1226b5 refactor: refactor ll-cli list --app to ll-cli info
refactor ll-cli list --app to ll-cli info

Log:
2024-04-26 17:50:04 +08:00
myml 7821ba2266 fix: build failure on UOS 20
修复在UOS 20系统构建错误

Log:
2024-04-26 13:56:20 +08:00
dengbo 29ee27bb36 feat: ll-cli list support show tier of speciafy app
ll-cli list support show tier of speciafy app

Log:
2024-04-26 12:01:16 +08:00
ComixHe ea3e3ff80c feat: add new envFilter `XDG_DATA_HOME`
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-04-26 10:35:31 +08:00
black-desk 6328cc8e9d fix(ll-box): exit with -1 when init don't return 0
Signed-off-by: black-desk <me@black-desk.cn>
2024-04-25 13:18:31 +08:00
dengbo ba7ed87ad7 fix: fix v20 package
1. linglong-bin must be first in debian control, it will influence
   debian sysctl.d/linglong.conf install
2. Quuid must include in head

Log:
2024-04-25 13:08:43 +08:00
kamiyadm 2728b0f3bb fix: ll-builder run failed
The default module of org.deepin.foundation should be runtime.

Log:
2024-04-23 16:43:57 +08:00
black-desk 14a06b2626
refact: archieve linglong runtime dir instead of leave it alone
Signed-off-by: black-desk <me@black-desk.cn>
2024-04-23 15:43:55 +08:00
ComixHe 5ec46ecc63 fix: ignore broken symlink while iterating files
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-04-23 15:39:24 +08:00
kamiyadm 74c0480a7a fix: install layer or export layer failed
Use /tmp/linglong-layer-$uuid instead of /tmp/linglong-layer/$uuid.
Because ll-package-manager and ll-builder owned by diffrent user,
if one of them creates the parent dir 'linglong-layer', another one
has no permisson to open it.

Log:
2024-04-23 14:35:40 +08:00
kamiyadm 1c5ec42068 fix: rename 'll-cli repo list' to 'll-cli repo show'
-

Log:
2024-04-23 14:35:40 +08:00
black-desk 570a0d562a chore: enable info logging and deprecate builder -v
Signed-off-by: black-desk <me@black-desk.cn>
2024-04-22 13:44:07 +08:00
ComixHe f262b8d2ae fix: add LINGLONG_APPID env before running container
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-04-19 14:02:34 +08:00
black-desk 44426d5e37 chore: refine log level
Signed-off-by: black-desk <me@black-desk.cn>
2024-04-19 10:42:30 +08:00
black-desk 0b95337343
chore(ocppi): return full command if failed
Signed-off-by: black-desk <me@black-desk.cn>
2024-04-18 20:48:01 +08:00
dengbo 9521c0a207 fix: ll-cli info show error
pack should use LayerInfo instead of PackageInfo

Log:
2024-04-18 17:57:30 +08:00
dengbo 53702a996b fix: failed to install linglong layer file use ll-cli
1. if is linglong layer file, install it directly.
2. LayerFile has offset a magicNumber size(40) in Constructor, so we do not need to skip magicNumber before read meta info length.

Log:
2024-04-18 15:25:28 +08:00
dengbo 76afa0e3e0 fix: umount error dir in LayerPackager destruct
umount error dir in LayerPackager destruct

Log:
2024-04-18 13:17:43 +08:00
black-desk bbda931b9b feat: allow set the oci runtime via env variable
1. Introduce LINGLONG_DEFAULT_OCI_RUNTIME cmake option to set the
   default oci runtime cli used by linglong;
2. Allow override oci runtime by set env variable LINGLONG_OCI_RUNTIME.

Signed-off-by: black-desk <me@black-desk.cn>
2024-04-18 11:11:56 +08:00
ComixHe 7cca859463 fix: add `copy-symlink` option for symlink source
crun use `copy-symlink` instead of `nosymfollow`

Signed-off-by: ComixHe <heyuming@deepin.org>
2024-04-18 10:33:54 +08:00
black-desk 36c9d35800 build: backport to UOS v20
1. vendor more dependencies
   - docopt.cpp
   - tl-expected
2. make ocppi subproject
3. upgrade PFL.cmake

Signed-off-by: black-desk <me@black-desk.cn>
2024-04-17 20:55:14 +08:00