Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 278483 Details for
Bug 373341
env-update shall pass '-X' to ldconfig in order not to update SONAME symlinks
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
A patch for portage
0001-Don-t-ever-recreate-root-.so-links-on-env-update.patch (text/plain), 1.73 KB, created by
Michał Górny
on 2011-06-28 13:55:34 UTC
(
hide
)
Description:
A patch for portage
Filename:
MIME Type:
Creator:
Michał Górny
Created:
2011-06-28 13:55:34 UTC
Size:
1.73 KB
patch
obsolete
>From 268d114e90cf3d20a816e194a5d8711e65060983 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> >Date: Tue, 28 Jun 2011 10:10:36 +0200 >Subject: [PATCH] Don't ever recreate root .so links on env-update. > >We install .so symlinks with packages, so let's use that instead of >letting ldconfig update them for no reason. This should fix problems >with preserved-libs. >--- > man/env-update.1 | 3 +-- > pym/portage/util/env_update.py | 5 +---- > 2 files changed, 2 insertions(+), 6 deletions(-) > >diff --git a/man/env-update.1 b/man/env-update.1 >index b175379..4561ab4 100644 >--- a/man/env-update.1 >+++ b/man/env-update.1 >@@ -17,8 +17,7 @@ first. > .SH OPTIONS > .TP > .B \-\-no\-ldconfig >-Do not run ldconfig (and thus skip rebuilding the ldso cache, updating the >-links in library paths, etc...). >+Do not run ldconfig (and thus skip rebuilding the ld.so cache, etc...). > .SH "REPORTING BUGS" > Please report bugs via http://bugs.gentoo.org/ > .SH AUTHORS >diff --git a/pym/portage/util/env_update.py b/pym/portage/util/env_update.py >index a89f2e2..a82afdf 100644 >--- a/pym/portage/util/env_update.py >+++ b/pym/portage/util/env_update.py >@@ -248,10 +248,7 @@ def env_update(makelinks=1, target_root=None, prev_mtimes=None, contents=None, > # we can safely create links. > writemsg_level(_(">>> Regenerating %setc/ld.so.cache...\n") % \ > (target_root,)) >- if makelinks: >- os.system("cd / ; %s -r '%s'" % (ldconfig, target_root)) >- else: >- os.system("cd / ; %s -X -r '%s'" % (ldconfig, target_root)) >+ os.system("cd / ; %s -X -r '%s'" % (ldconfig, target_root)) > elif ostype in ("FreeBSD","DragonFly"): > writemsg_level(_(">>> Regenerating %svar/run/ld-elf.so.hints...\n") % \ > target_root) >-- >1.7.6 >
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 373341
: 278483