stx-anaconda-image.bbclass: change skip to warning
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 that the dry-run can succeed without generated kickstart file. Story: 2008204 Task: 40988 Change-Id: I32eb8a688498713d03c915b82611cea8fcb493cf Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
This commit is contained in:
parent
7438b9cfd1
commit
066a5c6994
@ -378,7 +378,7 @@ python __anonymous() {
|
||||
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)
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user