diff options
Diffstat (limited to 'hscript')
-rw-r--r-- | hscript/script_v.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hscript/script_v.cc b/hscript/script_v.cc index 8fd1327..b91af8d 100644 --- a/hscript/script_v.cc +++ b/hscript/script_v.cc @@ -556,7 +556,7 @@ bool Horizon::Script::validate() const { #undef CHECK_EXIST_PART_LV /* REQ: Runner.Validate.mount.Root */ - if(seen_mounts.find("/") == seen_mounts.end()) { + if(seen_mounts.find("/") == seen_mounts.end() && !opts.test(ImageOnly)) { failures++; output_error("installfile:0", "mount: no root mount specified"); } |