Received: from list by lists.gnu.org with archive (Exim 4.71) id 1TxhDy-000192-4M for mharc-grub-devel@gnu.org; Tue, 22 Jan 2013 12:01:26 -0500 Received: from eggs.gnu.org ([208.118.235.92]:40801) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TxhDu-00016U-8N for grub-devel@gnu.org; Tue, 22 Jan 2013 12:01:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TxhDo-0003hi-25 for grub-devel@gnu.org; Tue, 22 Jan 2013 12:01:22 -0500 Received: from mail-lb0-f173.google.com ([209.85.217.173]:52346) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TxhDn-0003hZ-P5 for grub-devel@gnu.org; Tue, 22 Jan 2013 12:01:15 -0500 Received: by mail-lb0-f173.google.com with SMTP id gf7so4509204lbb.4 for ; Tue, 22 Jan 2013 09:01:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:subject:date:message-id:x-mailer; bh=BSBmYiv5kCZyOJhLZefBeussBqRSZ7AzR/5BJwfULJE=; b=qbQ8vdOFFflQj44AJbEpKqHUF85Oc6T8wKng2NuvNzTGzZZXG/+10vl+BXynfD7KNQ BXq5JNJl9YybpAPtBOND0rWPhchZ92/VEBOXCd4vAmn3IiaYYinQ+4Vinf2IyHZhHgZb wMsiTeUlrBzsT36+XjT+zhub09WYeLNpETjxA0hOkdqd8XFmJT+mRokS4LNr9wvVfVmQ lbg+Li7PlyEK8v1UZJOuue7oUpHIuYW3YnReTtpBGjOzegHIoN0n82fNY0W31vzRB35h cQ8GLc1nBwlxhPgP570W8JBuVHqJXXG2kGb3kA1ZX4H5C5IHfVpiAEMFpxMejHs0EDGa pGeg== X-Received: by 10.112.43.99 with SMTP id v3mr9463190lbl.103.1358874074399; Tue, 22 Jan 2013 09:01:14 -0800 (PST) Received: from localhost.localdomain (ppp91-78-198-46.pppoe.mtu-net.ru. [91.78.198.46]) by mx.google.com with ESMTPS id ox6sm7270265lab.16.2013.01.22.09.01.12 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Jan 2013 09:01:13 -0800 (PST) From: Andrey Borzenkov To: grub-devel@gnu.org Subject: [PATCH] change misleading comment about device.map in grub-install Date: Tue, 22 Jan 2013 21:01:08 +0400 Message-Id: <1358874068-31100-1-git-send-email-arvidjaar@gmail.com> X-Mailer: git-send-email 1.7.10.4 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.217.173 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2013 17:01:24 -0000 grub-install is not supposed to create device.map; change comment to avoid confusion. It was already considered a bug by users. Signed-off-by: Andrey Borzenkov --- ChangeLog | 5 +++++ util/grub-install.in | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8c4d087..61dda4e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-01-22 Andrey Borzenkov + + * util/grub-install.in: change misleading comment about + device.map creation + 2013-01-22 Colin Watson * util/grub-reboot.in (usage): Document the need for diff --git a/util/grub-install.in b/util/grub-install.in index aac27c7..9e63cf5 100644 --- a/util/grub-install.in +++ b/util/grub-install.in @@ -505,7 +505,7 @@ if test $recheck = yes; then rm -f "$device_map" fi -# Create the device map file if it is not present. +# Device map file is optional if test -f "$device_map"; then # Make sure that there is no duplicated entry. tmp=`sed -n '/^([fh]d[0-9]*)/s/\(^(.*)\).*/\1/p' "$device_map" \ -- tg: (cd8fd59..) fu/device.map (depends on: master)