From b28d21fa9238c4bb8bc577661a48ca109f87f9af Mon Sep 17 00:00:00 2001 From: Alexander Mikhalitsyn Date: Wed, 6 Nov 2024 16:17:32 +0100 Subject: [PATCH] snapcraft: edk2: fix subhook submodule url Also, we don't need cmocka submodule url fixup anymore as: https://github.com/tianocore/edk2/commit/2ad22420a710dc07e3b644f91a5b55c09c39ecf3 Suggested-by: Thomas Parrott Signed-off-by: Alexander Mikhalitsyn (cherry picked from commit 1c5f2f32b3c45b672ea397af974597670cbccd70) --- snapcraft.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/snapcraft.yaml b/snapcraft.yaml index 75dda70b..e0bac839 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -346,7 +346,8 @@ parts: git config user.name "LXD snap builder" # Fix submodules - sed -i "s#https://git.cryptomilk.org/projects/cmocka#https://gitlab.com/cmocka/cmocka#g" .gitmodules + # see https://github.com/tianocore/edk2/commit/95d8a1c255cfb8e063d679930d08ca6426eb5701 + sed -i "s#https://github.com/Zeex/subhook.git#https://github.com/tianocore/edk2-subhook.git#g" .gitmodules git submodule update --init --recursive # Apply patches