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

(cherry picked from commit b74dc8a119)
This commit is contained in:
John Audia authored and Josef Schlehofer committed 2025-09-11 08:00:58 +02:00
1 parent 356f36a5d2
commit f4f7100fb8
1 file changed
+1 -1
+1 -1
View File
@@ -50,7 +50,7 @@ LXC_SCRIPTS += \
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
SECTION:=utils