From 61c874c51cc1b26fcb2973af29bc96e67b78ff4a Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Mon, 20 Sep 2010 14:03:47 +0100 Subject: [PATCH] * .bzrignore: Add grub-core/gnulib/sys, widthspec.bin, and widthspec.h. * docs/grub.texi (Shell-like scripting): Document `!'. (Network): Simplify using new i386-pc-pxe format. Mention grub-mknetdir. * NEWS: Update. --- .bzrignore | 3 +++ ChangeLog | 11 +++++++++++ NEWS | 50 +++++++++++++++++++++++++++++++++++++++++++++++--- docs/grub.texi | 10 +++++++--- 4 files changed, 68 insertions(+), 6 deletions(-) diff --git a/.bzrignore b/.bzrignore index 3c1e294f5..06dd94341 100644 --- a/.bzrignore +++ b/.bzrignore @@ -125,7 +125,10 @@ grub-core/gnulib/stdio.h grub-core/gnulib/stdlib.h grub-core/gnulib/string.h grub-core/gnulib/strings.h +grub-core/gnulib/sys grub-core/gnulib/unistd.h grub-core/gnulib/warn-on-use.h grub-core/gnulib/wchar.h grub-core/gnulib/wctype.h +widthspec.bin +widthspec.h diff --git a/ChangeLog b/ChangeLog index c9e62f500..4688c5014 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2010-09-20 Colin Watson + + * .bzrignore: Add grub-core/gnulib/sys, widthspec.bin, and + widthspec.h. + + * docs/grub.texi (Shell-like scripting): Document `!'. + (Network): Simplify using new i386-pc-pxe format. Mention + grub-mknetdir. + + * NEWS: Update. + 2010-09-20 Colin Watson * Makefile.am (SUBDIRS): Restore "."; it's important to force diff --git a/NEWS b/NEWS index bb6b8df3f..b8cec570e 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,47 @@ New in 1.99: +* Keyboard layouts support. + +* New `lsapm' command (i386-pc only). + +* Parser for GRUB Legacy configuration files. + +* Support RAID on virtio devices. + +* Remove deprecated `root' command. + +* New `euro.pf2' font which supports most European languages. + +* Avoid opening the same device twice on Open Firmware platforms. + +* Extend `vbeinfo' and `vbetest' commands to non-VBE graphics, as + `videoinfo' and `videotest'. + +* New `lsefisystab' and `lssal' commands on EFI platforms. + +* Support explicit user claim that a device is BIOS-visible. Devices + listed in device.map will be assumed to be readable using only BIOS + facilities, rather than anything more complex such as LVM or RAID. + +* New bash-completion script for GRUB utilities. + +* Use ACPI to shut down if possible. + +* New `lsacpi' command. + +* Basic btrfs support (detection and UUID). + +* New `--boot-directory' option to `grub-install', `grub-reboot', and + `grub-set-default', with clearer semantics than the previous + `--root-directory' option. + +* Rename CD-ROM device to "cd" on BIOS platforms. + +* Transparent decompression filters. + +* Simpler PXE image generation. New `grub-mknetdir' utility to generate + netboot directory trees. + * New relocator. Allows for more kernel support and more straightforward loader writing. @@ -60,7 +102,8 @@ New in 1.99: * `grub-mkrescue' support for EFI, coreboot, and QEMU platforms. -* Unify `grub-mkimage' source code across platforms. +* Unify `grub-mkimage', `grub-setup', and `grub-install' source code + across platforms. * Fix VGA (as opposed to VBE) video driver, formerly a terminal driver. @@ -83,8 +126,9 @@ New in 1.99: * sunpc partition table support. * Add a number of new language features to GRUB script: `for', `while', - `until', `elif', function parameters, `break', `continue', and - `shift'. + `until', `elif', function parameters, `break', `continue', `shift', + multi-line quoted strings, positional parameters with `setparams', + `return', filename wildcard expansion, and `!'. * Support nested partition tables. GRUB now prefers to name partitions in the form `(hd0,msdos1,bsd1)' rather than `(hd0,1,a)'. diff --git a/docs/grub.texi b/docs/grub.texi index 076adfd6c..3a72bbacb 100644 --- a/docs/grub.texi +++ b/docs/grub.texi @@ -1264,7 +1264,9 @@ and terminated by a semicolon or a newline. The first word specifies the command to be executed. The remaining words are passed as arguments to the invoked command. -The return value of a simple command is its exit status. +The return value of a simple command is its exit status. If the reserved +word @code{!} precedes the command, then the return value is instead the +logical negation of the command's exit status. @heading Compound commands @@ -1796,8 +1798,7 @@ To generate a PXE boot image, run: @example @group -grub-mkimage --format=i386-pc --output=core.img --prefix='(pxe)/boot/grub' pxe pxecmd -cat /boot/grub/pxeboot.img core.img >grub.pxe +grub-mkimage --format=i386-pc-pxe --output=grub.pxe --prefix='(pxe)/boot/grub' pxe pxecmd @end group @end example @@ -1807,6 +1808,9 @@ accessible via the @file{/boot/grub/} path from the TFTP server root. Set the DHCP server configuration to offer @file{grub.pxe} as the boot file (the @samp{filename} option in ISC dhcpd). +You can also use the @command{grub-mknetdir} utility to generate an image +and a GRUB directory tree, rather than copying files around manually. + After GRUB has started, files on the TFTP server will be accessible via the @samp{(pxe)} device.