diff --git a/meta-arm-autonomy/recipes-core/images/arm-autonomy-host-image-minimal.bb b/meta-arm-autonomy/recipes-core/images/arm-autonomy-host-image-minimal.bb index 3859f523..5b20fa09 100644 --- a/meta-arm-autonomy/recipes-core/images/arm-autonomy-host-image-minimal.bb +++ b/meta-arm-autonomy/recipes-core/images/arm-autonomy-host-image-minimal.bb @@ -112,7 +112,8 @@ python add_extern_guests () { # Add file extension if not there if not dstname.endswith('.xenguest'): dstname += '.xenguest' - bb.utils.copyfile(path, guestdir + '/' + dstname) + if not bb.utils.copyfile(path, guestdir + '/' + dstname): + bb.fatal("Fail to copy Guest file " + path) } IMAGE_PREPROCESS_COMMAND += "add_extern_guests; "