meta-virtualization/recipes-containers/lxc
Chen Qi da285876dc lxc: fix compilation error for ARM/ARM64
There's compilation error when building lxc for ARM/ARM64 BSPs.
The error message is as below:

  | ../git/src/lxc/cgroups/cgfsng.c🔢111: error: incompatible
    type for argument 10 of 'sd_bus_call_method_asyncv'

The 10th argument is of type va_list but NULL is supplied, thus causing
compilation error.

So we use sd_bus_call_method_async to replace the asyncv one to
solve this issue.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-08-25 22:55:48 -04:00
..
files lxc: fix compilation error for ARM/ARM64 2022-08-25 22:55:48 -04:00
lxc_git.bb lxc: fix compilation error for ARM/ARM64 2022-08-25 22:55:48 -04: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