Commit 95950849 authored by Anton Midyukov's avatar Anton Midyukov

mediacheck: check available implantisomd5 command

parent 8ff79907
......@@ -2,6 +2,9 @@ ifeq (distro,$(IMAGE_CLASS))
use/mediacheck: use/stage2 sub/stage2@mediacheck \
use/grub/mediacheck.cfg use/syslinux/mediacheck.cfg
@$(call add_feature)
@if ! command -v implantisomd5 >/dev/null 2>&1; then \
echo "Error: implantisomd5 is not available! Need install isomd5sum"; exit 1; \
fi
@$(call add,POSTPROCESS_TARGETS,90mediacheck)
else
use/mediacheck: ; @:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment