summaryrefslogtreecommitdiff
path: root/hscript/script_e.cc
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-06-13 19:12:19 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-06-13 19:12:19 -0500
commit0c6decad96afebf359e61a19afd2b5859e5bdb20 (patch)
tree8a6bd18431670204a07bee0471401b9a71c56b52 /hscript/script_e.cc
parent0e8d8137a1ba73324e2fc4b7d786b907a72b39cb (diff)
downloadhorizon-0c6decad96afebf359e61a19afd2b5859e5bdb20.tar.gz
horizon-0c6decad96afebf359e61a19afd2b5859e5bdb20.tar.bz2
horizon-0c6decad96afebf359e61a19afd2b5859e5bdb20.tar.xz
horizon-0c6decad96afebf359e61a19afd2b5859e5bdb20.zip
hscript: Validate and execute the bootloader key, if provided
Diffstat (limited to 'hscript/script_e.cc')
-rw-r--r--hscript/script_e.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/hscript/script_e.cc b/hscript/script_e.cc
index a58338e..5917b19 100644
--- a/hscript/script_e.cc
+++ b/hscript/script_e.cc
@@ -659,6 +659,10 @@ bool Script::execute() const {
EXECUTE_OR_FAIL("svcenable", svc)
}
+ if(internal->boot) {
+ EXECUTE_OR_FAIL("bootloader", internal->boot)
+ }
+
output_step_end("post-metadata");
return true;
}