From 0f2985ddd4ca3e00ce1c82ba702e2f18513748fd Mon Sep 17 00:00:00 2001 From: Andrew Lukoshko Date: Tue, 26 Aug 2025 09:49:59 +0000 Subject: [PATCH] Remove .git from kernel sources --- config.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config.yaml b/config.yaml index 0cf4af7..76da627 100644 --- a/config.yaml +++ b/config.yaml @@ -291,6 +291,16 @@ actions: Source480: %{name}-x86_64_v2-rt-rhel.config Source481: %{name}-x86_64_v2-rt-debug-rhel.config count: 1 + - target: "spec" + find: | + cd linux-%{KVERREL} + cp -a %{SOURCE1} . + replace: | + cd linux-%{KVERREL} + #removal of git history + rm -rf .git + cp -a %{SOURCE1} . + count: 1 - run_script: - script: "create_symlinks.sh"