Skip to content

Commit 1dbf193

Browse files
committed
recipes-demos: Modify copy command and remove old source path
The previous copy command was not ignoring ocult subdirectories and the S path was using WORKDIR, both circumstances that were causing the bitbake build to fail. This modification ensures compatibility with the new version of yocto: "whinlatter". Signed-off-by: Vagner Nörnberg <[email protected]>
1 parent 63814cb commit 1dbf193

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

recipes-demos/html5-demo/html5-demo_git.bb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,12 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
55
SRC_URI = "git://github.com/OSSystems/${BPN}.git;protocol=https;branch=master"
66
SRCREV = "e9ede7082b9e9e919e25b3a147d18e46dc3802f0"
77

8-
S = "${WORKDIR}/git"
9-
108
do_configure[noexec] = "1"
119
do_compile[noexec] = "1"
1210

1311
do_install() {
1412
install -d ${D}${datadir}/${PN}
15-
cp -rf ${WORKDIR}/git/* ${D}${datadir}/${PN}
13+
cp -r ${S}/* ${D}${datadir}/${PN}
1614
}
1715

1816
FILES:${PN} += "${datadir}/${PN}"

0 commit comments

Comments
 (0)