Jenkinsfile: Add back workaround for license error
This time it is a bit smarter and trigger the licenses deploiement only when it is really missing. This should avoid too long build time. BugzID: 69247
This commit is contained in:
parent
975901eebe
commit
fbb569de68
|
|
@ -182,6 +182,9 @@ def build(env_in, image_type_in, single_fitImage) {
|
|||
if (single_fitImage) {
|
||||
sh "bash -c '. ./env.image${env} && bitbake -k virtual/netmodule-image'"
|
||||
} else {
|
||||
/* The following workaround can be removed once the explanation for the missing lic has been found */
|
||||
if (! fileExists("build/tmp/deploy/licenses/ostree-kernel-initramfs"))
|
||||
sh "bash -c '. ./env.image${env} && bitbake -fc populate_lic ostree-kernel-initramfs'"
|
||||
sh "bash -c '. ./env.image${env} && bitbake -k netmodule-linux-image${image_type}'"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue