From 68c56b0c1189004140488fa13385788bb33d4655 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Fri, 9 Dec 2022 16:14:52 +0100 Subject: [PATCH] coreos/user-patches: New directory for user-patches --- .../coreos-overlay/coreos/user-patches/README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/user-patches/README.md diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/user-patches/README.md b/sdk_container/src/third_party/coreos-overlay/coreos/user-patches/README.md new file mode 100644 index 0000000000..c7f7d1418c --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/user-patches/README.md @@ -0,0 +1,14 @@ +This directory gets symlinked from `${ROOT}/etc/portage/patches`. It +may contain patches for packages that will be applied during the +prepare phase. Basic usage of this directory is more or less as +follows: if you have a patch for e.g. the sys-devel/gcc package then +create a `sys-devel/gcc` directory and drop the patch there. The patch +needs to end with either `.patch` or `.diff` to be picked up. Ideally +the patches should be prefixed with a number (`git format-patch` +style) so the order of patch application is obvious. Also remember +that you can't patch ebuild files that way. + +For more details about user patches, please refer to Gentoo Wiki page +about it: + +https://wiki.gentoo.org/wiki//etc/portage/patches