diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-extended/lsof/lsof_4.88.bb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-extended/lsof/lsof_4.88.bb b/meta/recipes-extended/lsof/lsof_4.88.bb index a96b06eae7..0e49f9217c 100644 --- a/meta/recipes-extended/lsof/lsof_4.88.bb +++ b/meta/recipes-extended/lsof/lsof_4.88.bb | |||
@@ -15,9 +15,16 @@ S = "${WORKDIR}/lsof_${PV}_src" | |||
15 | LIC_FILES_CHKSUM = "file://${S}/00README;beginline=645;endline=679;md5=964df275d26429ba3b39dbb9f205172a" | 15 | LIC_FILES_CHKSUM = "file://${S}/00README;beginline=645;endline=679;md5=964df275d26429ba3b39dbb9f205172a" |
16 | 16 | ||
17 | python do_unpack () { | 17 | python do_unpack () { |
18 | # temporarily change S for unpack | ||
19 | # of lsof_${PV} | ||
20 | s = d.getVar('S') | ||
21 | d.setVar('S', '${WORKDIR}/lsof_${PV}') | ||
18 | bb.build.exec_func('base_do_unpack', d) | 22 | bb.build.exec_func('base_do_unpack', d) |
23 | # temporarily change SRC_URI for unpack | ||
24 | # of lsof_${PV}_src | ||
19 | src_uri = d.getVar('SRC_URI') | 25 | src_uri = d.getVar('SRC_URI') |
20 | d.setVar('SRC_URI', '${LOCALSRC}') | 26 | d.setVar('SRC_URI', '${LOCALSRC}') |
27 | d.setVar('S', s) | ||
21 | bb.build.exec_func('base_do_unpack', d) | 28 | bb.build.exec_func('base_do_unpack', d) |
22 | d.setVar('SRC_URI', src_uri) | 29 | d.setVar('SRC_URI', src_uri) |
23 | } | 30 | } |