]> git.ipfire.org Git - thirdparty/lxc.git/commit
tools: Provide multicall lxc binary 4149/head
authorPetr Malat <oss@malat.biz>
Wed, 15 Jun 2022 11:16:43 +0000 (13:16 +0200)
committerPetr Malat <oss@malat.biz>
Wed, 15 Jun 2022 14:27:47 +0000 (16:27 +0200)
commitf4d02217ee2baf7275175d2c6610de4908a9addf
treeec94494a7b3b98e1e625eb66d5a3fc649a6b880b
parent289d6413ebac8b34394a9f5dbffdb6a70e7f145f
tools: Provide multicall lxc binary

Create a binary, which embeds all lxc tools similar way as busybox
embeds its applets. This is handy for embedded systems as it saves
roughly 90% of the disk space.

To disable normal tools and use multicall binary exclusively use the
following meson setup options:
  -Dtools=false -Dtools-multicall=true

Signed-off-by: Petr Malat <oss@malat.biz>
26 files changed:
meson.build
meson_options.txt
src/lxc/tools/lxc_attach.c
src/lxc/tools/lxc_autostart.c
src/lxc/tools/lxc_cgroup.c
src/lxc/tools/lxc_checkpoint.c
src/lxc/tools/lxc_config.c
src/lxc/tools/lxc_console.c
src/lxc/tools/lxc_copy.c
src/lxc/tools/lxc_create.c
src/lxc/tools/lxc_destroy.c
src/lxc/tools/lxc_device.c
src/lxc/tools/lxc_execute.c
src/lxc/tools/lxc_freeze.c
src/lxc/tools/lxc_info.c
src/lxc/tools/lxc_ls.c
src/lxc/tools/lxc_monitor.c
src/lxc/tools/lxc_multicall.c [new file with mode: 0644]
src/lxc/tools/lxc_snapshot.c
src/lxc/tools/lxc_start.c
src/lxc/tools/lxc_stop.c
src/lxc/tools/lxc_top.c
src/lxc/tools/lxc_unfreeze.c
src/lxc/tools/lxc_unshare.c
src/lxc/tools/lxc_wait.c
src/lxc/tools/meson.build