meta-virtualization/recipes-containers/lxc
Xiangyu Chen 7932f4a2fa lxc: disable lxc-staticdev buildpaths checking
lxc enabled the ffat-lto-objects option since 6.0.3[1], that
liblxc.a object files contain both the intermediate language
and the object code, that cause yocto QA report a QA warning.

Ref:
[1] 277ac36407

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2025-02-18 01:51:58 +00:00
..
files lxc: update ptest cases in black list 2024-07-10 15:59:26 +00:00
lxc_git.bb lxc: disable lxc-staticdev buildpaths checking 2025-02-18 01:51:58 +00:00
README lxc: update to 5.x and meson 2022-08-25 22:55:48 -04:00

install:

Install the following packages to your image:

IMAGE_INSTALL:append = "lxc lxc-networking kernel-modules"

These will put the core lxc application and networking onto your image. No other configuration is required for a basic system.

Note: has only been tested with systemd, sysvinit patches are welcome

Note: Partially conflicts with packages such as k3s, networking will fail to start.

sample test:

% lxc-create -n test -t download -- --server us.lxd.images.canonical.com -d alpine -r 3.16 -a amd64 % lxc-start test % lxc-console test