Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1918000imm; Thu, 23 Aug 2018 10:54:39 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYnFTw/BddIlBMvvN9grL8oDmPD6M1wa/t3QdoF1iCOFhKQUPwHN/jfBqREZ1DXnmivkl9P X-Received: by 2002:a63:dc53:: with SMTP id f19-v6mr4822609pgj.56.1535046878961; Thu, 23 Aug 2018 10:54:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535046878; cv=none; d=google.com; s=arc-20160816; b=Gg2O9PX7f9LRgsH+lirY72ok/yg/WxvybaZlCwVOrYVlamRZ5cgVHXJ4dtgUXyCooX mQiv8AGVRbAcPWwVgIztvSdEV00az5I9FGsFsWlgdrXkAjEkIQOsc93xgFChfIUgt4vy m2v+p0ABw9qo9wA/epGYnEcXj+Vn2Px3kvLb3J4FQyGmgyceNnaEHpwA4sjZTE886aJq 9MulVkWSLzCgz3WPEzPgz7bcDyMvLyspmEwn2mxCZCdzv+FneWx/7YlcJevD6DGIvgM2 3wktABLr8pe1fUo6QCwWx97rpl4sNCrY3zJSmuKL+KJV5BwsQhHbqMZazpTu+u5Ah6Ef 9waQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=pTwZEqK7L4HmY/ielVFKdHJ4fesrN/xdPijmlaOLLCE=; b=WtdeXk30Nc62x+ooSAKVctkqKv9EeY/YI/ajceYh0e6195Xd5bHCKwRLTR0JbT1iPT 6rPV4rRbxT6v26V2A0uL0ufw0Yxgd9IIAQvEGG5rDEwFcx6JVb4QRkk4y1hSTEcrLvkC uzngs7II8PBoc3P6cxzZVttlYNHdBsdriazeCjIeZmgg9651ZZprcZlOSxbtWFrJiuwU /OROAx/9f5KLqKS8JuZxKnaLoIRtSyI+70D4uMFQxRi77W0efvxq+c7FqXP1Ue9UaSz3 1JL5iT52T1ljQDOQ2JCERyAMhoeZOnzUvLkmwwpNu3LV1HMc7jBBL+k9T4GcdFzdsX5W O5ZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="aPw7aH/D"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f76-v6si3888360pfh.33.2018.08.23.10.54.23; Thu, 23 Aug 2018 10:54:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="aPw7aH/D"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727261AbeHWVXb (ORCPT + 99 others); Thu, 23 Aug 2018 17:23:31 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:53918 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726556AbeHWVXb (ORCPT ); Thu, 23 Aug 2018 17:23:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=pTwZEqK7L4HmY/ielVFKdHJ4fesrN/xdPijmlaOLLCE=; b=aPw7aH/DJqc3HINwbjlvbJAEy m2TQ1mIhXtz/FlMd9yKiEw4jYc6aVk5Gp3OuOAzGr/SD4h/j8m+CA8erIh+cUyjWRDWneRIfAulXg hi5Waq8gjt7YeVrQMcFD/89TEv8VvtHKFJTG2XiVA7fBGWmWN3pfUkOviRRSqPk99Zu+EKgbQ47xq QdoWEJuH2rvr3EnBOf5UTRUX2A4/tx2oENYapZ5s8j9JKRTErpbibjYJvREFMq0MVUPt6L8ZitTrp x1izut6MdobNI/FcFdXoecgLb9hPu9/dMaUrwS5qjTc98OEWxVwLC1/WaoXMZhHotlg89tVNOx3GU 45yyWQ/wQ==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fstmh-0001yN-Ty; Thu, 23 Aug 2018 17:52:39 +0000 Subject: [PATCH v2] modules_install: make missing $DEPMOD a warning instead of error To: Masahiro Yamada Cc: "H. Nikolaus Schaller" , Lucas De Marchi , Lucas De Marchi , Michal Marek , Jessica Yu , Chih-Wei Huang , stable , Linux Kernel Mailing List , Discussions about the Letux Kernel , linux-kbuild References: <490A46D5-834E-46A9-9106-A31F94344F99@goldelico.com> From: Randy Dunlap Message-ID: <61369202-8425-4cb7-aa9d-b83f15c528e0@infradead.org> Date: Thu, 23 Aug 2018 10:52:39 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Randy Dunlap 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 --- v2: add missing "exit 0" and update the commit message (no Error). scripts/depmod.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- lnx-418.orig/scripts/depmod.sh +++ lnx-418/scripts/depmod.sh @@ -15,9 +15,9 @@ if ! test -r System.map ; then fi if [ -z $(command -v $DEPMOD) ]; then - echo "'make modules_install' requires $DEPMOD. Please install it." >&2 + echo "Warning: 'make modules_install' requires $DEPMOD. Please install it." >&2 echo "This is probably in the kmod package." >&2 - exit 1 + exit 0 fi # older versions of depmod require the version string to start with three