[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Block parameter support for GRUB script

From: BVK Chaitanya
Subject: [PATCH] Block parameter support for GRUB script
Date: Thu, 10 Jun 2010 12:37:12 +0530


Attached patch adds support for block-of-commands-in-braces as a
generic parameter to any GRUB script command.  Now menuentry like
commands can be created without modifying the GRUB script grammar.

As an example, hello command is modified to take an optional BLOCK
parameter, which it stores for later use.  When it is invoked without
any parameters, it would execute recently saved BLOCK parameter's
commands (or defaults to "Hello World" if no BLOCK parameter is


Attachment: block-arg.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]