Skip to contentSkip to conversation

change misleading comment about device.map in grub-install

PATCH In review Andrey Borzenkov 2 participants 2 messages Jan 22, 2013 – Jan 27, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 change misleading comment about device.map in grub-install

grub-install is not supposed to create device.map; change comment to avoid confusion. It was already considered a bug by users.

---
 ChangeLog            |    5 +++++
 util/grub-install.in |    2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)
ChangeLog +5 -0
index 8c4d087..61dda4e 100644
@@ -1,3 +1,8 @@
+2013-01-22  Andrey Borzenkov <[email protected]>
+
+	* util/grub-install.in: change misleading comment about
+	device.map creation
+
 2013-01-22  Colin Watson  <[email protected]>
 
 	* util/grub-reboot.in (usage): Document the need for
util/grub-install.in +1 -1
index aac27c7..9e63cf5 100644
@@ -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" \
Signature · 1 line
tg: (cd8fd59..) fu/device.map (depends on: master)
#1 lore raw

Comitted, thanks.

Quoted 36 lines · Andrey Borzenkov

grub-install is not supposed to create device.map; change comment to avoid confusion. It was already considered a bug by users.

---
 ChangeLog            |    5 +++++
 util/grub-install.in |    2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)
ChangeLog +5 -0
index 8c4d087..61dda4e 100644
@@ -1,3 +1,8 @@
+2013-01-22  Andrey Borzenkov <[email protected]>
+
+	* util/grub-install.in: change misleading comment about
+	device.map creation
+
 2013-01-22  Colin Watson  <[email protected]>
 
 	* util/grub-reboot.in (usage): Document the need for
util/grub-install.in +1 -1
index aac27c7..9e63cf5 100644
@@ -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" \
Signature · 2 lines
Regards
Vladimir 'φ-coder/phcoder' Serbinenko