meta-virtualization/recipes-containers/lxc
Bruce Ashfield 6b10588476 lxc: update to 5.0.3
Bumping lxc to version lxc-5.0.3, which comprises the following commits:

    cb8e38aca Release LXC 5.0.3
    85d3f4b1d github: Update for main branch
    d195603e3 CONTRIBUTING: add a note on AI generated code
    54227bdb1 get_hierarchy: dont WARN about no usable controller
    be7efff35 github: Add DCO/target tests
    8751cd208 explicitly convert *mainloop_handler to __u64
    c16bb5b71 tests: fix parse_config_file seccomp test
    95ef57c73 src/tests: Fix container creation errors
    30c79f8a7 rename functions which clash with libsystemd's
    3801a6a3d mainloop: io_uring: disable IORING_POLL_ADD_MULTI
    fba0ae071 terminal: make a terminal FDs non-blocking
    1af412d2f file_utils: add fd_make_nonblocking helper
    eaaf041f6 file_utils: rename fd_make_nonblocking to fd_make_blocking
    d05fb8a45 setproctitle(): Handle potential NULL return from strrchr()
    709d42691 make setproctitle()'s /proc/pid/stat parsing safe
    b183d437b console-log test: make sure container is stopped before restarting
    d638d5951 tree-wide: convert fcntl(FD_CLOEXEC) to SOCK_CLOEXEC
    c12c0acb0 Allow fuse mounts in apparmor start-container.
    c93418d98 Add support for squashfs images in oci via atomfs
    3754e803f apparmor: don't try to mmap empty files
    706ee25cd initutils: use PRIu64 for uint64_t in setproctitle
    3cdd5078c lxc-net.in: fix nftables syntax for IPv6 NAT
    97bf62247 Fix strlcat's return value checks
    7c81572af Fix typo: bev_type -> bdev_type
    727adc052 drop broken lxc-test-fuzzers

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 lxc: update to 5.0.3 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