summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastian Germann <bage@linutronix.de>2021-05-26 02:01:37 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-10 11:33:41 +0300
commit9753f5ce9ce712afec97b74a535d9fd2b0e92ae4 (patch)
tree4a5774416b936e914998a2e5b55d817860397a30
parent8570655c0f9b3b82d4ae7f65c976efe2cb0cbbe2 (diff)
downloadlinux-9753f5ce9ce712afec97b74a535d9fd2b0e92ae4.tar.xz
builddeb: clean generated package content
[ Upstream commit c9f9cf2560e40b62015c6c4a04be60f55ce5240e ] For each binary Debian package, a directory with the package name is created in the debian directory. Correct the generated file matches in the package's clean target, which were renamed without adjusting the target. Fixes: 1694e94e4f46 ("builddeb: match temporary directory name to the package name") Signed-off-by: Bastian Germann <bage@linutronix.de> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
-rwxr-xr-xscripts/package/mkdebian2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/package/mkdebian b/scripts/package/mkdebian
index a3ac5a716e9f..5be7e627e751 100755
--- a/scripts/package/mkdebian
+++ b/scripts/package/mkdebian
@@ -236,7 +236,7 @@ binary-arch: build-arch
KBUILD_BUILD_VERSION=${revision} -f \$(srctree)/Makefile intdeb-pkg
clean:
- rm -rf debian/*tmp debian/files
+ rm -rf debian/files debian/linux-*
\$(MAKE) clean
binary: binary-arch