Remove .git from kernel sources
This commit is contained in:
parent
966360efb3
commit
0f2985ddd4
10
config.yaml
10
config.yaml
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user