Skip to contentSkip to conversation

busybox: Provide /bin/ash when usrmerge is enabled

PATCH New Wes Lindauer 1 participant 1 message Nov 14, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 busybox: Provide /bin/ash when usrmerge is enabled

When usrmerge is enabled, scripts that were explicitly using #!/bin/ash will cause a QA Error like the following:

QA Issue: bar.sh contained in package foo requires /bin/ash, but no providers found in RDEPENDS_foo? [file-rdeps].

It seems perfectly acceptable for scripts to use /bin/ash so provide it along with /bin/sh.

---
 meta/recipes-core/busybox/busybox.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/busybox/busybox.inc +1 -1
index 10582a7534..c07162f6b4 100644
@@ -454,4 +454,4 @@ pkg_prerm_${PN}-syslog () {
 	fi
 }
 
-RPROVIDES_${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', '/bin/sh', '', d)}"
+RPROVIDES_${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', '/bin/sh /bin/ash', '', d)}"
Signature · 1 line
2.14.5