mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-18 10:27:00 +02:00
.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.
This commit is contained in:
parent
7dd3c27d07
commit
e8e2a31ce5
@ -34,7 +34,7 @@ done
|
|||||||
|
|
||||||
popd >/dev/null || exit
|
popd >/dev/null || exit
|
||||||
|
|
||||||
generate_patches sys-kernel coreos-{sources,kernel,modules} Linux
|
generate_patches sys-kernel coreos-sources Linux
|
||||||
|
|
||||||
apply_patches
|
apply_patches
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user