Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 537 Bytes

oelint.vars.unpackdir.md

File metadata and controls

36 lines (25 loc) · 537 Bytes

oelint.vars.unpackdir

severity: error

Example

S = "${WORKDIR}"

or

B = "${WORKDIR}/foo/bar"

Why is this bad?

Recently upstream changed the way sources are unpacked/refreshed on changes of the SRC_URI inputs. Unpacking in WORKDIR makes it impossible to determine what is a new resource and what might be a left-over from a previous run. Hence UNPACKDIR was introduced - users should refrain from using WORKDIR for S or B

Ways to fix it

S = "${UNPACKDIR}"

or

B = "${UNPACKDIR}/foo/bar"