lxc: add gnu-tar as a depends to fix lxc-create

Add gnu-tar as a dependency for lxc-create which is needed to
properly extract the root file system tarball. Without it,
symlink target of /bin/tar is busybox and it lacks proper
support to extract with xattrs.  The default gnu-tar is actually
built without this support as well, but it is able to extract
the rootfs tarballs with a warning not an error which is not the
case with busybox which ends in an error.

Signed-off-by: John Audia <therealgraysky@proton.me>

Build system: x86/64
Build-tested: x86/64/AMD Cezanne
Run-tested: x86/64/AMD Cezanne
This commit is contained in:
John Audia
2024-07-12 13:57:10 -04:00
committed by Tianling Shen
parent 51ba51011e
commit b74dc8a119

View File

@@ -50,7 +50,7 @@ LXC_SCRIPTS += \
DEPENDS_APPLETS = +libpthread +libcap +liblxc DEPENDS_APPLETS = +libpthread +libcap +liblxc
DEPENDS_create = +lxc-configs +lxc-hooks +lxc-templates +flock +getopt DEPENDS_create = +lxc-configs +lxc-hooks +lxc-templates +flock +getopt +tar
define Package/lxc/Default define Package/lxc/Default
SECTION:=utils SECTION:=utils