Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 81128 Details for
Bug 124621
portage-2.1_pre5 emerge-webrsync error "nice: invalid priority"
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix niceness handling
emerge-webrsync-niceness.patch (text/plain), 1.00 KB, created by
Zac Medico
on 2006-03-02 11:20:21 UTC
(
hide
)
Description:
fix niceness handling
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2006-03-02 11:20:21 UTC
Size:
1.00 KB
patch
obsolete
>diff -Nur portage-2.1_pre5/bin/emerge-webrsync portage-2.1_pre5-r3/bin/emerge-webrsync >--- portage-2.1_pre5/bin/emerge-webrsync 2006-02-03 22:56:26.000000000 -0800 >+++ portage-2.1_pre5-r3/bin/emerge-webrsync 2006-03-02 11:16:10.000000000 -0800 >@@ -5,13 +5,11 @@ > # Author: Karl Trygve Kalleberg <karltk@gentoo.org> > # Rewritten from the old, Perl-based emerge-webrsync script > >-if [ -z "$PULLED_NICENESS" ]; then >- PULLED_NICENESS="$(/usr/lib/portage/bin/portageq envvar PORTAGE_NICENESS)" >- if [ -n "$PULLED_NICENESS" ]; then >- export PULLED_NICENESS >- exec nice -n $PORTAGE_NICENESS "$0" "$@" >- echo "failed pulling PORTAGE_NICENESS, disabling" >- fi >+# If PORTAGE_NICENESS is overriden via the env then it will >+# still pass through the portageq call and override properly. >+PORTAGE_NICENESS="$(/usr/lib/portage/bin/portageq envvar PORTAGE_NICENESS)" >+if [ -n "${PORTAGE_NICENESS}" ]; then >+ renice $PORTAGE_NICENESS $$ > /dev/null > fi > > GENTOO_MIRRORS="${GENTOO_MIRRORS} $(/usr/lib/portage/bin/portageq gentoo_mirrors)"
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 124621
: 81128