From e8e2a31ce583bff65add15dbabdf65534b903b49 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Thu, 18 Feb 2021 16:27:38 +0100 Subject: [PATCH] .github: Fix invocation to generate_patches in kernel job generate_patches takes three parameters - a category, a package name and a description. Invoking the function like `generate_patches sys-kernel coreos-{sources,modules,kernel} Linux` makes "sys-kernel" to be a category, "coreos-sources" to be a package name and "coreos-modules" to become a description, while "coreos-kernel" and "Linux" are simply ignored. It has worked so far only because coreos-sources was first in the list and that's where the actual changes in Manifest file happened. Had the order of the packages been different, the workflow would be broken. Since only coreos-sources was modified and all worked fine, simplify the call to generate-patches. --- .../coreos-overlay/.github/workflows/kernel-apply-patch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/coreos-overlay/.github/workflows/kernel-apply-patch.sh b/sdk_container/src/third_party/coreos-overlay/.github/workflows/kernel-apply-patch.sh index 722568fd17..37ad227377 100755 --- a/sdk_container/src/third_party/coreos-overlay/.github/workflows/kernel-apply-patch.sh +++ b/sdk_container/src/third_party/coreos-overlay/.github/workflows/kernel-apply-patch.sh @@ -34,7 +34,7 @@ done popd >/dev/null || exit -generate_patches sys-kernel coreos-{sources,kernel,modules} Linux +generate_patches sys-kernel coreos-sources Linux apply_patches