Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752317AbcCGH4b (ORCPT ); Mon, 7 Mar 2016 02:56:31 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:35783 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752035AbcCGH4Y (ORCPT ); Mon, 7 Mar 2016 02:56:24 -0500 MIME-Version: 1.0 Date: Mon, 7 Mar 2016 15:56:23 +0800 Message-ID: Subject: [PATCH trivial] scripts/prune-kernel: remove kdump images From: Xiong Zhou To: "linux-kernel@vger.kernel.org" , Jiri Kosina Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 651 Lines: 20 Signed-off-by: Xiong Zhou --- scripts/prune-kernel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/prune-kernel b/scripts/prune-kernel index ab5034e..9c67be2 100755 --- a/scripts/prune-kernel +++ b/scripts/prune-kernel @@ -14,7 +14,7 @@ do echo "removing $f" rm -f "/boot/initramfs-$f.img" "/boot/System.map-$f" rm -f "/boot/vmlinuz-$f" "/boot/config-$f" - rm -rf "/lib/modules/$f" + rm -rf "/lib/modules/$f" "/boot/initramfs-${f}kdump.img" new-kernel-pkg --remove $f fi done -- 2.5.0