diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2023-01-22 17:14:21 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2023-01-30 07:00:30 +0300 |
commit | f6e09b07cc12a4d104bb19fe7566b0636f60c413 (patch) | |
tree | 349dc3e4cb9940aa3e392ceeaab29d5501010473 /scripts/remove-stale-files | |
parent | c9f9cf2560e40b62015c6c4a04be60f55ce5240e (diff) | |
download | linux-f6e09b07cc12a4d104bb19fe7566b0636f60c413.tar.xz |
kbuild: do not put .scmversion into the source tarball
.scmversion is used by (src)rpm-pkg and deb-pkg to carry KERNELRELEASE.
In fact, deb-pkg does not rely on it any more because the generated
debian/rules specifies KERNELRELEASE from the command line.
Do likwise for (src)rpm-pkg, and remove this feature.
For the same reason, you do not need to save LOCALVERSION in the
spec file.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
Diffstat (limited to 'scripts/remove-stale-files')
-rwxr-xr-x | scripts/remove-stale-files | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/remove-stale-files b/scripts/remove-stale-files index 04fcdf739638..7f432900671a 100755 --- a/scripts/remove-stale-files +++ b/scripts/remove-stale-files @@ -31,3 +31,5 @@ rm -f scripts/kconfig/[gmnq]conf-cfg rm -f rust/target.json rm -f scripts/bin2c + +rm -f .scmversion |