Skip to content

Commit

Permalink
lxc: add missing deps
Browse files Browse the repository at this point in the history
Several deps are missing based the output of lxc-checkconfig shown below
before this commit is applied.

Note - CONFIG_IP_NF_TARGET_MASQUERADE and CONFIG_IP6_NF_TARGET_MASQUERADE
are only needed for lxc-net which we do not package.

% lxc-checkconfig | grep missing
Cgroup device: missing
CONFIG_IP_NF_TARGET_MASQUERADE: missing
CONFIG_IP6_NF_TARGET_MASQUERADE: missing
CONFIG_NETFILTER_XT_TARGET_CHECKSUM: missing
FUSE (for use with lxcfs): missing
checkpoint restore: missing
CONFIG_UNIX_DIAG: missing
CONFIG_INET_DIAG: missing
CONFIG_PACKET_DIAG: missing
CONFIG_NETLINK_DIAG: missing

Note - this PR is dependent on openwrt/openwrt#17553

Signed-off-by: John Audia <therealgraysky@proton.me>
  • Loading branch information
graysky2 committed Jan 10, 2025
1 parent 817499f commit 9873c93
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions utils/lxc/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@ menu "Configuration"
config LXC_KERNEL_OPTIONS
bool "Enable kernel support for LXC"
default n
select KERNEL_CHECKPOINT_RESTORE
select KERNEL_UNIX_DIAG
select KERNEL_CGROUPS
select KERNEL_NAMESPACES
select KERNEL_DEVPTS_MULTIPLE_INSTANCES
select KERNEL_POSIX_MQUEUE
select KERNEL_CGROUP_DEVICE
select KERNEL_CGROUP_SCHED
select KERNEL_FAIR_GROUP_SCHED
select KERNEL_RT_GROUP_SCHED
Expand Down Expand Up @@ -50,6 +53,10 @@ config LXC_NETWORKING
default n
select PACKAGE_kmod-veth
select PACKAGE_kmod-macvlan
select PACKAGE_kmod-inet-diag
select PACKAGE_kmod-ipt-checksum
select KERNEL_NETLINK_DIAG
select KERNEL_PACKET_DIAG
help
Enable "veth pair device" and "macvlan"

Expand Down

0 comments on commit 9873c93

Please sign in to comment.