[elbe-devel] [PATCH] debianize/linux: use ${k_version}-${p_name} for package names

Manuel Traut manut at linutronix.de
Fri Nov 16 09:34:26 CET 2018


On Thu, Oct 25, 2018 at 03:38:55PM +0200, Philipp Rosenberger wrote:
> Use ${k_version}-${p_name} (e.g. linux-image-4.14-elbe) for package names.
> This is more like Debian names its linux packages. And the package name looks
> more like the uname.
> 
> Signed-off-by: Philipp Rosenberger <p.rosenberger at linutronix.de>
Reviewed-by: Manuel Traut <manut at linutronix.de>

and applied to devel/elbe-3.0

Thanks!

> ---
>  elbepack/makofiles/debianize/kernel/control.mako | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/elbepack/makofiles/debianize/kernel/control.mako b/elbepack/makofiles/debianize/kernel/control.mako
> index b5349fab..a0279377 100644
> --- a/elbepack/makofiles/debianize/kernel/control.mako
> +++ b/elbepack/makofiles/debianize/kernel/control.mako
> @@ -5,7 +5,7 @@
>  ##
>  ## SPDX-License-Identifier: GPL-3.0-or-later
>  ##
> -Source: linux-${p_name}-${k_version}
> +Source: linux-${k_version}-${p_name}
>  Section: kernel
>  Priority: optional
>  Maintainer: ${m_name} <${m_mail}>
> @@ -13,16 +13,16 @@ Build-Depends: debhelper (>= 9), bc, libelf-dev
>  Standards-Version: 3.8.4
>  Homepage: http://www.kernel.org/
>  
> -Package: linux-image-${p_name}-${k_version}
> +Package: linux-image-${k_version}-${p_name}
>  Depends: kmod | module-init-tools, linux-base (>= 3~), debconf (>= 0.5) | debconf-2.0, initramfs-tools (>= 0.99~) | linux-initramfs-tool, busybox
>  Pre-Depends: debconf | debconf-2.0
>  Provides: linux-image, linux-image-2.6
>  Architecture: ${p_arch}
> -Description: Linux kernel, version ${p_name} ${k_version}
> +Description: Linux kernel, version ${k_version} ${p_name}
>   This package contains the Linux kernel, modules and corresponding other
>   files
>  
> -Package: linux-headers-${p_name}-${k_version}
> +Package: linux-headers-${k_version}-${p_name}
>  Provides: linux-headers, linux-headers-2.6
>  Architecture: ${p_arch}
>  Description: Linux kernel headers
> @@ -30,7 +30,7 @@ Description: Linux kernel headers
>   .
>   This is useful for people who need to build external modules
>  
> -Package: linux-libc-dev-${p_name}-${k_version}
> +Package: linux-libc-dev-${k_version}-${p_name}
>  Provides: linux-libc-dev, linux-kernel-headers, linux-headers-2.6
>  Replaces: linux-libc-dev
>  Architecture: ${p_arch}
> -- 
> 2.19.1
> 
> 
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel



More information about the elbe-devel mailing list