1 |
commit: 1217ef8f763e30c9751950b5635198ec1b6604df |
2 |
Author: Viorel Munteanu <ceamac.paragon <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Apr 17 09:52:41 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 30 21:40:15 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1217ef8f |
7 |
|
8 |
sys-apps/busybox: Add /bin/ash symlink |
9 |
|
10 |
Closes: https://bugs.gentoo.org/738542 |
11 |
Signed-off-by: Viorel Munteanu <ceamac.paragon <AT> gmail.com> |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
sys-apps/busybox/busybox-1.34.1-r1.ebuild | 3 +++ |
15 |
1 file changed, 3 insertions(+) |
16 |
|
17 |
diff --git a/sys-apps/busybox/busybox-1.34.1-r1.ebuild b/sys-apps/busybox/busybox-1.34.1-r1.ebuild |
18 |
index 258351783943..7a06b53d6e70 100644 |
19 |
--- a/sys-apps/busybox/busybox-1.34.1-r1.ebuild |
20 |
+++ b/sys-apps/busybox/busybox-1.34.1-r1.ebuild |
21 |
@@ -286,6 +286,9 @@ src_install() { |
22 |
insinto /etc |
23 |
doins examples/udhcp/udhcpd.conf |
24 |
fi |
25 |
+ if busybox_config_enabled ASH && ! use make-symlinks; then |
26 |
+ dosym -r /bin/busybox /bin/ash |
27 |
+ fi |
28 |
|
29 |
# bundle up the symlink files for use later |
30 |
emake DESTDIR="${ED}" install |