summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViorel Munteanu <ceamac.paragon@gmail.com>2022-04-17 12:52:41 +0300
committerSam James <sam@gentoo.org>2022-06-30 21:40:15 +0000
commit1217ef8f763e30c9751950b5635198ec1b6604df (patch)
tree6c22ad9111a23aab76e2d699a4d069b955eeab58 /sys-apps
parentsys-apps/busybox: Fix bashism in udhcpc script (diff)
downloadgentoo-1217ef8f763e30c9751950b5635198ec1b6604df.tar.gz
gentoo-1217ef8f763e30c9751950b5635198ec1b6604df.tar.bz2
gentoo-1217ef8f763e30c9751950b5635198ec1b6604df.zip
sys-apps/busybox: Add /bin/ash symlink
Closes: https://bugs.gentoo.org/738542 Signed-off-by: Viorel Munteanu <ceamac.paragon@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/busybox/busybox-1.34.1-r1.ebuild3
1 files changed, 3 insertions, 0 deletions
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