Skip to content

Commit

Permalink
cloud-init, amazon-kvs-webrtc-sdk, aws-sdk-cpp, amazon-kvs-producer-p…
Browse files Browse the repository at this point in the history
…ic: WORKDIR -> UNPACKDIR + GCC 14 fixes
  • Loading branch information
thomas-roos committed May 28, 2024
1 parent 9389b01 commit 15bb71a
Show file tree
Hide file tree
Showing 4 changed files with 7 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 @@ -35,6 +35,9 @@ PACKAGECONFIG[with-tests] = "-DBUILD_TEST=ON,-DBUILD_TEST=OFF,gtest"

CFLAGS:append = " -Wl,-Bsymbolic"

# fix error: implicit declaration of function pthread_getname_np
CFLAGS:append = " -D_GNU_SOURCE"

EXTRA_OECMAKE += "\
-DBUILD_DEPENDENCIES=OFF \
-DCODE_COVERAGE=OFF \
Expand Down Expand Up @@ -65,7 +68,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 15bb71a

Please sign in to comment.