Re: [PATCH v2] modules_install: make missing $DEPMOD a warning instead of error

From: Greg KH
Date: Thu Aug 23 2018 - 13:59:57 EST


On Thu, Aug 23, 2018 at 10:52:39AM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
>
> When $DEPMOD is not found, only print a warning instead of exiting
> with an error message and error status.
>
> Warning: 'make modules_install' requires /sbin/depmod. Please install it.
> This is probably in the kmod package.
>
> Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> ---
> v2: add missing "exit 0" and update the commit message (no Error).

You need a cc: stable in here too :(