Only allow DASH_LINK_SH to be enabled if the /usr/bin/sh symbolic link is not being installed by BusyBox (unless overridden by ALLYES). Default to enabled if the link is not being installed by BusyBox.
Signed-off-by: Ian Abbott <[email protected]> --- rules/dash.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rules/dash.in b/rules/dash.in index 88ea87942..b9579c308 100644 --- a/rules/dash.in +++ b/rules/dash.in @@ -11,8 +11,13 @@ menuconfig DASH if DASH +comment "BusyBox sh is selected" + depends on BUSYBOX && !BUSYBOX_SH_IS_NONE + config DASH_LINK_SH bool + depends on !BUSYBOX || BUSYBOX_SH_IS_NONE || ALLYES + default !BUSYBOX || BUSYBOX_SH_IS_NONE prompt "link to /bin/sh" help Create a link "/bin/sh" that points to "/bin/dash". Select -- 2.43.0
