[PATCH] Catch syntax errors in grub-mkconfig before installing

2010-09-06 Thread BVK Chaitanya
Hi, Attached patch adds long pending feature: Use grub-script-check tool to detect any syntax errors in generated config files (by grub-mkconfig) before copying it to the destination. bvk.chaitanya === modified file 'util/grub-mkconfig.in' --- util/grub-mkconfig.in 2010-06-29 15:20:49 +

Re: [PATCH] Documentation update for recent GRUB script changes

2010-09-06 Thread BVK Chaitanya
Committed to mainline. On Tue, Sep 7, 2010 at 3:31 AM, Colin Watson wrote: > On Sun, Sep 05, 2010 at 03:16:06PM +0530, BVK Chaitanya wrote: >> Updated patch with documentation for "return" command. > > I assume you've checked that all the detailed semantics from bash(1) > regarding return values

Re: [PATCH] Documentation update for recent GRUB script changes

2010-09-06 Thread Colin Watson
On Sun, Sep 05, 2010 at 03:16:06PM +0530, BVK Chaitanya wrote: > Updated patch with documentation for "return" command. I assume you've checked that all the detailed semantics from bash(1) regarding return values and the like hold in GRUB script as well. > +removed from the input stream and effec

[PATCH] Add new --boot-directory option to replace --root-directory

2010-09-06 Thread Yves Blusseau
* util/grub-install.in: Add new --boot-directory option * util/grub-reboot.in: Likewise. * util/grub-set-default.in: Likewise. * util/grub-mkconfig.in: Use new variable. --- ChangeLog.bootdir-option |5 + util/grub-install.in | 46 +

[PATCH] Bash completion script for util commands

2010-09-06 Thread Yves Blusseau
* Makefile.am: Add util/bash-completion.d directory * configure.ac: Likewise. * util/bash-completion.d/Makefile.am: New file. * util/bash-completion.d/grub-completion.bash.in: Likewise. --- ChangeLog.completion.bash |6 Makefile.am

[PATCH 2/2] Use new variable defined by configure.ac

2010-09-06 Thread Yves Blusseau
* util/grub-mkconfig.in: Use new variable. --- ChangeLog.use-new-variables |3 +++ util/grub-mkconfig.in | 16 +++- 2 files changed, 6 insertions(+), 13 deletions(-) create mode 100644 ChangeLog.use-new-variables diff --git a/ChangeLog.use-new-variables b/ChangeLog

[PATCH 1/2] Define some useful variables

2010-09-06 Thread Yves Blusseau
* configure.ac: Define some useful variables. --- ChangeLog.new-variables |3 +++ configure.ac| 12 2 files changed, 15 insertions(+), 0 deletions(-) create mode 100644 ChangeLog.new-variables diff --git a/ChangeLog.new-variables b/ChangeLog.new-variables ne