dengbo11
124bc72721
fix(cli): add some options back for compatibility
...
--prune and --all options should be provided for compatibility with older command line parsing.
Bug: https://pms.uniontech.com/bug-view-288097.html
2024-11-20 17:16:00 +08:00
ComixHe
ca4f8bc7c7
refactor: re-implement migrate
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-11-19 17:46:22 +08:00
ComixHe
ebf272ce2c
refactor(gen): add blackList for hide some directory all the time
...
std::exist will follow symlink
so we should get status at first
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-11-15 13:59:09 +08:00
myml
e9fbcc4edb
feat: auth push the develop module
...
现在develop会自动构建, 在push的时候也应该自动推送
2024-11-15 10:51:15 +08:00
kamiyadm
c9d59d653d
fix: adjust error output level
...
-
Log:
2024-11-14 17:17:33 +08:00
dengbo11
2d561fcab3
fix: subcommand help information display error
...
Subcommand should add usage, or will inherited the parent command.
2024-11-13 11:30:23 +08:00
dengbo11
dc2c18ee73
chore: code clear
...
Old command is not use, delete it.
2024-11-12 15:48:28 +08:00
dengbo11
71fe2c0e4b
feat(cli): cli version support json format output
...
Cli version add json format output.
2024-11-12 15:48:28 +08:00
kamiyadm
06cd6d955e
fix: cli returned if no avilable notifier
...
Fallback to DummyNotifier if no avilable notifier.
Log:
2024-11-11 17:07:59 +08:00
myml
a85107ae40
feat: not use the host machine PATH variable
...
目前会通过profile.d/00env.sh将宿主机的PATH变量传递到容器中并覆盖profile文件设置的默认值
目前看来并没有好处, 反而会导致预料之外的问题, 比如在一些系统上PATH没有包含/bin目录, 但玲珑的base有可能需要
2024-11-11 09:32:41 +08:00
myml
286121b4a2
fix: ll-builder build command parameter error
...
ll-builder build的命令参数有重复的变量, 导致部分参数不生效
网络库在断网时没有返回准确的错误信息
2024-11-08 17:56:03 +08:00
kamiyadm
7d848ab3a5
fix: some buildflag has uncertain value
...
Fully initialize those options.
Log:
2024-11-07 09:56:12 +08:00
dengbo11
f9ae16f25d
feat(builder): linglong builder help information internationalization
...
Add ll-builder chinese, en_US, en_GB and spanish help information.
2024-11-06 18:16:45 +08:00
kamiyadm
97e0898bbf
fix: can not do the migration
...
* If there need migrate and the current operation is
not 'll-cli migrate', notify the message.
* Call runningAsRoot() before call migrate().
Log:
2024-11-06 10:43:11 +08:00
dengbo11
583ad9d024
feat(cli): linglong cli help information internationalization
...
Add ll-cli chinese and spanish help information.
2024-11-05 20:12:08 +08:00
kamiyadm
c482eef998
fix(ll-cli): used a moved object
...
-
Log:
2024-11-05 20:10:10 +08:00
kamiyadm
a769dbcb9b
fix: build error because of wrong namespace
...
-
Log:
2024-11-05 16:05:40 +08:00
kamiyadm
21ce364aea
fix: no permission to migrate
...
* Not doing interact before migration, only notification.
* Allow anyone to call WaitForAvailable() by dbus.
Log:
2024-11-05 15:33:04 +08:00
kamiyadm
c647ad834d
fix(ll-builder): some minor bugs
...
* We should keep the output format of 'll-builder repo show' as ll-cli.
* The command 'll-builder repo show' should return after print info.
* The linglong.yaml is not necessary to 'll-builder import'.
Log:
2024-11-05 14:36:39 +08:00
dengbo11
4ed4c07ec6
fix(cli): cli command output show abnormal
...
Do not use '\n' in command description, or it will show abnormal.
2024-11-04 13:39:27 +08:00
dengbo11
d724f434b4
feat(ll-builder): optimize cli command line parsing function
...
Use CLI11 to optimize Qt command line parsing.
2024-11-04 13:39:08 +08:00
kamiyadm
c056e3959a
fix: auth_admin_keep is not worked
...
-
Log:
2024-11-01 17:37:54 +08:00
dengbo11
e8a17cd9c3
chore: misspelling of word
...
Word spelling inaccurate.
2024-11-01 10:56:18 +08:00
dengbo11
73d4db59e6
feat(cli): optimize cli command line parsing function
...
Use CLI11 to optimize cli command line parsing.
2024-11-01 10:56:18 +08:00
ComixHe
b205d107eb
fix: resolving conflicts and compilation errors after rebasing from master branch
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-10-31 13:35:32 +08:00
ComixHe
c65ef008b9
fix(ll-builder): correct behavior of subCommand 'repo'
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-10-31 13:35:32 +08:00
ComixHe
ec4e2ecd44
feat: implement the 'deferred uninstallation' feature
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-10-31 13:35:32 +08:00
kamiyadm
715105aaa9
refactor(ll-cli): the initialization of notifier
...
Original behavior is use the DBusNotifier first if it can be initialized.
For now, if ll-cli is running in tty, we should use the terminalNotifier.
Log:
2024-10-31 13:35:32 +08:00
ComixHe
032627936c
feat: add syncing mecanism between ll-cli and ll-package-manager
...
ll-package-manager will delay the uninstall process of application
if there are running containers that are using the application that
will be uninstalled and ll-package-manager may not daemonlize anymore
in the future.
So we need a mecanism to sync states and let ll-package-manager to know
how many running container there are and whether container is building
or not.
ll-cli should touch a file under /run/linglong/UID which named
with current pid and left empty to present initialization of ll-cli is
incomplete, ll-package-manager should waiting until all file are valid
(or exit immediately) if ll-package-manager want to uninstalling
package.
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-10-31 13:35:32 +08:00
kamiyadm
670e82dd76
refactor: change some api of ll-cli/ll-package-manager
...
* Change dbus return type to QVariantMap.
* Add new dbus method SetRunningState, Prune.
* Add new subcommand prune.
* Change the parameters in TaskChange.
* Add task for Uninstall.
* Set correct Status and SubStatus.
Log:
2024-10-31 13:35:32 +08:00
dengbo11
09e0ce0ea5
feat(ll-cli): add ll-cli list --upgradable feature
...
Add ll-cli list --upgradable to show the latest version list of the
currently installed apps.
Log: add ll-cli list --upgradable feature
2024-10-25 16:09:26 +08:00
ComixHe
10763a1485
feat: support for hiding some directories in a user's home directory via configuration
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-10-25 04:04:01 +00:00
myml
ca6551e634
fix: unable to push a single module
...
修复因命令行解析配置错误导致无法推送单个模块
修复混用new和free
修复source没有url时报错信息不明
改进debug参数的说明
在pull依赖后应该执行一次模块合并操作
2024-10-23 15:01:17 +08:00
myml
6fe39d6040
feat: ll-builder add debug argument
...
ll-builder添加debug参数, 方便调试应用
debug环境使用develop模块, 可使用 gdb 调试应用
添加了模块拆分功能的文档, 更新了调试应用的文档
2024-10-22 11:21:39 +08:00
myml
e13e855369
feat: ll-cli support install and uninstall modules
...
ll-cli添加安装卸载模块的功能, 在运行时会自动使用已安装的所有模块
在安装, 卸载, 更新时会扫描全部已安装的应用,
然后将应用和模块文件合并到merged目录, 在运行应用时优先查找merged目录
卸载binary时会自动将其他模块删除, 在安装模块前要求用户先安装binary
如果需要调试应用, 要先安装base的develop模块, 再安装应用的develop模块
2024-10-22 11:21:39 +08:00
myml
6d5425545e
feat: support module split files
...
实现了调试符号剥离的功能, 在编译前给gcc添加全局-g参数, 在编译后剥离调试符号到$PREFIX/lib/debug目录
实现了按模块拆分文件的功能, 在linglong.yaml中使用modules字段将构建产物拆分到不同的模块中
Log:
2024-10-15 14:18:40 +08:00
dengbo11
972475473b
feat(linglong_builder): add build option to skip ldd check
...
Some appimage packages use libraries in packages(LD_LIBRARY_PATH),
it will cause the ldd check fails. so add build option to skip ldd
check.
2024-10-10 15:47:31 +08:00
myml
76f9b3c62b
fix: ll-box create mount point for nosymfollow
...
当前ll-box运行容器时会报错ld.so.cache target不存在, 但base里面是存在这个文件的
排查后发现当前的ld.so.cache有两个挂载项, 一个是fix mount创建的base文件挂载, 另一个是为支持ldconfig功能的软链接挂载
因为fixmount最后会检查target重复的挂载项, 并进行删除, 这导致第一个fix mount创建的挂载记录被删除, 另一个则没有了挂载点
现在为设置nosymfollow的挂载项预先创建挂载点(如果挂载点不存在的话), 这和其他挂载行为保持一致, 避免挂载点不存在时ll-box报错
2024-10-09 17:38:05 +08:00
dengbo11
56400783b5
refactor: code refactor
...
1. Remove the redundant header files included.
2. Remove redundant code(file.h,file.cpp).
3. remove ll-store-installer
Log: Code optimization
2024-10-09 15:01:51 +08:00
ComixHe
b203d63996
feat: support migrating data interactively
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-10-08 17:40:34 +08:00
ComixHe
4507034871
fix: failed to modify repo config
...
incorrect usage of docopt
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-10-08 17:40:34 +08:00
kamiyadm
63fa3687a2
fix: some errors during migration
...
-
Log:
2024-10-08 17:40:34 +08:00
kamiyadm
3c8541ff39
feat(ll-cli): call WaitForAvailable before init PackageManager
...
Wait for the migration to complete, maybe ll-package-manager
is busy now.
Log:
2024-10-08 17:40:34 +08:00
ComixHe
6f7b243ec2
feat: add new dbus object for migrating underlying storage
...
Adding version '1' to dbus service 'org.deepin.linglong.PackageManager' and it's dbus object.
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-10-08 17:40:34 +08:00
ComixHe
51065863af
refactor!: use command to operate configuration of builder and cli
...
1. We shouldn't operate repository of ll-build mannually by editing
configuration file.
2. Deprecate command 'll-cli repo modify' due to functional confusion of this command.
ll-cli use below commands to operate repository:
- ll-cli repo add NAME URL
- ll-cli repo remove NAME
- ll-cli repo update NAME URL
- ll-cli repo set-default NAME
ll-builder use below commands to operate repository:
- ll-builder repo add --name=NAME --url=URL
- ll-builder repo remove --name=NAME
- ll-builder repo update --name=NAME --url=URL
- ll-builder repo set-default --name=NAME
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-10-08 17:40:34 +08:00
black-desk
bd04c74f3d
fix(box): default to follow symbol link when parse mount source
...
When we lookup the source of a mount, unless we get a mount option tell
us to not follow symbol link, which means to treat the link it self as
a regular file, we should always follow the link.
For example, if the /etc in runtime namespace is a symbol link to
/usr/etc, and config.json tell us to perform a bind mount from runtime
namespace /etc to container namespace /etc, then the old code will
create /etc in container namespace as a file, which leads to an ENOTDIR
error when doing the bind mount.
Bug: https://pms.uniontech.com/bug-view-274969.html
2024-09-26 17:33:22 +08:00
dengbo11
fd0699cd00
fix: (temporary solution)the app cannot display normally due to font cache
...
bind /var/cache/fontconfig to container when run app
Log: fix app cannot display normally due to font cache
2024-09-26 14:41:05 +08:00
myml
e259b4582c
fix: unable to run and build applications using crun
...
挂载软链接时添加copy-symlink参数,
修复使用crun作为运行时, 在执行build和run时报错的问题
Log:
2024-09-18 15:01:47 +08:00
ComixHe
f4e79c2947
fix(box): adjust 'nosymfollow' priority to highest
...
when declare option 'copy-symlink' and 'nosymfollow' at the same time,
box will apply 'nosymfollow' and ignore 'copy-symlink'.
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-09-14 02:34:02 +00:00
dengbo11
71caecb838
chore: adujust include guards
...
Use #pragma once to replace #ifndef
reference https://includeguardian.io/article/pragma-once-vs-ifndef .
Log: use #pragma once to guard include
2024-09-05 14:55:38 +08:00
dengbo11
c16988d30f
fix: ll-builder failed to extract layer
...
ll-builder extract do not need constructing an build instance,
it is a static function, calling directly.
Log: fix ll-builder extract can not use normally
2024-09-03 18:01:56 +08:00
dengbo11
bf27abe33b
chore: delete appimage convert feature from ll-builder
...
delete appimage convert feature from ll-builder
and move it to linglong-pica
Log:
2024-08-28 13:54:32 +08:00
myml
ebeae251da
feat: do not use bash to execute ldconfig
...
在制作flatpak的base时发现, flatpak的动态链接器 (ld-linux-x86-64.so.2)
只包含了/usr/lib/x86_64-linux-gnu这一个动态库搜索路径, 导致bash在运行ldconfig之前是无法启动的
所以在容器钩子中不再通过bash运行ldconfig而是直接启动ldconfig, 以兼容复杂的base环境
note: org.gnome.Platform/x86_64/43 和 org.kde.Platform/x86_64/5.15-23.08 都有这个问题
Log:
2024-08-28 10:43:43 +08:00
myml
efc122c4f7
feat: support loong64 arch
...
支持龙芯新世界架构
Log:
2024-08-19 15:42:43 +08:00
ComixHe
c4794d89df
fix(ll-box): use /proc/<pid>/stat to find the target pid
...
add a fallback for compatible with linux kernel which compiled with CONFIG_PROC_CHILDREN=false
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-08-09 17:49:44 +08:00
myml
c063dbc76a
fix: running the calendar reports a timezone error
...
localtime直接挂载成文件, 当系统是北京时区会导致日历报时间格式错误
目前定位到QDateTime.isValid返回false, 具体原因还需要后续排查
Log:
2024-08-09 17:15:57 +08:00
ComixHe
41f01c550d
fix: correct mount option of mountPoint 'media'
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-08-08 05:44:50 -05:00
dengbo
835835a6b2
fix: chromium timezone show error
...
mount /etc/localtime directly using file instead of soft link
Log:
2024-08-07 00:08:08 -05:00
ComixHe
c79ddfeb39
feat(gen): add propagation mount `media` into container
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-07-26 16:56:58 +08:00
ComixHe
1a00b51557
feat: support propagation bind
...
tweak remount implementation
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-07-26 16:56:58 +08:00
ComixHe
699d1c619a
refactor(gen): remove check for Xauth
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-07-26 16:56:58 +08:00
ComixHe
97ed3dee35
fix: expose dconf database to all apps
...
Issue: https://github.com/linuxdeepin/developer-center/issues/9919
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-07-24 17:12:01 +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
dengbo
164cb931c6
fix: can not install app from store.linglong.dev
...
linglong-installer executable file name should be ll-installer
Log:
2024-07-23 14:09:46 +08:00
ComixHe
dcf2d1d85f
fix(ll-box): ignore remount temporarily when declaring nosymfollow
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-07-22 17:27:53 +08:00
myml
f86bf0ad96
feat: Use symbolic links to mount variable system files
...
使用软链接挂载可变的系统文件,可避免容器不更新重建的系统文件
Log:
2024-07-22 17:10:29 +08:00
ComixHe
f7cac32c9e
feat: add `nosymfollow` option
...
implementation mount a fd path to destination
instead of passing the MS_NOSYMFOLLOW directly.
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-07-22 10:36:29 +08:00
dengbo
80a35d1c75
fix: linglong-installer show error in dock
...
linglong-installer should not show in dock, so set WindowFlags to Dialog
Log:
2024-07-19 15:24:10 +08:00
kamiyadm
b1bef2138b
fix: failed to execute 'll-cli enter'
...
Remove '&' from exec() in ll-box. We add it in ll-cli.
issue: https://github.com/linuxdeepin/developer-center/issues/9445
Log:
2024-07-19 13:42:24 +08:00
dengbo
f1ca50579c
feat: move linglong-installer project to linglong
...
move linglong-installer project to linglong
Log:
2024-07-18 15:37:44 +08:00
bluesky
a2937ea359
feat: add ll-session-helper monitor listening service
...
通过 ll-session-helper 服务,来监听宿主机上 /etc/resolv.conf ,/etc/localtime等文件的变化。
设置开机自启
Issue: https://github.com/linuxdeepin/developer-center/issues/8989
Log: add ll-session-helper service
2024-07-11 15:54:02 +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
dengbo
d28c7549ca
feat: ll-build appimage convert support export uab or layer
...
ll-build convert will export uab default, add --layer option to support export layer
Log:
2024-07-09 16:39:59 +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
black-desk
cd3168fe16
refact(box): clean warnings
...
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
dengbo
571f5b21a3
fix: builder create return error
...
when project dir have exist or mkpath error, we must return error code
Log:
2024-07-05 13:44:05 +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
56ad855f7e
fix: return -1 expliclitly at the end of function DoWait
...
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
kamiyadm
c6e0a6d365
fix: failed to run app after ll-cli reviced SIGINT
...
* If the errno which returns from ::wait in ll-cli
is EINTR, wait child more times. And if interrupt
by SIGINT one more time, kill child immediately.
* If the pid which in container json is not exists,
remove the json.
Log:
2024-07-01 14:32:49 +08:00
myml
f8cf372825
feat: Add static suffix to statically linked binaries
...
lintian检查要求静态链接的二进制, 文件名需要添加-static
Log:
2024-07-01 11:47:32 +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
bluesky
fdf7a8339d
fix: delete excess comments
...
Log: delete excess comments
2024-06-27 10:07:38 +08:00
dengbo
d97f6b15c1
fix: ll-builder convert appimage error when use url
...
url is download to linglong/sources, should enter linglong/sources to
operate appimage file
Log:
2024-06-27 09:55:31 +08:00
bluesky
105ba70cf0
feat: add session-helper
...
新增 session-helper 模块,用来做用户级服务调用,目前先新增文件监视的功能,给后续 ll-cli 监视配置文件的修改移动到 /run/user/$uid/linglong/monitor
Issue: https://github.com/linuxdeepin/developer-center/issues/8989
Log: add session-helper
2024-06-26 17:06:12 +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
kamiyadm
2d2a54cf49
fix: missed some env variables when reusing container
...
* Save env variables to /run/user/1000/linglong/containerId/00env.sh
and mount it to /etc/profile.d/00env.sh in container.
* Remove 'bash --login -c' from exec() of ll-box, we
add it before .
Log:
2024-06-20 14:26:11 +08:00
kamiyadm
ddea8b0667
refactor: add 25-host-env to generate env variables
...
Add new generator 25-host-env and use it.
Log:
2024-06-20 10:52:46 +08:00
ComixHe
ae8279374c
feat: add option "--layer" for ll-builder to export layer
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-06-19 16:37:41 +08:00
ComixHe
1326fb0c0e
feat: support export uab file
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-06-19 16:08:11 +08:00
ComixHe
a1257a5083
fix: create ll-host under tmpfs
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-06-19 15:31:53 +08:00
ComixHe
fb4ba0a4c3
refactor: checking some operations of ll-box are exectuing successfully or not
...
if someting goes wrong, return early
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-06-19 15:31:53 +08:00
myml
c9d96bf627
fix: Using pointer to prevent object destruction
...
package manager应该使用指针类型的ClientFactory
避免对象在函数返回后被销毁
Log:
2024-06-18 14:57:34 +08:00
myml
2e3da426f3
feat: Check the version number in advance
...
在构建应用时,如果版本号不符合规范会在最后的commit阶段报错
应该提前检查yaml文件是否符合规范
Log:
2024-06-17 13:18:45 +08:00
ComixHe
8d099eeda3
refactor: split target linglong::linglong into four parts
...
- linglong::linglong
- linglong::utils
- linglong::api
- linglong::dbus-api
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-06-17 11:04:45 +08:00
myml
bf8489cfc9
feat: Create dedicated client for HTTP requests
...
使用单独的client发送http请求, 避免请求结果混淆
Log:
2024-06-14 09:42:52 +08:00
ComixHe
15e4912007
build: uab-header is not built by default
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-06-11 14:46:10 +08:00
ComixHe
8fd1efe593
fix: link static libelf to uab-header
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-06-11 13:02:50 +08:00
myml
dd8f95fb0c
fix: builder log redirection losing error message
...
日志重定向会导致应用检测到非tty环境, 关闭stderr日志输出
builder强制开启非tty环境的终端日志输出
Log:
2024-06-07 11:24:37 +08:00
ComixHe
edfbb6626c
feat: add uab-header
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-06-07 11:09:15 +08:00
myml
8fbc7b9034
feat: ll-builder allows manual linglong.yaml selection
...
ll-builder添加-f参数用于手动选择非当前目录下的linglong.yaml
Log:
2024-06-06 16:04:40 +08:00
ComixHe
41501cd8ff
fix: check some file exists or not during generating config
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-05-31 14:36:23 +08:00
myml
eb40e28ccd
feat: add offline parameter to ll-builder run
...
ll-builder run添加offline参数,便于测试本地的Runtime
Log:
2024-05-31 11:25:06 +08:00
dengbo
b80f276941
Revert "fix: timezone is error for linglong app"
...
This reverts commit 69efe374c5 .
2024-05-28 14:41:18 +08:00
dengbo
69efe374c5
fix: timezone is error for linglong app
...
mount /etc/timezone to container
Log:
2024-05-28 10:59:30 +08:00
kamiyadm
bc08c49339
fix: move ll-package-manager to /usr/libexec/linglong
...
close: https://github.com/linuxdeepin/linglong/issues/460
Log:
2024-05-27 16:48:48 +08:00
dengbo
2aa0e267df
fix: ll-build failed to convert appimage
...
linglong.yaml must have command and base option when convert
Log:
2024-05-27 16:38:19 +08:00
ComixHe
4e0ceeacd7
fix: mask user bashrc with default configuration
...
Mask ~/.bashrc in container with /etc/skel/.bashrc from host.
Fix : #459
Signed-off-by: ComixHe <heyuming@deepin.org>
Signed-off-by: black-desk <me@black-desk.cn>
2024-05-27 10:49:34 +08:00
ComixHe
448d0f5e89
fix: couldn't find binary in container
...
improve parsing args
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-05-22 13:22:14 +08:00
kamiyadm
9200d6e635
refactor: ll-builder create
...
Generate linglong.yaml from example.yaml.
close: https://github.com/linuxdeepin/linglong/issues/448
Log:
2024-05-22 11:03:09 +08:00
ComixHe
83d98b5820
feat: reuse container when application is runnnig
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-05-21 14:24:57 +08:00
kamiyadm
5d2dbcbc83
fix: the linglong.yaml after ll-builder create is readonly
...
1. fix the typo.
2. set the permission to 0644 if the templateFile is not exits.
Log:
2024-05-20 17:06:34 +08:00
ComixHe
2a71f85525
refactor(ll-box): arguments parsing
...
support exec and some options
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-05-20 13:21:29 +08:00
kamiyadm
1aa1efba21
fix: mount failed when '$HOME/.deepinwine' is a symlink
...
If the source dir is a symlink, mount the real path of the symlink.
Log:
2024-05-16 16:20:04 +08:00
kamiyadm
cc5959a609
fix: '$HOME/.deepinwine' should not be mount directly
...
-
Log:
2024-05-16 16:20:04 +08:00
dengbo
372321bd44
fix: linglong app can not access network
...
/etc/resolv.conf must be mount to container
Log:
2024-05-16 15:52:46 +08:00
ComixHe
c7a02a6d43
refactor(gen): Detecting whether `/dev/dri` exists during generating container config
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-05-14 15:42:39 +08:00
black-desk
4f33fe1598
build: add missing header
...
Signed-off-by: black-desk <me@black-desk.cn>
2024-05-14 15:04:51 +08:00
ComixHe
2bddcdc098
feat: support remount with fd
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-05-13 18:09:22 +08:00
dengbo
32920bb32a
fix: remove ll-system-helper when use --no-dbus option
...
remove ll-system-helper when use --no-dbus option
Log:
2024-05-10 16:10:16 +08:00
ComixHe
54dd0f4f0c
feat: support copy-symlink
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-05-10 10:45:51 +08:00
ComixHe
b4cb15dfc8
fix(generator): correct locations
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-05-09 18:21:20 +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
black-desk
d2b6d3e020
Revert "fix(box): move finalize mounts to beginning of pivot root"
...
This reverts commit 1cc308e859 .
Signed-off-by: black-desk <me@black-desk.cn>
2024-05-08 10:12:31 +08:00
black-desk
7020686c2f
fix(box): correct spelling
...
Signed-off-by: black-desk <me@black-desk.cn>
2024-05-08 10:12:28 +08:00
black-desk
c8a27ebea4
fix(box): default log level set to warning
...
Signed-off-by: black-desk <me@black-desk.cn>
2024-05-08 09:07:03 +08:00
black-desk
1cc308e859
fix(box): move finalize mounts to beginning of pivot root
...
Signed-off-by: black-desk <me@black-desk.cn>
2024-05-08 09:07:03 +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
ComixHe
7f513e0d21
refact(generators): mount to default location
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-05-06 16:40:16 +08:00
myml
a2a3c90e5c
feat: ll-builder support skip run container
...
builder支持跳过容器运行(构建), 用于只下载源码和依赖的时候使用
Log:
2024-04-29 07:02:48 +00:00
kamiyadm
5ee9227cfb
fix(ll-builder): update help tips
...
* remove unneeded options.
* update "--exec <exec>" to "--exec <command>"
* add "extract" and "import" to subcommand.
Log:
2024-04-29 10:13:41 +08:00
kamiyadm
613dbad577
fix(ll-builder): failed to show help without linglong.yaml
...
-
Log:
2024-04-29 10:13:41 +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
myml
7821ba2266
fix: build failure on UOS 20
...
修复在UOS 20系统构建错误
Log:
2024-04-26 13:56:20 +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
black-desk
5998dd3e79
feat(ll-box): initial implementation of `list` and `kill`
...
Signed-off-by: black-desk <me@black-desk.cn>
2024-04-23 17:40:49 +08:00
black-desk
825877a9df
chore: remove a debug log
...
Signed-off-by: black-desk <me@black-desk.cn>
2024-04-23 15:44:01 +08:00
black-desk
4707804938
fix: void use after move
...
Signed-off-by: black-desk <me@black-desk.cn>
2024-04-23 15:44:00 +08:00
black-desk
4e439c917a
fix: correct hook exec
...
Signed-off-by: black-desk <me@black-desk.cn>
2024-04-23 15:43:59 +08:00
black-desk
d98434aed2
fix: correct second clone id mapping
...
Signed-off-by: black-desk <me@black-desk.cn>
2024-04-23 15:43:58 +08:00
black-desk
911363a642
feat: support startContainer
...
Signed-off-by: black-desk <me@black-desk.cn>
2024-04-23 15:43:58 +08:00
black-desk
7203890c12
chore: move ll-builder user config location
...
Signed-off-by: black-desk <me@black-desk.cn>
2024-04-22 13:44:07 +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