Commit e1287eb891e326ea8451b03ba1f9b0d66abdb13d
Committed by
Michal Marek
1 parent
0ce790e7d7
Exists in
master
and in
7 other branches
Replace '-' in kernel version with '_'
Removing the '-' results in hard to read filenames such as: kernel-2.6.35.2000042g76e4caf-28.x86_64.rpm kernel-2.6.35.2_000042_g76e4caf-28.x86_64.rpm is easier to read. Signed-off-by: Arun Sharma <asharma@fb.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
Showing 2 changed files with 2 additions and 2 deletions Side-by-side Diff
scripts/package/Makefile
... | ... | @@ -26,7 +26,7 @@ |
26 | 26 | else echo rpm; fi) |
27 | 27 | |
28 | 28 | # Remove hyphens since they have special meaning in RPM filenames |
29 | -KERNELPATH := kernel-$(subst -,,$(KERNELRELEASE)) | |
29 | +KERNELPATH := kernel-$(subst -,_,$(KERNELRELEASE)) | |
30 | 30 | MKSPEC := $(srctree)/scripts/package/mkspec |
31 | 31 | PREV := set -e; cd ..; |
32 | 32 |
scripts/package/mkspec