Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 752066 - sys-apps/portage: add emerge --quickpkg-direct-root option to install packages from an alternative root
Summary: sys-apps/portage: add emerge --quickpkg-direct-root option to install package...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 752168
  Show dependency tree
 
Reported: 2020-11-01 00:29 UTC by Zac Medico
Modified: 2020-11-22 07:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zac Medico gentoo-dev 2020-11-01 00:29:48 UTC
The emerge --quickpkg-direct option allows installation of packages into a target root, but currently the source root is hardcoded to /. A --quickpkg-direct-root option will make it possible to use --quickpkg-direct to install packages from an alternative root, and will allow the target root to be / if desired.
Comment 2 Larry the Git Cow gentoo-dev 2020-11-02 01:26:12 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/portage.git/commit/?id=15ac405fecf3e52ffd93d9a34e472bdc18604a4f

commit 15ac405fecf3e52ffd93d9a34e472bdc18604a4f
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2020-11-01 05:19:02 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2020-11-01 22:25:27 +0000

    emerge: add --quickpkg-direct-root option
    
    Specify the root to use as the --quickpkg-direct package source. This
    root is assumed to be immutable during the entire emerge operation.
    The default is set to "/".
    
    Bug: https://bugs.gentoo.org/752066
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 lib/_emerge/actions.py                  | 19 ++++++++++++++++---
 lib/_emerge/depgraph.py                 | 11 +++++++++--
 lib/_emerge/main.py                     |  5 +++++
 lib/portage/tests/emerge/test_simple.py |  3 ++-
 man/emerge.1                            | 10 ++++++++--
 5 files changed, 40 insertions(+), 8 deletions(-)
Comment 3 Larry the Git Cow gentoo-dev 2020-11-02 02:01:35 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43cc36f055d6c4fd9c8761ecb50f57027180a1dd

commit 43cc36f055d6c4fd9c8761ecb50f57027180a1dd
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2020-11-02 01:57:51 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2020-11-02 01:58:00 +0000

    sys-apps/portage: Bump to version 3.0.9
    
     #199722 Enable QA Notice for deprecated hasq/useq in *rm phases
     #704498 Fix pid-sandbox to handle Ctrl+Z correctly
     #752066 Add emerge --quickpkg-direct-root option
     #752147 Fix make.conf to expand special *ROOT variables
     #752153 Add @golang-rebuild package set
    
    Bug: https://bugs.gentoo.org/752168
    Bug: https://bugs.gentoo.org/199722
    Bug: https://bugs.gentoo.org/704498
    Bug: https://bugs.gentoo.org/752066
    Bug: https://bugs.gentoo.org/752147
    Bug: https://bugs.gentoo.org/752153
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 sys-apps/portage/Manifest             |   1 +
 sys-apps/portage/portage-3.0.9.ebuild | 267 ++++++++++++++++++++++++++++++++++
 2 files changed, 268 insertions(+)