Description of problem: If you use use SUPERMIN_KERNEL to point to a kernel in /boot, eg: export SUPERMIN_KERNEL=/boot/vmlinuz-3.11.0-301.fc20.armv7hl then supermin hard links the kernel to the target, but subsequently cannot work out how to locate the dtb. The error is: supermin-helper: using environment variable(s) SUPERMIN_* to select kernel /boot/vmlinuz-3.11.0-301.fc20.armv7hl supermin-helper: failed to find a dtb (device tree) directory. I expected to take '/home/rjones/d/libguestfs/tmp/guestfs.5XNHUW/kernel' and replace vmlinuz- with dtb- to form a directory. You can set SUPERMIN_DTB to point to the dtb *file* that should be used. libguestfs: error: supermin-helper exited with error status 1, see debug messages above The precise supermin command which libguestfs runs is: command was: libguestfs: command: run: supermin-helper libguestfs: command: run: \ --verbose libguestfs: command: run: \ --copy-kernel libguestfs: command: run: \ -f ext2 libguestfs: command: run: \ --host-cpu armv7l libguestfs: command: run: \ --dtb vexpress*a15-tc1.dtb libguestfs: command: run: \ /home/rjones/d/libguestfs/appliance/supermin.d libguestfs: command: run: \ --output-kernel /home/rjones/d/libguestfs/tmp/guestfs.5XNHUW/kernel libguestfs: command: run: \ --output-dtb /home/rjones/d/libguestfs/tmp/guestfs.5XNHUW/dtb libguestfs: command: run: \ --output-initrd /home/rjones/d/libguestfs/tmp/guestfs.5XNHUW/initrd libguestfs: command: run: \ --output-appliance /home/rjones/d/libguestfs/tmp/guestfs.5XNHUW/root Version-Release number of selected component (if applicable): supermin 4.1.6
You can work around this by setting SUPERMIN_DTB as well, but supermin has enough information to work out how to do this on its own.
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle. Changing version to '22'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22
Closing since we no longer use an explicit DTB, but use the one which is generated by QEMU.