From 24984c5fafad7862bbbd916c260775f97b929ffa Mon Sep 17 00:00:00 2001 From: jmxnzo Date: Mon, 2 Dec 2024 14:42:42 +0100 Subject: [PATCH] cli: add comments and genpolicy to patch name --- ...npolicy-include-reference-in-logs-when-auth-failure.patch} | 0 packages/by-name/kata/kata-runtime/package.nix | 4 +++- ...npolicy-include-reference-in-logs-when-auth-failure.patch} | 0 packages/by-name/microsoft/genpolicy/package.nix | 4 ++-- 4 files changed, 5 insertions(+), 3 deletions(-) rename packages/by-name/kata/kata-runtime/{0017-Include-reference-in-logs-when-auth-failure.patch => 0017-genpolicy-include-reference-in-logs-when-auth-failure.patch} (100%) rename packages/by-name/microsoft/genpolicy/{0008-Include-reference-in-logs-when-auth-failure.patch => 0008-genpolicy-include-reference-in-logs-when-auth-failure.patch} (100%) diff --git a/packages/by-name/kata/kata-runtime/0017-Include-reference-in-logs-when-auth-failure.patch b/packages/by-name/kata/kata-runtime/0017-genpolicy-include-reference-in-logs-when-auth-failure.patch similarity index 100% rename from packages/by-name/kata/kata-runtime/0017-Include-reference-in-logs-when-auth-failure.patch rename to packages/by-name/kata/kata-runtime/0017-genpolicy-include-reference-in-logs-when-auth-failure.patch diff --git a/packages/by-name/kata/kata-runtime/package.nix b/packages/by-name/kata/kata-runtime/package.nix index 47752f1b2..1eaf4e23c 100644 --- a/packages/by-name/kata/kata-runtime/package.nix +++ b/packages/by-name/kata/kata-runtime/package.nix @@ -93,7 +93,9 @@ buildGoModule rec { ./0014-kata-sys-util-remove-obsolete-cgroups-dependency.patch ./0015-kata-sys-util-move-json-parsing-to-protocols-crate.patch ./0016-protocols-only-build-RLimit-impls-on-Linux.patch - ./0017-Include-reference-in-logs-when-auth-failure.patch + + # Simple genpolicy logging patch to include the repository reference in case of authentication failure + ./0017-genpolicy-include-reference-in-logs-when-auth-failure.patch ]; }; diff --git a/packages/by-name/microsoft/genpolicy/0008-Include-reference-in-logs-when-auth-failure.patch b/packages/by-name/microsoft/genpolicy/0008-genpolicy-include-reference-in-logs-when-auth-failure.patch similarity index 100% rename from packages/by-name/microsoft/genpolicy/0008-Include-reference-in-logs-when-auth-failure.patch rename to packages/by-name/microsoft/genpolicy/0008-genpolicy-include-reference-in-logs-when-auth-failure.patch diff --git a/packages/by-name/microsoft/genpolicy/package.nix b/packages/by-name/microsoft/genpolicy/package.nix index 41e531ea0..a3374c9b9 100644 --- a/packages/by-name/microsoft/genpolicy/package.nix +++ b/packages/by-name/microsoft/genpolicy/package.nix @@ -59,8 +59,8 @@ rustPlatform.buildRustPackage rec { # to Microsofts genpolicy. # TODO(miampf): remove when picked up by microsoft/kata-containers fork. ./0007-genpolicy-support-for-VOLUME-definition-in-container.patch - - ./0008-Include-reference-in-logs-when-auth-failure.patch + # Simple genpolicy logging patch to include the repository reference in case of authentication failure + ./0008-genpolicy-include-reference-in-logs-when-auth-failure.patch ]; };