From 441543b73cffd6c589e4c848113dd126d984e07f Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 26 May 2020 02:42:11 -0500 Subject: hscript: Ensure root mounts aren't required for image --- hscript/script_v.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hscript') 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"); } -- cgit v1.2.3-70-g09d2