Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MPMZ2-0005MS-V5 for mharc-grub-devel@gnu.org; Fri, 10 Jul 2009 16:19:25 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MPMYz-0005Lp-RC for grub-devel@gnu.org; Fri, 10 Jul 2009 16:19:22 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MPMYu-0005JI-Fn for grub-devel@gnu.org; Fri, 10 Jul 2009 16:19:20 -0400 Received: from [199.232.76.173] (port=56334 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MPMYu-0005JC-8G for grub-devel@gnu.org; Fri, 10 Jul 2009 16:19:16 -0400 Received: from smarthost02.mail.zen.net.uk ([212.23.3.141]:35614) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MPMYt-0004Az-Tk for grub-devel@gnu.org; Fri, 10 Jul 2009 16:19:16 -0400 Received: from [82.69.40.219] (helo=riva.pelham.vpn.ucam.org) by smarthost02.mail.zen.net.uk with esmtp (Exim 4.63) (envelope-from ) id 1MPMYs-000891-9a for grub-devel@gnu.org; Fri, 10 Jul 2009 20:19:14 +0000 Received: from cjwatson by riva.pelham.vpn.ucam.org with local (Exim 3.36 #1 (Debian)) for grub-devel@gnu.org id 1MPMYq-00022I-00; Fri, 10 Jul 2009 21:19:12 +0100 Date: Fri, 10 Jul 2009 21:19:12 +0100 From: Colin Watson To: The development of GRUB 2 Message-ID: <20090710201912.GJ11691@riva.ucam.org> References: <20090708153823.GA7367@riva.ucam.org> <20090710173121.GF17114@thorin> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090710173121.GF17114@thorin> User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-Smarthost02-IP: [82.69.40.219] X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: Configuration option to disable os-prober? 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: Fri, 10 Jul 2009 20:19:22 -0000 On Fri, Jul 10, 2009 at 07:31:21PM +0200, Robert Millan wrote: > On Wed, Jul 08, 2009 at 04:38:23PM +0100, Colin Watson wrote: > > Some people seem to want to disable os-prober for various reasons (e.g. > > they have lots of test installations lying around that they don't > > normally want to get in the way, or they don't want installations on > > external drives to be included permanently in the boot menu, etc.). Now, > > they can just remove the os-prober package, but that doesn't really > > scale as other packages are allowed to depend on it too. > > > > Perhaps we could have a configuration option for this? Patch attached. > > Hi, > > I'm unfamiliar with os-prober. What other purposes are there for installing > it? grub-mkconfig is the only one I can think of, so the situation you > describe sounds very unlikely. Could you ellaborate? Well, I happen to know that our graphical installer depends on it :-), and sometimes people install it for testing purposes (or it accidentally remains installed). More generally though I'm not a fan of "remove this package" as a configuration mechanism. > I'm concerned about the number of options in grub-mkconfig in general. It > has a tendency to grow a lot, and unfortunately they're not documented. Maybe that's amenable to being addressed in itself - perhaps a manual page? (info is fine for complete manuals for large systems but not really great for quick-reference kind of things.) -- Colin Watson [cjwatson@ubuntu.com]