ACK: [[SCRIPT=remove_re|Re: [kernel-snaps-uc2*/main|master][PATCH] trim-firmware: if intel bluetooth firmware is included, include all of them]]

Tim Gardner tim.gardner at canonical.com
Tue May 10 18:12:02 UTC 2022


Acked-by: Tim Gardner <tim.gardner at canonical.com>

On 5/9/22 11:28, Dimitri John Ledkov wrote:
> Currently only a subset of intel bluetooth firmware files are declared
> as required by the btintel driver. If they are included, also copy and
> include the rest of them for all other (more recent) devices.
> 
> BugLink: https://bugs.launchpad.net/bugs/1970819
> Signed-off-by: Dimitri John Ledkov <dimitri.ledkov at canonical.com>
> ---
>   trim-firmware | 7 +++++++
>   1 file changed, 7 insertions(+)
> 
> diff --git a/trim-firmware b/trim-firmware
> index cc8b61c42d..4990736919 100755
> --- a/trim-firmware
> +++ b/trim-firmware
> @@ -51,6 +51,13 @@ for d in "${DESTDIR}"/modules/* ; do
>   	fi
>   done
>   
> +# If an intel bluetooth firmware is included, include the rest of them
> +# LP: #1970819
> +if [ -e "${DESTDIR}"/firmware.new/intel/ibt-12-16.sfi ]; then
> +    cp "${DESTDIR}"/firmware/intel/ibt-*.sfi "${DESTDIR}"/firmware.new/intel/
> +    cp "${DESTDIR}"/firmware/intel/ibt-*.ddc "${DESTDIR}"/firmware.new/intel/
> +fi
> +
>   # Switch to the new firmware directory
>   rm -rf "${DESTDIR}"/firmware
>   mv "${DESTDIR}"/firmware.new "${DESTDIR}"/firmware

-- 
-----------
Tim Gardner
Canonical, Inc



More information about the kernel-team mailing list