From 5ab0ba0d213275c7a1ce89a5b75f00c0a9dc1f30 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Sat, 3 Aug 2024 10:42:00 +0100 Subject: [PATCH] Create user-patches symlink in the Catalyst stage 4 fsscript Otherwise packages subsequently built by this script do not have the patches applied. Signed-off-by: James Le Cuirot --- build_library/catalyst_sdk.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build_library/catalyst_sdk.sh b/build_library/catalyst_sdk.sh index 742b04f86c..753e60a941 100644 --- a/build_library/catalyst_sdk.sh +++ b/build_library/catalyst_sdk.sh @@ -4,6 +4,9 @@ set -e source /tmp/chroot-functions.sh source /tmp/toolchain_util.sh +ln -vsfT "$(portageq get_repo_path / coreos-overlay)/coreos/user-patches" \ + /etc/portage/patches + echo "Double checking everything is fresh and happy." run_merge -uDN --with-bdeps=y world