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.
Patch posted for review: https://archives.gentoo.org/gentoo-portage-dev/message/5d0b41899c0f5b7193a15c01c093e901 https://github.com/gentoo/portage/pull/632
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(-)
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(+)