From patchwork Thu Feb 11 11:33:07 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan Wu X-Patchwork-Id: 45120 X-Patchwork-Delegate: apw@canonical.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id 17726B7D08 for ; Thu, 11 Feb 2010 22:33:48 +1100 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.69) (envelope-from ) id 1NfXIl-0005yt-DR; Thu, 11 Feb 2010 11:33:43 +0000 Received: from adelie.canonical.com ([91.189.90.139]) by chlorine.canonical.com with esmtp (Exim 4.69) (envelope-from ) id 1NfXIj-0005ye-Bj for kernel-team@lists.ubuntu.com; Thu, 11 Feb 2010 11:33:41 +0000 Received: from hutte.canonical.com ([91.189.90.181]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1NfXIj-0004J7-9x for ; Thu, 11 Feb 2010 11:33:41 +0000 Received: from [218.82.231.45] (helo=canonical.com) by hutte.canonical.com with esmtpsa (TLS-1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1NfXIi-0002cp-9I for kernel-team@lists.ubuntu.com; Thu, 11 Feb 2010 11:33:41 +0000 From: Bryan Wu To: kernel-team@lists.ubuntu.com Subject: [PATCH 1/2] UBUNTU: Add 3 missing files to prerm remove file list Date: Thu, 11 Feb 2010 19:33:07 +0800 Message-Id: <1265887988-4008-2-git-send-email-bryan.wu@canonical.com> X-Mailer: git-send-email 1.6.3.3 In-Reply-To: <1265887988-4008-1-git-send-email-bryan.wu@canonical.com> References: <1265887988-4008-1-git-send-email-bryan.wu@canonical.com> X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: kernel-team-bounces@lists.ubuntu.com Errors-To: kernel-team-bounces@lists.ubuntu.com BugLink: http://bugs.launchpad.net/bugs/345623 BugLink: http://bugs.launchpad.net/bugs/415832 While purging some old kernels, Matt noticed warnings from dpkg that it was not removing /lib/modules/xxx. "modules.alias.bin modules.dep.bin modules.symbols.bin" 3 files are left behind. The new files are the result of changes to the modules-tools-init package, e.g., modprobe and depmod now create and use a binary cache file. This patch fixes this by adding these 3 files to the prerm remove file list. Signed-off-by: Bryan Wu Acked-by: Andy Whitcroft Signed-off-by: Tim Gardner Signed-off-by: Andy Whitcroft Acked-by: Tim Gardner Acked-by: Stefan Bader (cherry-picked from 8b453930465c15f490ea44c2987b0a1bfe71ed66 for fsl-imx51) Signed-off-by: Bryan Wu --- debian.fsl-imx51/control-scripts/prerm | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/debian.fsl-imx51/control-scripts/prerm b/debian.fsl-imx51/control-scripts/prerm index 3d1fe38..68633bf 100644 --- a/debian.fsl-imx51/control-scripts/prerm +++ b/debian.fsl-imx51/control-scripts/prerm @@ -284,6 +284,7 @@ sub success () { modules.ieee1394map modules.pnpbiosmap modules.alias modules.ccwmap modules.inputmap modules.symbols modules.ofmap modules.seriomap + modules.alias.bin modules.dep.bin modules.symbols.bin }; foreach my $extra_file (@files_to_remove) {