2004-01-18 Yoshinori K. Okuji <okuji@enbug.org>

From Thomas Schwinge <kischde@gmx.net>:
	* grub/Makefile.am (AM_CPPFLAGS): New variable.
	(AM_CFLAGS): Removed all cpp flags.

	* stage2/xfs.h (__int8_t): Renamed to ...
	(xfs_int8_t): ... this.
	(__uint8_t): Renamed to ...
	(xfs_uint8_t): ... this.
	(__int16_t): Renamed to ...
	(xfs_int16_t): ... this.
	(__uint16_t): Renamed to ...
	(xfs_uint16_t): ... this.
	(__int32_t): Renamed to ...
	(xfs_int32_t): ... this.
	(__uint32_t): Renamed to ...
	(xfs_uint32_t): ... this.
	(__int64_t): Renamed to ...
	(xfs_int64_t): ... this.
	(__uint64_t): Renamed to ...
	(xfs_uint64_t): ... this.
	All callers are changed.x

	From Egmont Koblinger <egmont@uhulinux.hu>:
	* util/grub-install.in: Support an install devices in GRUB's
	notation without parentheses.

	* docs/grub.texi (Installing GRUB using grub-install): Added an
	example of using grub-install without parentheses.
This commit is contained in:
okuji 2004-01-18 19:47:18 +00:00
parent 469abceb70
commit dcf4389bde
8 changed files with 171 additions and 129 deletions

View file

@ -620,6 +620,12 @@ If it is the first BIOS drive, this is the same as well:
# @kbd{grub-install '(hd0)'}
@end example
Or you can omit the parentheses:
@example
# @kbd{grub-install hd0}
@end example
But all the above examples assume that GRUB should use images under
the root directory. If you want GRUB to use images under a directory
other than the root directory, you need to specify the option
@ -630,7 +636,7 @@ boot floppy with a filesystem. Here is an example:
@group
# @kbd{mke2fs /dev/fd0}
# @kbd{mount -t ext2 /dev/fd0 /mnt}
# @kbd{grub-install --root-directory=/mnt '(fd0)'}
# @kbd{grub-install --root-directory=/mnt fd0}
# @kbd{umount /mnt}
@end group
@end example
@ -3419,7 +3425,7 @@ you have a separate @dfn{boot} partition which is mounted on
@file{/boot}:
@example
@kbd{grub-install --root-directory=/boot '(hd0)'}
@kbd{grub-install --root-directory=/boot hd0}
@end example
@item --grub-shell=@var{file}