Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 845497 Details for
Bug 888781
app-alternatives/sh: please add sys-apps/busybox
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
app-alternatives-sh-busybox.patch
file_888781.txt (text/plain), 1.11 KB, created by
Sam James
on 2022-12-28 19:56:46 UTC
(
hide
)
Description:
app-alternatives-sh-busybox.patch
Filename:
MIME Type:
Creator:
Sam James
Created:
2022-12-28 19:56:46 UTC
Size:
1.11 KB
patch
obsolete
>diff --git a/app-alternatives/sh/sh-0.ebuild b/app-alternatives/sh/sh-0.ebuild >index 4cd530a89d9c..faaa71008cce 100644 >--- a/app-alternatives/sh/sh-0.ebuild >+++ b/app-alternatives/sh/sh-0.ebuild >@@ -5,6 +5,7 @@ EAPI=8 > > ALTERNATIVES=( > bash:app-shells/bash >+ busybox:sys-apps/busybox > dash:app-shells/dash > ksh:app-shells/ksh > "lksh:app-shells/mksh[lksh]" >@@ -20,6 +21,17 @@ RDEPEND=" > !!app-eselect/eselect-sh > " > >+pkg_setup() { >+ if [[ -z ${ROOT} ]] && use busybox ; then >+ if busybox bbconfig | grep -q "CONFIG_FEATURE_SH_STANDALONE=y" ; then >+ ewarn "busybox is configured with CONFIG_FEATURE_SH_STANDALONE=y!" >+ ewarn "This is not a safe configuration for busybox as /bin/sh." >+ ewarn "Please use savedconfig to disable CONFIG_FEATURE_SH_STANDALONE on busybox." >+ die "Aborting due to unsafe Busybox configuration (CONFIG_FEATURE_SH_STANDALONE=y)!" >+ fi >+ fi >+} >+ > src_install() { > dosym "$(get_alternative)" /bin/sh || die > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 888781
: 845497