File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,7 +44,13 @@ SRC_URI[vscode-x64.sha256sum] = "510426eb23d330bf25d84fe88e49a08d965d6b21957b8
4444SRC_URI [vscode -arm64 . sha256sum ] = "69c0d1d0534cd4173e2b3dbee5d001ed5c2bd0c846bb22dca917312b64eb1baf"
4545SRC_URI [vscode -armhf . sha256sum ] = "1662d3dd08a3602544bc4ca1b091e04d5393a23414607b7c34f0570ebd0d5daa"
4646
47- S = "${WORKDIR} /VSCode-linux-${VSCODE_ARCH} "
47+ # Styhead+ introduced UNPACKDIR as the directory do_unpack writes to,
48+ # distinct from WORKDIR which is reserved for build artefacts. We have
49+ # to source S from UNPACKDIR on those releases; on kirkstone/scarthgap
50+ # UNPACKDIR isn't defined, so fall back to WORKDIR. A literal
51+ # UNPACKDIR = ${WORKDIR} assignment is rejected by bitbake.conf's QA
52+ # on styhead+, so compute the prefix via Python instead.
53+ S = "${@ (d . getVar ('UNPACKDIR' ) or d . getVar ('WORKDIR' ))}/VSCode-linux-${VSCODE_ARCH} "
4854
4955# These are arch-specific prebuilt ELFs, not noarch content; bin_package
5056# inherits allarch which is wrong here. Override back to per-machine
You can’t perform that action at this time.
0 commit comments