Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751704AbcDZBbj (ORCPT ); Mon, 25 Apr 2016 21:31:39 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:35851 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750749AbcDZBbi (ORCPT ); Mon, 25 Apr 2016 21:31:38 -0400 MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 26 Apr 2016 09:31:36 +0800 Message-ID: Subject: Re: [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: 773 Lines: 23 ping ? On Mon, Mar 7, 2016 at 3:56 PM, Xiong Zhou wrote: > 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