All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] change misleading comment about device.map in grub-install
@ 2013-01-22 17:01 Andrey Borzenkov
  2013-01-27 15:18 ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 1 reply; 2+ messages in thread
From: Andrey Borzenkov @ 2013-01-22 17:01 UTC (permalink / raw)
  To: grub-devel

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 <arvidjaar@gmail.com>

---
 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 <arvidjaar@gmail.com>
+
+	* util/grub-install.in: change misleading comment about
+	device.map creation
+
 2013-01-22  Colin Watson  <cjwatson@ubuntu.com>
 
 	* 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)


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] change misleading comment about device.map in grub-install
  2013-01-22 17:01 [PATCH] change misleading comment about device.map in grub-install Andrey Borzenkov
@ 2013-01-27 15:18 ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 0 replies; 2+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2013-01-27 15:18 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 1355 bytes --]

Comitted, thanks.
On 22.01.2013 18:01, Andrey Borzenkov wrote:

> 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 <arvidjaar@gmail.com>
> 
> ---
>  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 <arvidjaar@gmail.com>
> +
> +	* util/grub-install.in: change misleading comment about
> +	device.map creation
> +
>  2013-01-22  Colin Watson  <cjwatson@ubuntu.com>
>  
>  	* 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" \



-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-27 15:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-22 17:01 [PATCH] change misleading comment about device.map in grub-install Andrey Borzenkov
2013-01-27 15:18 ` Vladimir 'φ-coder/phcoder' Serbinenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.