[elbe-devel] [PATCH 1/1] debianize kernel: fix linux-libc-dev package being empty

Bastian Germann bage at linutronix.de
Fri Sep 27 15:19:15 CEST 2019


> an install file is missing for linux-libc-dev resulting in an empty
> package.
> 
> add the install file for /usr/include/* to the template directory,
> and add it to the copy rename code.
> 
> Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>

Reviewed-by: Bastian Germann <bage at linutronix.de>

> ---
>  elbepack/debianize/panels/kernel.py                        | 2 ++
>  elbepack/makofiles/debianize/kernel/linux-libc-dev.install | 1 +
>  2 files changed, 3 insertions(+)
>  create mode 100644 elbepack/makofiles/debianize/kernel/linux-libc-dev.install
> 
> diff --git a/elbepack/debianize/panels/kernel.py b/elbepack/debianize/panels/kernel.py
> index 655f134f8..7071d8318 100644
> --- a/elbepack/debianize/panels/kernel.py
> +++ b/elbepack/debianize/panels/kernel.py
> @@ -81,6 +81,8 @@ class Kernel(Panel):
>                   'debian/linux-image-' + pkg_name + '.install')
>          copyfile(os.path.join(self.tmpl_dir, 'linux-headers.install'),
>                   'debian/linux-headers-' + pkg_name + '.install')
> +        copyfile(os.path.join(self.tmpl_dir, 'linux-libc-dev.install'),
> +                 'debian/linux-libc-dev-' + pkg_name + '.install')
>  
>          self.hint = "use 'dpkg-buildpackage -a%s' to build the package" % (
>                  self.deb['p_arch'])
> diff --git a/elbepack/makofiles/debianize/kernel/linux-libc-dev.install b/elbepack/makofiles/debianize/kernel/linux-libc-dev.install
> new file mode 100644
> index 000000000..ba8593ed9
> --- /dev/null
> +++ b/elbepack/makofiles/debianize/kernel/linux-libc-dev.install
> @@ -0,0 +1 @@
> +./usr/include/
> 



More information about the elbe-devel mailing list