summaryrefslogtreecommitdiff
path: root/image
diff options
context:
space:
mode:
Diffstat (limited to 'image')
-rw-r--r--image/backends/iso.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/image/backends/iso.cc b/image/backends/iso.cc
index 4b27cc8..d6400d2 100644
--- a/image/backends/iso.cc
+++ b/image/backends/iso.cc
@@ -183,6 +183,12 @@ public:
return COMMAND_MISSING;
}
+ output_info("CD backend", "probing xorriso version...");
+ if(run_command("xorriso", {"-version"}) != 0) {
+ output_error("CD backend", "xorriso is not present");
+ return COMMAND_MISSING;
+ }
+
/* REQ: ISO.1 */
if(fs::exists(this->ir_dir, ec) && opts.find("keep") == opts.end()) {
output_info("CD backend", "removing old IR tree", this->ir_dir);