From b4fadc9456af80c03be60fed7f380778df6a4903 Mon Sep 17 00:00:00 2001 From: Dave Hay Date: Mon, 18 Oct 2021 15:39:15 +0100 Subject: [PATCH] docs: Updating Developer Guide re qemu-img Adding notes re `qemu-img` dependency for non-Docker builds of image Fixes #2477 Signed-off-by: Dave Hay --- docs/Developer-Guide.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/Developer-Guide.md b/docs/Developer-Guide.md index a6723cd07..a17d67e09 100644 --- a/docs/Developer-Guide.md +++ b/docs/Developer-Guide.md @@ -272,6 +272,7 @@ $ script -fec 'sudo -E USE_DOCKER=true ./image_builder.sh ${ROOTFS_DIR}' > - If you do *not* wish to build under Docker, remove the `USE_DOCKER` > variable in the previous command and ensure the `qemu-img` command is > available on your system. +> - If `qemu-img` is not installed, you will likely see errors such as `ERROR: File /dev/loop19p1 is not a block device` and `losetup: /tmp/tmp.bHz11oY851: Warning: file is smaller than 512 bytes; the loop device may be useless or invisible for system tools`. These can be mitigated by installing the `qemu-img` command (available in the `qemu-img` package on Fedora or the `qemu-utils` package on Debian). ### Install the rootfs image