package/xen: xen tools need coreutils stat at runtime

Xen tools scripts need the stat program from coreutils to work
correctly, and not the one from busybox.
One such example is the /etc/xen/scripts/locking.sh script, which will
cause timeouts for operations such as "xl block-attach", or when
starting a DomU with a disk.

Add the dependency on coreutils to fix this.

Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com>
Cc: Alistair Francis <alistair@alistair23.me>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit ca23f860d1)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
Vincent Stehlé
2026-01-09 17:38:15 +01:00
committed by Thomas Perale
parent e35028d708
commit dc3e25cbee

View File

@@ -35,6 +35,7 @@ config BR2_PACKAGE_XEN_TOOLS
select BR2_PACKAGE_ARGP_STANDALONE if !BR2_TOOLCHAIN_USES_GLIBC
select BR2_PACKAGE_BASH # runtime (scripts)
select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS if BR2_PACKAGE_BUSYBOX # bash
select BR2_PACKAGE_COREUTILS # runtime (stat)
help
The Xen tools can be accessed by the xl command.