diff options
Diffstat (limited to 'meta/classes')
| -rw-r--r-- | meta/classes/kernel-yocto.bbclass | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass index afccffcf17..e8046bb8f6 100644 --- a/meta/classes/kernel-yocto.bbclass +++ b/meta/classes/kernel-yocto.bbclass | |||
| @@ -322,7 +322,11 @@ do_patch() { | |||
| 322 | meta_dir=$(kgit --meta) | 322 | meta_dir=$(kgit --meta) |
| 323 | (cd ${meta_dir}; ln -sf patch.queue series) | 323 | (cd ${meta_dir}; ln -sf patch.queue series) |
| 324 | if [ -f "${meta_dir}/series" ]; then | 324 | if [ -f "${meta_dir}/series" ]; then |
| 325 | kgit-s2q --gen -v --patches .kernel-meta/ | 325 | kgit_extra_args="" |
| 326 | if [ "${KERNEL_DEBUG_TIMESTAMPS}" != "1" ]; then | ||
| 327 | kgit_extra_args="--commit-sha author" | ||
| 328 | fi | ||
| 329 | kgit-s2q --gen -v $kgit_extra_args --patches .kernel-meta/ | ||
| 326 | if [ $? -ne 0 ]; then | 330 | if [ $? -ne 0 ]; then |
| 327 | bberror "Could not apply patches for ${KMACHINE}." | 331 | bberror "Could not apply patches for ${KMACHINE}." |
| 328 | bbfatal_log "Patch failures can be resolved in the linux source directory ${S})" | 332 | bbfatal_log "Patch failures can be resolved in the linux source directory ${S})" |
