Remove .git from kernel sources

This commit is contained in:
Andrew Lukoshko 2025-08-26 09:49:59 +00:00
parent 966360efb3
commit 0f2985ddd4

View File

@ -291,6 +291,16 @@ actions:
Source480: %{name}-x86_64_v2-rt-rhel.config Source480: %{name}-x86_64_v2-rt-rhel.config
Source481: %{name}-x86_64_v2-rt-debug-rhel.config Source481: %{name}-x86_64_v2-rt-debug-rhel.config
count: 1 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: - run_script:
- script: "create_symlinks.sh" - script: "create_symlinks.sh"