Skip to content

Commit

Permalink
binarytree.move_ent: Allocate path with binpkg_format
Browse files Browse the repository at this point in the history
Bug: https://bugs.gentoo.org/923530
Signed-off-by: Zac Medico <[email protected]>
  • Loading branch information
zmedico committed Jan 2, 2025
1 parent 33dac2d commit 6417df1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -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)
--------------

Expand Down
4 changes: 3 additions & 1 deletion lib/portage/dbapi/bintree.py
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,9 @@ def move_ent(self, mylist, repo_match=None):
# 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
Expand Down

0 comments on commit 6417df1

Please sign in to comment.