Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 74448 Details for
Bug 97074
etc-update calls portageq thrice, is very slow.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
faster-etc-update
faster-etc-update (text/plain), 865 bytes, created by
Harald van Dijk (RETIRED)
on 2005-12-10 11:31:50 UTC
(
hide
)
Description:
faster-etc-update
Filename:
MIME Type:
Creator:
Harald van Dijk (RETIRED)
Created:
2005-12-10 11:31:50 UTC
Size:
865 bytes
patch
obsolete
>--- portage-2.0.53/bin/etc-update >+++ portage-2.0.53/bin/etc-update >@@ -12,7 +12,12 @@ > > export PORTAGE_CALLER="etc-update" > >-eval $(python -c 'import portage; print "export PORTAGE_TMPDIR="+portage.settings["PORTAGE_TMPDIR"];') >+eval "$(python <<\EOF >+import portage, re >+for var in "CONFIG_PROTECT", "CONFIG_PROTECT_MASK", "PORTAGE_TMPDIR": >+ print var+"='"+re.sub("'", "'\\''", portage.settings[var])+"'" >+EOF >+)" > > if type -p gsed >/dev/null ; then > function sed() { gsed "$@"; } >@@ -366,10 +371,6 @@ > rm -rf ${TMP} 2> /dev/null > mkdir ${TMP} || die "failed mkdir command!" 1 > >-# I need the CONFIG_PROTECT value >-CONFIG_PROTECT=$(/usr/lib/portage/bin/portageq config_protect) >-CONFIG_PROTECT_MASK=$(/usr/lib/portage/bin/portageq config_protect_mask) >- > # load etc-config's configuration > EU_AUTOMERGE=`get_config eu_automerge` > rm_opts=`get_config rm_opts`
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 97074
:
61928
| 74448