Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Jlpy9-0000uX-0S for mharc-grub-devel@gnu.org; Tue, 15 Apr 2008 14:33:25 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jlpy7-0000sl-Bj for grub-devel@gnu.org; Tue, 15 Apr 2008 14:33:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jlpy5-0000qA-Hd for grub-devel@gnu.org; Tue, 15 Apr 2008 14:33:22 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jlpy5-0000pu-8c for grub-devel@gnu.org; Tue, 15 Apr 2008 14:33:21 -0400 Received: from [96.56.121.228] (helo=orac.ofobscurity.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Jlpy4-0000ck-RA for grub-devel@gnu.org; Tue, 15 Apr 2008 14:33:21 -0400 Received: from user-160u3fb.cable.mindspring.com ([76.15.13.235] helo=anon7.local) by orac.ofobscurity.com with esmtp (Exim 4.63) (envelope-from ) id 1JlpxZ-0006C3-6B for grub-devel@gnu.org; Tue, 15 Apr 2008 14:32:49 -0400 From: Chris Knadle Organization: CoreDump.us To: The development of GRUB 2 Date: Tue, 15 Apr 2008 14:32:48 -0400 User-Agent: KMail/1.9.9 References: <1208211768.3971.44.camel@localhost.localdomain> <20080415132011.GC21548@thorin> In-Reply-To: <20080415132011.GC21548@thorin> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200804151432.49014.Chris.Knadle@coredump.us> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Re: [PATCH] Extend the code to ignore junk files X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Apr 2008 18:33:23 -0000 On Tuesday 15 April 2008, Robert Millan wrote: > On Tue, Apr 15, 2008 at 12:22:48AM +0200, Lubomir Kundrak wrote: > > --- grub-1.96.orig/util/update-grub_lib.in 2008-04-15 00:16:12.000000000 > > +0200 +++ grub-1.96/util/update-grub_lib.in 2008-04-15 00:15:04.000000000 > > +0200 @@ -115,6 +115,8 @@ grub_file_is_not_garbage () > > if test -f "$1" ; then > > case "$1" in > > *.dpkg-dist|*.dpkg-old|*.dpkg-tmp) return 1 ;; # debian dpkg > > + *.rpmnew|*.rpmsave) return 1 ;; # Fedora rpm > > + *.bak|*~|.*.swp) return 1 ;; # backup and swap files from > > editors > > This has the side-effect that Linux images whose name ends with ~ are > excluded, which is probably not that uncommon. E.g. > /boot/vmlinuz-2.6.24.foobar~ > > Is this really what we want? I don't know of any localversion policy requiring that the last character not be a tilde character. However, I can say that 'fakeroot make-kpkg kernel_image' fails at the very last stage during making a .deb if the last character in the localversion ends in a tilde. i.e. you can't build a kernel "the Debian way" that has a localversion ending in a tilde. dpkg-gencontrol: error: Illegal package name `linux-image-2.6.24.4-yee~' make[1]: *** [debian/linux-image-2.6.24.4-yee~] Error 255 But a localversion ending in a tilde is fine as far as the Linux 'make' system is concerned, so the generic 'make install' method which is commonly used on many systems will still allow it. -- Chris -- Chris Knadle Chris.Knadle@coredump.us