[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#418099: please lower the priority for grub-installer/only_debian



Package: grub-installer
Severity: wishlist
Tags: patch

When we're installing the only OS in a machine, overwriting the MBR is not a
big deal, and asking about it is a potential source of confusion for novice
users.  I suggest to lower the priority of grub-installer/only_debian in that
case.

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-amd64
Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8)
Index: grub-installer/grub-installer
===================================================================
--- grub-installer/grub-installer	(revision 46169)
+++ grub-installer/grub-installer	(working copy)
@@ -265,6 +265,7 @@
 # Work out what probed OSes can be booted from grub
 tmpfile=/tmp/menu.lst.extras
 if [ -s /tmp/os-probed ]; then
+	p=high
 	supported_os_list=""
 	unsupported_os_list=""
 
@@ -323,6 +324,7 @@
 		state=1
 	fi
 else
+	p=medium
 	q=grub-installer/only_debian
 	state=1
 fi
@@ -332,7 +334,7 @@
 
 while : ; do
 	if [ "$state" = 1 ]; then
-		db_input high $q || true
+		db_input $p $q || true
 		if ! db_go; then
 			# back up to menu
 			db_progress STOP

Reply to: