Re: [PATCH] scripts/package: add back 'version' for builddeb

From: Bagas Sanjaya
Date: Tue Mar 21 2023 - 09:12:45 EST


On 3/20/23 18:08, David Wang wrote:
> Fixes: 36862e14e316 (kbuild: deb-pkg: use dh_listpackages to know
> enabled packages)
> The 'version' variable is still needed for building
> debian 'linux-headers' packages, add it back.
>
> Signed-off-by: David Wang <00107082@xxxxxxx>
> ---
> scripts/package/builddeb | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/scripts/package/builddeb b/scripts/package/builddeb
> index c5ae57167d7c..5102d0903f9c 100755
> --- a/scripts/package/builddeb
> +++ b/scripts/package/builddeb
> @@ -215,6 +215,7 @@ install_libc_headers () {
>
> rm -f debian/files
>
> +version=$KERNELRELEASE
> packages_enabled=$(dh_listpackages)
>
> for package in ${packages_enabled}

Hi,

Again, your patch looks like corrupted (tabs converted to spaces).
Please resubmit; this time; generate the patch via git-format-patch(1)
and then send the resulting patch with git-send-email(1).

Thanks.

--
An old man doll... just what I always wanted! - Clara