OSDN Git Service

builddeb: clean generated package content
authorBastian Germann <bage@linutronix.de>
Tue, 25 May 2021 23:01:37 +0000 (01:01 +0200)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 26 Jan 2023 03:43:33 +0000 (12:43 +0900)
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>
scripts/package/mkdebian

index 6cf3832..c3bbef7 100755 (executable)
@@ -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