Skip to contentSkip to conversation

package/xen: xen tools needs bash at runtime

Buildroot Peter Korsgaard 1 participant 1 message Feb 1, 2025

lore
Share & tools
lore
#0 lore raw

commit: https://git.buildroot.net/buildroot/commit/?id=31d2e35cd6d63c4421eb93a40e88caa140bc6397
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2024.11.x

When the Xen tools are built, a number of init scripts are installed to the target.

Some of those Xen scripts require bash to run:
- /etc/init.d/S50xencommons
- /etc/init.d/S50xen-watchdog
- /etc/init.d/S60xendomains
- /etc/xen/scripts/launch-xenstore
- /usr/lib/xen/bin/xendomains

Make sure to select bash when the Xen tools are selected (we need to select "busybox show others" for that, too).

Cc Alistair Francis <[email protected]>
(cherry picked from commit bf18fd4cd183eab2e91b91d275fc62e2707b9182)
---
 package/xen/Config.in | 2 ++
 1 file changed, 2 insertions(+)
package/xen/Config.in +2 -0
index 577066666d..70a06f3cbf 100644
@@ -33,6 +33,8 @@ config BR2_PACKAGE_XEN_TOOLS
 	select BR2_PACKAGE_UTIL_LINUX_LIBUUID
 	select BR2_PACKAGE_YAJL
 	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
 	help
 	  The Xen tools can be accessed by the xl command.
 

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot