Slight logging improvement when menuconfig fails (#1018)

This commit is contained in:
lawl 2017-12-17 20:17:53 +01:00 committed by Oliver Smith
parent 2c5342acd3
commit 66bd1fb8e6
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ def menuconfig(args, pkgname):
logging.info("Copy kernel config back to aport-folder")
source = args.work + "/chroot_native/home/pmos/build/" + config
if not os.path.exists(source):
raise RuntimeError("No kernel config generated!")
raise RuntimeError("No kernel config generated: " + source)
target = aport + "/" + config
pmb.helpers.run.user(args, ["cp", source, target])
pmb.build.checksum(args, pkgname)