]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
Clean up dangling references to grub-setup.
authorColin Watson <cjwatson@ubuntu.com>
Sat, 12 Jan 2013 13:30:37 +0000 (13:30 +0000)
committerColin Watson <cjwatson@ubuntu.com>
Sat, 12 Jan 2013 13:30:37 +0000 (13:30 +0000)
Fixes Ubuntu bug #1082045.

* docs/grub.texi (Images): Refer generally to grub-install rather
than directly to grub-setup.
(Installing GRUB using grub-install): Remove direct reference to
grub-setup.
(Device map) Likewise.
(Invoking grub-install): Likewise.
* docs/man/grub-install.h2m (SEE ALSO): Likewise.
* docs/man/grub-mkimage.h2m (SEE ALSO): Likewise.
* util/grub-install.in (usage): Likewise.

* util/bash-completion.d/grub-completion.bash.in (_grub_setup):
Apply to grub-bios-setup and grub-sparc64-setup rather than to
grub-setup.
* configure.ac: Remove grub_setup output variable.

* docs/man/grub-bios-setup.h2m (NAME): Change name from grub-setup
to grub-bios-setup.
* docs/man/grub-sparc64-setup.h2m (NAME): Change name from
grub-setup to grub-sparc64-setup.

ChangeLog
configure.ac
docs/grub.texi
docs/man/grub-bios-setup.h2m
docs/man/grub-install.h2m
docs/man/grub-mkimage.h2m
docs/man/grub-sparc64-setup.h2m
util/bash-completion.d/grub-completion.bash.in
util/grub-install.in

index 22b18b1d60e81e167c19a87770dfd0ff882613af..61bf8e773b227d681513cae1f7e3f1ae8d7e6b59 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,28 @@
+2013-01-12  Colin Watson  <cjwatson@ubuntu.com>
+
+       Clean up dangling references to grub-setup.
+       Fixes Ubuntu bug #1082045.
+
+       * docs/grub.texi (Images): Refer generally to grub-install rather
+       than directly to grub-setup.
+       (Installing GRUB using grub-install): Remove direct reference to
+       grub-setup.
+       (Device map) Likewise.
+       (Invoking grub-install): Likewise.
+       * docs/man/grub-install.h2m (SEE ALSO): Likewise.
+       * docs/man/grub-mkimage.h2m (SEE ALSO): Likewise.
+       * util/grub-install.in (usage): Likewise.
+
+       * util/bash-completion.d/grub-completion.bash.in (_grub_setup):
+       Apply to grub-bios-setup and grub-sparc64-setup rather than to
+       grub-setup.
+       * configure.ac: Remove grub_setup output variable.
+
+       * docs/man/grub-bios-setup.h2m (NAME): Change name from grub-setup
+       to grub-bios-setup.
+       * docs/man/grub-sparc64-setup.h2m (NAME): Change name from
+       grub-setup to grub-sparc64-setup.
+
 2013-01-11  Vladimir Serbinenko  <phcoder@gmail.com>
 
        Import gcrypt public-key cryptography and implement signature checking.
index dde954eaec33d7bad603eea548e4c55d7ffe16f8..92b550a5f6d4f7eb4ffd76d1fc5ebbddf5854e93 100644 (file)
@@ -64,7 +64,6 @@ grub_TRANSFORM([grub-probe])
 grub_TRANSFORM([grub-reboot])
 grub_TRANSFORM([grub-script-check])
 grub_TRANSFORM([grub-set-default])
-grub_TRANSFORM([grub-setup])
 grub_TRANSFORM([grub-sparc64-setup])
 
 # Optimization flag.  Allow user to override.
index a92bd969eec7c744c7dbf7caa0676bfcdfb01ee1..e75bae9fc55e5157b11ae5adecaa77e7a78974f5 100644 (file)
@@ -622,11 +622,11 @@ This install doesn't conflict with standard install as long as they are in
 separate directories.
 
 Note that @command{grub-install} is actually just a shell script and the
-real task is done by @command{grub-mkimage} and @command{grub-setup}.
-Therefore, you may run those commands directly to install GRUB, without
-using @command{grub-install}. Don't do that, however, unless you are very
-familiar with the internals of GRUB. Installing a boot loader on a running
-OS may be extremely dangerous.
+real task is done by other tools such as @command{grub-mkimage}. Therefore,
+you may run those commands directly to install GRUB, without using
+@command{grub-install}. Don't do that, however, unless you are very familiar
+with the internals of GRUB. Installing a boot loader on a running OS may be
+extremely dangerous.
 
 @node Making a GRUB bootable CD-ROM
 @section Making a GRUB bootable CD-ROM
@@ -688,8 +688,8 @@ storage devices.
 @section The map between BIOS drives and OS devices
 
 If the device map file exists, the GRUB utilities (@command{grub-probe},
-@command{grub-setup}, etc.) read it to map BIOS drives to OS devices.  This
-file consists of lines like this:
+etc.) read it to map BIOS drives to OS devices.  This file consists of lines
+like this:
 
 @example
 (@var{device}) @var{file}
@@ -2283,8 +2283,8 @@ bytes.
 The sole function of @file{boot.img} is to read the first sector of the core
 image from a local disk and jump to it.  Because of the size restriction,
 @file{boot.img} cannot understand any file system structure, so
-@command{grub-setup} hardcodes the location of the first sector of the core
-image into @file{boot.img} when installing GRUB.
+@command{grub-install} hardcodes the location of the first sector of the
+core image into @file{boot.img} when installing GRUB.
 
 @item diskboot.img
 This image is used as the first sector of the core image when booting from a
@@ -4689,9 +4689,9 @@ GRUB.
 @node Invoking grub-install
 @chapter Invoking grub-install
 
-The program @command{grub-install} installs GRUB on your drive using
-@command{grub-mkimage} and (on some platforms) @command{grub-setup}.  You
-must specify the device name on which you want to install GRUB, like this:
+The program @command{grub-install} generates a GRUB core image using
+@command{grub-mkimage} and installs it on your system.  You must specify the
+device name on which you want to install GRUB, like this:
 
 @example
 grub-install @var{install_device}
index eebe3ef3897324e5d10f523f6a358f296ab0768a..ac6ede3629667c87de70d72337db1e4cb6c55938 100644 (file)
@@ -1,5 +1,5 @@
 [NAME]
-grub-setup \- set up a device to boot using GRUB
+grub-bios-setup \- set up a device to boot using GRUB
 [SEE ALSO]
 .BR grub-install (8),
 .BR grub-mkimage (1),
index 2de371a3fddd2516df9c20b748d8b76ab3c0b286..8cbbc87a0f244d12c4e8bd1a96cc47a66911b491 100644 (file)
@@ -3,5 +3,4 @@ grub-install \- install GRUB to a device
 [SEE ALSO]
 .BR grub-mkconfig (8),
 .BR grub-mkimage (1),
-.BR grub-setup (8),
 .BR grub-mkrescue (1)
index ca08b0c5c4764cdd305c5d55580c91c3f4612f75..f0fbc2bb19792ae84837179f3a862d7e42325588 100644 (file)
@@ -2,6 +2,5 @@
 grub-mkimage \- make a bootable image of GRUB
 [SEE ALSO]
 .BR grub-install (8),
-.BR grub-setup (8),
 .BR grub-mkrescue (1),
 .BR grub-mknetdir (8)
index eebe3ef3897324e5d10f523f6a358f296ab0768a..18f803a50dbfe234d623f863c9ee053710be95a0 100644 (file)
@@ -1,5 +1,5 @@
 [NAME]
-grub-setup \- set up a device to boot using GRUB
+grub-sparc64-setup \- set up a device to boot using GRUB
 [SEE ALSO]
 .BR grub-install (8),
 .BR grub-mkimage (1),
index 5f4b249ca4ef9a4b561f220e63397733467302a6..44bf135b9f83e9201150fb36d96d8ce451e7c804 100644 (file)
@@ -252,10 +252,16 @@ _grub_setup () {
         _filedir
     fi
 }
-__grub_setup_program="@grub_setup@"
-have ${__grub_setup_program} && \
- complete -F _grub_setup -o filenames ${__grub_setup_program}
-unset __grub_setup_program
+
+__grub_bios_setup_program="@grub_bios_setup@"
+have ${__grub_bios_setup_program} && \
+ complete -F _grub_setup -o filenames ${__grub_bios_setup_program}
+unset __grub_bios_setup_program
+
+__grub_sparc64_setup_program="@grub_sparc64_setup@"
+have ${__grub_sparc64_setup_program} && \
+ complete -F _grub_setup -o filenames ${__grub_sparc64_setup_program}
+unset __grub_sparc64_setup_program
 
 
 #
index 218bbd9d7fa852eaad0a6ec97315e635a29d3c50..aac27c75a8ade0e7cecc6cbcb3781af5c2c1bcb7 100644 (file)
@@ -114,8 +114,8 @@ echo
 gettext "INSTALL_DEVICE must be system device filename.";echo
 echo
 
-gettext_printf "%s copies GRUB images into %s, and uses grub-setup
-to install grub into the boot sector.\n" "$self" "$grubdir";echo
+gettext_printf "%s copies GRUB images into %s.  On some platforms, it
+may also install GRUB into the boot sector.\n" "$self" "$grubdir";echo
 echo
 gettext "Report bugs to <bug-grub@gnu.org>."; echo
 }