mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-25 07:31:01 +02:00
overlay coreos/user-patches: Add a patch for sys-apps/pkgcore
This commit is contained in:
parent
cebbe8f683
commit
2d1c959b8f
@ -0,0 +1,28 @@
|
|||||||
|
From dd76e415b2a707d31a125201c5d21aadb07282a7 Mon Sep 17 00:00:00 2001
|
||||||
|
From: James Le Cuirot <chewi@gentoo.org>
|
||||||
|
Date: Tue, 11 Jun 2024 15:39:25 +0100
|
||||||
|
Subject: [PATCH] ebuild.profiles: Fix case where a parent path omits the repo
|
||||||
|
identifier
|
||||||
|
|
||||||
|
According "SPECIFIC FILE DESCRIPTIONS" in `man portage`, it is valid to
|
||||||
|
have a parent path like `:path/to/profile` where the repo identifier is
|
||||||
|
missing. This refers to a path in the current repo.
|
||||||
|
|
||||||
|
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
|
||||||
|
---
|
||||||
|
src/pkgcore/ebuild/profiles.py | 2 ++
|
||||||
|
1 file changed, 2 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/src/pkgcore/ebuild/profiles.py b/src/pkgcore/ebuild/profiles.py
|
||||||
|
index 384e41e22..fea1eacc7 100644
|
||||||
|
--- a/src/pkgcore/ebuild/profiles.py
|
||||||
|
+++ b/src/pkgcore/ebuild/profiles.py
|
||||||
|
@@ -254,6 +254,8 @@ def parent_paths(self, data):
|
||||||
|
f"unknown repo {repo_id!r}"
|
||||||
|
)
|
||||||
|
continue
|
||||||
|
+ else:
|
||||||
|
+ location = repo_config.location
|
||||||
|
l.append(
|
||||||
|
(
|
||||||
|
abspath(pjoin(location, "profiles", profile_path)),
|
2
sdk_container/src/third_party/coreos-overlay/coreos/user-patches/sys-apps/pkgcore/README.md
vendored
Normal file
2
sdk_container/src/third_party/coreos-overlay/coreos/user-patches/sys-apps/pkgcore/README.md
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
The `0001-build-profiles-patch.patch` patch can be dropped when we
|
||||||
|
update sys-apps/pkgcore to version greater than `0.12.27`.
|
Loading…
x
Reference in New Issue
Block a user