Skip to content

Commit

Permalink
cloud-init, amazon-kvs-webrtc-sdk, aws-sdk-cpp: WORKDIR -> UNPACKDIR …
Browse files Browse the repository at this point in the history
…fixes
  • Loading branch information
thomas-roos committed May 28, 2024
1 parent 6415920 commit f497fdf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ SRC_URI:append:aws-ec2 = " file://cloud.cfg"
# nooelint: oelint.func.specific
do_install:append:aws-ec2 () {
# Adding cloud-init configuration with reasonable settings.
install -T -m 0644 ${WORKDIR}/cloud.cfg ${D}${sysconfdir}/cloud/cloud.cfg
install -T -m 0644 ${UNPACKDIR}/cloud.cfg ${D}${sysconfdir}/cloud/cloud.cfg
}

SYSTEMD_PACKAGES = "${PN}-systemd"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ RDEPENDS:${PN}-ptest += "\

do_install_ptest () {
install -d ${D}${PTEST_PATH}/tests
install -m 0755 ${WORKDIR}/ptest_result.py ${D}${PTEST_PATH}/
install -m 0755 ${UNPACKDIR}/ptest_result.py ${D}${PTEST_PATH}/
cp -r ${B}/tst/kvspic_test ${D}${PTEST_PATH}/tests/
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ EXTRA_OECMAKE += "-DCMAKE_SKIP_RPATH=1"

do_install_ptest () {
cp -r ${B}/tst/webrtc_client_test ${D}${PTEST_PATH}/
install -m 0755 ${WORKDIR}/ptest_result.py ${D}${PTEST_PATH}/
install -m 0755 ${UNPACKDIR}/ptest_result.py ${D}${PTEST_PATH}/
}

# nooelint: oelint.vars.insaneskip:INSANE_SKIP
Expand Down
2 changes: 1 addition & 1 deletion recipes-sdk/aws-sdk-cpp/aws-sdk-cpp_1.11.333.bb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ RRECOMMENDS:${PN}:class-native = ""
do_install_ptest () {
install -d ${D}${PTEST_PATH}/tests
find ${B}/generated/tests -executable -type f -exec install -m 0755 "{}" ${D}${PTEST_PATH}/tests/ \;
install -m 0755 ${WORKDIR}/ptest_result.py ${D}${PTEST_PATH}/
install -m 0755 ${UNPACKDIR}/ptest_result.py ${D}${PTEST_PATH}/
}

# this is related to this bug
Expand Down

0 comments on commit f497fdf

Please sign in to comment.