meta-virtualization/recipes-containers/lxc
Bruce Ashfield 08435d20b1 recipes/classes/scripts: Drop SRCPV usage
bitbake has been enhanced such that SRCPV is no longer needed in
PV to handle updating git hashes and task signatures.

We can simplify our PV by dropping SRCPV

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-08-24 01:38:21 +00:00
..
files lxc: templates/lxc-busybox.in: if busybox contains init then use it 2023-03-17 15:41:16 -04:00
lxc_git.bb recipes/classes/scripts: Drop SRCPV usage 2023-08-24 01:38:21 +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