Re: [PATCH 3/6] builddeb: clean generated package content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Apr 11, 2021 at 7:14 PM <bage@xxxxxxxxxxxxx> wrote:
>
> From: Bastian Germann <bage@xxxxxxxxxxxxx>
>
> For each binary Debian package, a directory with the package name is
> created in the debian directory. Include the generated files in the
> package's clean target.
>
> Signed-off-by: Bastian Germann <bage@xxxxxxxxxxxxx>
> ---
>  scripts/package/mkdebian | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/package/mkdebian b/scripts/package/mkdebian
> index 2fa149796791..717223ef6b03 100755
> --- a/scripts/package/mkdebian
> +++ b/scripts/package/mkdebian
> @@ -246,7 +246,7 @@ binary-arch: build-arch
>         KBUILD_BUILD_VERSION=${revision} -f \$(srctree)/Makefile intdeb-pkg
>
>  clean:
> -       rm -rf debian/*tmp debian/files
> +       rm -rf debian/*tmp debian/files debian/linux-*
>         \$(MAKE) clean
>
>  binary: binary-arch
> --
> 2.30.2
>


Please also remove debian/*tmp.


Add this tag:

Fixes: 1694e94e4f46 ("builddeb: match temporary directory name to the
package name")


-- 
Best Regards
Masahiro Yamada



[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux