commit:     1217ef8f763e30c9751950b5635198ec1b6604df
Author:     Viorel Munteanu <ceamac.paragon <AT> gmail <DOT> com>
AuthorDate: Sun Apr 17 09:52:41 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 30 21:40:15 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1217ef8f

sys-apps/busybox: Add /bin/ash symlink

Closes: https://bugs.gentoo.org/738542
Signed-off-by: Viorel Munteanu <ceamac.paragon <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/busybox/busybox-1.34.1-r1.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys-apps/busybox/busybox-1.34.1-r1.ebuild 
b/sys-apps/busybox/busybox-1.34.1-r1.ebuild
index 258351783943..7a06b53d6e70 100644
--- a/sys-apps/busybox/busybox-1.34.1-r1.ebuild
+++ b/sys-apps/busybox/busybox-1.34.1-r1.ebuild
@@ -286,6 +286,9 @@ src_install() {
                insinto /etc
                doins examples/udhcp/udhcpd.conf
        fi
+       if busybox_config_enabled ASH && ! use make-symlinks; then
+               dosym -r /bin/busybox /bin/ash
+       fi
 
        # bundle up the symlink files for use later
        emake DESTDIR="${ED}" install

Reply via email to