1
0
mirror of https://github.com/containers/youki synced 2024-11-23 01:11:58 +01:00
Commit Graph

3 Commits

Author SHA1 Message Date
Yashodhan
601df9ecd3
Fix cgroups determination in exec implementation (#2720)
* Set cgroups path for tenant containers from main container

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* Ignore new_user_ns for creating cgroups path

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* Remove user_ns param completely

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* Add tests in podman rootless for exec

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* Fix add_task implementation for cgroups v2 and systemd

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* minor refactor in tenant builder

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* Add unit test for systemd add_task function

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* Fix task addition to properly add tasks via dbus api

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* Fix cross cotainers for tests running

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

---------

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
2024-04-27 21:49:58 +09:00
Jorge Prendes
ff79c54968
(feat) add support for musl using cross-rs (#2536)
* add cross configuration for musl

Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>

* use cargo.sh wapper in build.sh

Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>

* make tests build with musl

Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>

* add targets to run musl tests

Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>

* Use cargo.sh wrapper and cross in CI

Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>

* Update scripts/cargo.sh

Co-Authored-By: adrianalin <pop.adrian61@gmail.com>
Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>

* Use glibc as cross default target

---------

Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
Co-authored-by: adrianalin <pop.adrian61@gmail.com>
2023-12-21 11:50:03 +00:00
cuisongliu
d0515ff231 fix(main): support arm64 release youki
Signed-off-by: cuisongliu <cuisongliu@qq.com>
2023-11-14 00:27:18 +08:00