summaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2026-06-15 14:12:26 +0000
committerBruce Ashfield <bruce.ashfield@gmail.com>2026-06-15 14:12:26 +0000
commitc595d3c9b714a1d15fe8e5dc1038f9372d68dbdb (patch)
treed4d0847734d9609548c841f4d0938e64335ec7fe /files
parent3d242c4c38a2b7d056b3c4e2af1c43b0d02d02ec (diff)
downloadmeta-virtualization-c595d3c9b714a1d15fe8e5dc1038f9372d68dbdb.tar.gz
lxc: pull in networking and templates via RRECOMMENDS
The lxc recipe ships three sub-packages: ${PN}, ${PN}-networking, and ${PN}-templates. ${PN} contains the lxc-* command-line binaries. ${PN}-networking owns lxc-net.service, /etc/default/lxc-net, the dnsmasq drop-in for the lxcbr0 bridge, and the firewall plumbing. ${PN}-templates owns /usr/share/lxc/templates, the per-distro container-creation scripts that lxc-create invokes via --template. Installing only the main ${PN} package leaves a non-functional LXC. There's no lxcbr0 bridge, so any container whose config references it (every download-template default config does) fails to start with network.c: netdev_configure_server_veth: Failed to attach "vethXXX" to bridge "lxcbr0", bridge interface doesn't exist and there are no template scripts, so lxc-create --template <foo> has nothing to invoke. The user-facing toolchain is effectively broken unless the integrator knows to add the sub-packages by hand. Pull both sub-packages in through RRECOMMENDS so any image that installs lxc gets a functional LXC by default, regardless of whether the install path is packagegroup-lxc, IMAGE_INSTALL:append, or CORE_IMAGE_EXTRA_INSTALL. Integrators who don't want them (custom networking, hand-written templates) can drop either or both through BAD_RECOMMENDATIONS. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'files')
0 files changed, 0 insertions, 0 deletions