commit: 6417df1f8e35895ba12b71381a57c15406cc5999 Author: Zac Medico <zmedico <AT> gentoo <DOT> org> AuthorDate: Thu Jan 2 03:09:49 2025 +0000 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> CommitDate: Thu Jan 2 03:22:55 2025 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=6417df1f
binarytree.move_ent: Allocate path with binpkg_format Bug: https://bugs.gentoo.org/923530 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> NEWS | 2 ++ lib/portage/dbapi/bintree.py | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index d59eeffc99..83aa4d898c 100644 --- a/NEWS +++ b/NEWS @@ -31,6 +31,8 @@ Bug fixes: * Pass through MAKEFLAGS and exclude from environment.bz2 (bug #692576). +* binarytree.move_ent: Allocate path with binpkg_format (bug #923530). + portage-3.0.66.1 (2024-09-18) -------------- diff --git a/lib/portage/dbapi/bintree.py b/lib/portage/dbapi/bintree.py index a63652c7e0..812a7af8ef 100644 --- a/lib/portage/dbapi/bintree.py +++ b/lib/portage/dbapi/bintree.py @@ -796,7 +796,9 @@ class binarytree: # assuming that it will be deleted by eclean-pkg when its # time comes. mynewcpv = _pkg_str(mynewcpv, metadata=metadata, db=self.dbapi) - allocated_pkg_path = self.getname(mynewcpv, allocate_new=True) + allocated_pkg_path = self.getname( + mynewcpv, allocate_new=True, remote_binpkg_format=binpkg_format + ) update_path = allocated_pkg_path + ".partial" self._ensure_dir(os.path.dirname(update_path)) update_path_lock = None
