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 +
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
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
* 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 +
* 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
* 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
* 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