APPLIED/cmnt: [bionic][PATCH v2] UBUNTU: [Packaging] Fix missing watchdog for Raspberry Pi

Kleber Souza kleber.souza at canonical.com
Tue May 15 12:02:16 UTC 2018


On 04/26/18 17:51, Kees Cook wrote:
> The bcm2835_wdt.ko module is required for Raspberry Pi systems to actually
> reboot and shutdown. It should not get automatically blacklisted. See
> https://github.com/raspberrypi/linux/issues/2523
> 
> Closes LP: #1766052

The Launchpad bug link needs to be in the format:

BugLink: http://bugs.launchpad.net/bugs/<bug#>

I have fixed it while applying the patch.


> 
> Signed-off-by: Kees Cook <kees at ubuntu.com>
> ---
> v2: add missing pipe (sforshee)
> ---
>  debian/rules.d/2-binary-arch.mk | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk
> index 72e55fc6815c..f9d1d792019e 100644
> --- a/debian/rules.d/2-binary-arch.mk
> +++ b/debian/rules.d/2-binary-arch.mk
> @@ -183,6 +183,7 @@ endif
>  	echo "# Autogenerated watchdog blacklist" \
>  		>>$(pkgdir)/lib/modprobe.d/blacklist_$(src_pkg_name)_$(abi_release)-$*.conf
>  	ls -1 $(pkgdir)/lib/modules/$(abi_release)-$*/kernel/drivers/watchdog/ | \
> +		grep -v '^bcm2835_wdt$$' | \
>  		sed -e 's/^/blacklist /' -e 's/.ko$$//' | \
>  		sort -u \
>  		>>$(pkgdir)/lib/modprobe.d/blacklist_$(src_pkg_name)_$(abi_release)-$*.conf
> 

The Launchpad bug was also nominated for Artful but the patch is tagged
against Bionic only, so I have applied it only to Bionic.

Applied to bionic/master-next branch.

Thanks,
Kleber




More information about the kernel-team mailing list