Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 502 Bytes

oelint.task.customorder.md

File metadata and controls

39 lines (27 loc) · 502 Bytes

oelint.task.customorder

severity: error

Example

do_bar() {
    :
}

addtask do_bar after compile before configure

Why is this bad?

The task creates a cyclic or illogical dependency between tasks.

Ways to fix it

The common order of functions is

  • do_fetch
  • do_unpack
  • do_patch
  • do_configure
  • do_compile
  • do_install
  • do_package

make sure setup the custom task to fit into this sequential order

do_bar() {
    :
}

addtask do_bar after compile before do_package