meta-virtualization/recipes-containers/lxc
Bruce Ashfield 1ad2906d95 lxc: update to v6.0.4
Bumping lxc to version v6.0.4-7-gb185e523f, which comprises the following commits:

    b185e523f selinux: fix typo (AppArmor)
    4be5e7c65 meson_options.txt: remove space before `:` for consistency
    81d00893a meson_options.txt: don't use str when defining bool default values
    8a7ea2523 bionic: Remove custom getline, openpty and prlimit
    136d5ae08 bionic: Remove bionic detection and support
    f362f6eed README: Remove mention of old LXC version
    2663712e8 start: Re-introduce first SET_DUMPABLE call
    0fb6eb66d Release LXC 6.0.4
    312976c9b lxc/start: do prctl(PR_SET_DUMPABLE) after last uid/gid switch
    77b9cb1dc lxc/caps: fix open /proc/sys/kernel/cap_last_cap
    dfe473705 lxc/conf: handle rootfs open_at error in lxc_mount_rootfs
    782b666dc tools/lxc_attach: fix ENFORCE_MEMFD_REXEC checks
    bcb6d063d github: Add packaging workflow
    3a4003c8c global: Switch to new MAC prefix
    5cdef29d8 global: Switch MAC generation to Zabbly prefix
    400115de0 sysconfig/lxc: remove false comment
    0e99eaa35 Added LXC_IPV6_ENABLE option for lxc-net to enable or disable IPv6
    84e02ca8c github: Switch to native arm64 runners
    f68da1c9f config-bcast: fix incorrect broadcast address calculation
    5b31eb51a lxc/attach: Revert "- LXC attach should exit on SIGCHLD"
    555276df9 conf: warn when capabilities are disabled or libcap is not found
    a99f593e3 dbus: replace hardcoded dbus address with environment variable
    d34b373ca conf: log name of invalid capability in error
    56ef15e71 confile-vlanid: undefined is not a zero value
    b4fda3c60 - LXC attach should exit on SIGCHLD
    fe31d844e Release LXC 6.0.3

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2025-07-07 11:42:27 -04:00
..
files lxc: update ptest cases in black list 2024-07-10 15:59:26 +00:00
lxc_git.bb lxc: update to v6.0.4 2025-07-07 11:42:27 -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