Message ID | 20200410113307.1243654-2-vicamo.yang@canonical.com |
---|---|
State | New |
Headers | show |
Series | [SRU,B/E/F,1/1] UBUNTU: [Debian] install apport package hook | expand |
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@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) >
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)
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@canonical.com> --- debian/linux-firmware.links | 1 + debian/rules | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 debian/linux-firmware.links