Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnitTestFrameworkPkg: Use TianoCore mirror of subhook submodule #3

Merged
merged 1 commit into from
Nov 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions pkgs/uefi-firmware/edk2/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,25 @@ let
# See: https://github.com/NVIDIA/edk2-edkrepo-manifest/blob/main/edk2-nvidia/Jetson/NVIDIAJetsonManifest.xml

edk2-src = applyPatches {
src = fetchFromGitHub {
src = (fetchFromGitHub {
name = "edk2-src";
owner = "NVIDIA";
repo = "edk2";
rev = "r${l4tVersion}";
fetchSubmodules = true;
sha256 = "sha256-FmQHcCbSXdeNS1/u5xlhazhP75nRyNuCK1D5AREQsIA=";
};
}).overrideAttrs
{
# Workaround to for unavailable https://github.com/Zeex/subhook
# Change subhook url from https://github.com/Zeex/subhook to
# https://github.com/tianocore/edk2-subhook because old url is
# no longer available.
#
# Will be fixed after r36.5.0, so delete then.
GIT_CONFIG_COUNT = 1;
GIT_CONFIG_KEY_0 = "url.https://github.com/tianocore/edk2-subhook.git.insteadOf";
GIT_CONFIG_VALUE_0 = "https://github.com/Zeex/subhook.git";
};
patches = edk2UefiPatches ++ [
(fetchpatch {
name = "CVE-2022-36764.patch";
Expand Down
Loading