In dry-run mode, the kickstart file will not be generated,
the existence check will always fail, so change the skip
to warning to allow the dry-run can succeed without
generated kickstart file.
Issue-ID: INF-163
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I08e4fb494d8b1a03f51d5b3bb71c2a85f02ff9a6
raise bb.parse.SkipPackage("The count of INSTALLER_TARGET_BUILD and KICKSTART_FILE not match!")
for kickstart_file in kickstart_files.split():
if not os.path.exists(kickstart_file):
- raise bb.parse.SkipPackage("The kickstart file %s in KICKSTART_FILE doesn't exist!" % kickstart_file)
+ bb.warn("The kickstart file %s in KICKSTART_FILE doesn't exist!" % kickstart_file)
}