diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2013-09-12 16:08:18 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2013-09-24 13:14:59 +0800 |
commit | 59747ee01e0158f97bdf8c182305e757d90a8d7a (patch) | |
tree | c47f117ec01be2dd4e849980cc39623814583410 /discover/grub2/script.c | |
parent | c0b2be44ee953f9f50737b959e0def6e2df24629 (diff) | |
download | talos-petitboot-59747ee01e0158f97bdf8c182305e757d90a8d7a.tar.gz talos-petitboot-59747ee01e0158f97bdf8c182305e757d90a8d7a.zip |
discover/grub2: Add initial script infrastructure
Now that we can parse scripts, we want some infrastructure for
execution.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'discover/grub2/script.c')
-rw-r--r-- | discover/grub2/script.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/discover/grub2/script.c b/discover/grub2/script.c new file mode 100644 index 0000000..71d6cba --- /dev/null +++ b/discover/grub2/script.c @@ -0,0 +1,12 @@ + +#include <talloc/talloc.h> + +#include "grub2.h" + +struct grub2_script *create_script(void *ctx) +{ + struct grub2_script *script; + script = talloc(ctx, struct grub2_script); + return script; +} + |