summaryrefslogtreecommitdiff
path: root/hscript/disk.cc
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-31 18:25:52 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-31 18:25:52 -0500
commitf1e509603806b71a282c076e4c6ef2c632761cd9 (patch)
treeafe0e290a506f110860fbd893cc23ea48643c979 /hscript/disk.cc
parentf97ac86dc0dadc20b53d66dade311e4b4e50b7fc (diff)
downloadhorizon-f1e509603806b71a282c076e4c6ef2c632761cd9.tar.gz
horizon-f1e509603806b71a282c076e4c6ef2c632761cd9.tar.bz2
horizon-f1e509603806b71a282c076e4c6ef2c632761cd9.tar.xz
horizon-f1e509603806b71a282c076e4c6ef2c632761cd9.zip
hscript: Implement *.Block requirements
Diffstat (limited to 'hscript/disk.cc')
-rw-r--r--hscript/disk.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/hscript/disk.cc b/hscript/disk.cc
index 72604d9..ecd0afa 100644
--- a/hscript/disk.cc
+++ b/hscript/disk.cc
@@ -414,6 +414,7 @@ Key *Partition::parseFromData(const std::string &data, int lineno, int *errors,
bool Partition::validate(ScriptOptions opts) const {
#ifdef HAS_INSTALL_ENV
if(opts.test(InstallEnvironment)) {
+ /* REQ: Runner.Validate.partition.Block */
return is_block_device("partition", this->lineno(), this->device());
}
#endif /* HAS_INSTALL_ENV */