NAK: [SRU][B/E/F][PATCH 1/1] UBUNTU: [Debian] install apport package hook

You-Sheng Yang vicamo.yang at canonical.com
Mon Apr 13 03:37:42 UTC 2020


Missed [linux-firmware] tag. Resent.

On 2020-04-10 19:33, You-Sheng Yang wrote:
> BugLink: https://bugs.launchpad.net/bugs/1872059
> 
> linux-firmware doesn't install any package hooks for apport, so it will
> only carry some default items leaving hardware list, kernel messages
> unattached. This change creates a symbolic link from
> /usr/share/apport/package-hooks/source_linux-firmware.py to
> source_linux.py.
> 
> Signed-off-by: You-Sheng Yang <vicamo.yang at canonical.com>
> ---
>  debian/linux-firmware.links | 1 +
>  debian/rules                | 2 ++
>  2 files changed, 3 insertions(+)
>  create mode 100644 debian/linux-firmware.links
> 
> diff --git a/debian/linux-firmware.links b/debian/linux-firmware.links
> new file mode 100644
> index 00000000..3b7e1ea1
> --- /dev/null
> +++ b/debian/linux-firmware.links
> @@ -0,0 +1 @@
> +usr/share/apport/package-hooks/source_linux.py usr/share/apport/package-hooks/source_linux-firmware.py
> diff --git a/debian/rules b/debian/rules
> index 0cba4bd7..7b0355aa 100755
> --- a/debian/rules
> +++ b/debian/rules
> @@ -35,6 +35,8 @@ install-indep: build-indep
>  	dh_testroot
>  	dh_prep -i
>  
> +	dh_link
> +
>  	install -d $(firm_dir)
>  
>  	make install DESTDIR=$(dest_dir)
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20200413/0fb55b2b/attachment.sig>


More information about the kernel-team mailing list