[meta-rockchip][PATCH] rockchip-gpt-img: fix for new override syntax
Trevor Woerner
It looks like I missed a case for the new bitbake override syntax. My tests
weren't done from a fresh build so either a preexisting image was still available, or the unfixed syntax caused a race. Signed-off-by: Trevor Woerner <twoerner@...> --- classes/rockchip-gpt-img.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/rockchip-gpt-img.bbclass b/classes/rockchip-gpt-img.bbclass index 434c100..b698db0 100644 --- a/classes/rockchip-gpt-img.bbclass +++ b/classes/rockchip-gpt-img.bbclass @@ -9,7 +9,7 @@ IMG_ROOTFS_TYPE = "ext4" IMG_ROOTFS = "${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.${IMG_ROOTFS_TYPE}" # This image depends on the rootfs image -IMAGE_TYPEDEP_rockchip-gpt-img = "${IMG_ROOTFS_TYPE}" +IMAGE_TYPEDEP:rockchip-gpt-img = "${IMG_ROOTFS_TYPE}" GPTIMG = "${IMAGE_NAME}-gpt.img" GPTIMG_SYMLK = "${IMAGE_BASENAME}-${MACHINE}-gpt.img" -- 2.30.0.rc0
|
|
Re: [meta-openssl102][PATCH 1/2] layer.conf: add honister to LAYERSERIES_COMPAT
Mark Hatle
I'll get this staged later today.
toggle quoted messageShow quoted text
Thanks for running the conversion.
On 8/6/21 2:09 AM, Yi Zhao wrote:
Signed-off-by: Yi Zhao <yi.zhao@...>
|
|
Re: [qa-build-notification] QA notification for completed autobuilder build (yocto-3.1.10.rc1)
Sangeeta Jain
Hello All,
toggle quoted messageShow quoted text
This is the full report for yocto-3.1.10.rc1: https://git.yoctoproject.org/cgit/cgit.cgi/yocto-testresults-contrib/tree/?h=intel-yocto-testresults ======= Summary ======== No high milestone defects. One issue observed in this release: Bug 14488 - AB-INT PTEST: tcl socket.test intermittent failure ======= Bugs ======== https://bugzilla.yoctoproject.org/show_bug.cgi?id=14488 Thanks, Sangeeta
-----Original Message-----
|
|
[meta-openssl102-fips][PATCH 3/3] meta-openssl102-fips: convert to new override syntax
Yi Zhao
This is the result of automated script conversion:
poky/scripts/contrib/convert-overrides.py meta-openssl102-fips Converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Yi Zhao <yi.zhao@...> --- README.build | 8 ++++---- README.openssh_cavstest | 2 +- classes/fips_kernel.bbclass | 4 ++-- classes/image-enable-fips.bbclass | 2 +- conf/layer.conf | 4 ++-- .../openssh/openssh_8.%.bbappend | 2 +- recipes-connectivity/openssh/openssh_fips.inc | 16 ++++++++-------- .../openssl/openssl-fips-example_2.0.16.bb | 6 +++--- .../openssl/openssl-fips_2.0.16.bb | 6 +++--- .../openssl/openssl_1.0.2%.bbappend | 2 +- recipes-connectivity/openssl/openssl_fips.inc | 8 ++++---- recipes-support/fipscheck/fipscheck_1.5.0.bb | 6 +++--- recipes-support/rng-tools/rng-tools_6.%.bbappend | 2 +- recipes-support/rng-tools/rng-tools_fips.inc | 2 +- 14 files changed, 35 insertions(+), 35 deletions(-) diff --git a/README.build b/README.build index 36e3875..b675686 100644 --- a/README.build +++ b/README.build @@ -44,7 +44,7 @@ to image [3] [2] git://git.yoctoproject.org/meta-openssl102 Manually set 1.0.2% to openssl preferred version echo "PREFERRED_VERSION_openssl = '1.0.2%'" >> conf/local.conf -[3] echo "IMAGE_INSTALL_append = ' packagegroup-core-buildessential'" >> conf/local.conf +[3] echo "IMAGE_INSTALL:append = ' packagegroup-core-buildessential'" >> conf/local.conf The easiest way to do this with Wind River Linux is include: @@ -56,7 +56,7 @@ Additionally you will need a way to get the openssl-fips module source to the target for the build. Adding ssh/scp is recommended, to add these add the following to your local.conf file: - IMAGE_INSTALL_append = " openssh-ssh openssh-scp" + IMAGE_INSTALL:append = " openssh-ssh openssh-scp" If you are building with configurations that have security software enabled, such as SE Linux, you may be required to boot in a non-enforcing mode to @@ -132,7 +132,7 @@ Building Steps (based on section 4 of the UsersGuide-2.0.pdf): prebuilt tar archive. For Yocto, in your build directory, edit conf/local.conf, add: - IMAGE_INSTALL_append = " openssl-fips-dev" + IMAGE_INSTALL:append = " openssl-fips-dev" OPENSSL_FIPS_ENABLED = "1" OPENSSL_FIPS_PREBUILT = "<path>" @@ -230,7 +230,7 @@ program, and embed the fingerprint. On host: edit local.conf to add openssl-fips-example to image -$ echo 'IMAGE_INSTALL_append = " openssl-fips-example"' >> conf/local.conf +$ echo 'IMAGE_INSTALL:append = " openssl-fips-example"' >> conf/local.conf $ bitbake <image> On target: diff --git a/README.openssh_cavstest b/README.openssh_cavstest index 2c31209..975a782 100644 --- a/README.openssh_cavstest +++ b/README.openssh_cavstest @@ -1,5 +1,5 @@ 1. Install openssh-cavs to images -$ echo "IMAGE_INSTALL_append = ' openssh-cavs'" >> conf/local.conf +$ echo "IMAGE_INSTALL:append = ' openssh-cavs'" >> conf/local.conf $ bitbake <image> 2. Run tests on target diff --git a/classes/fips_kernel.bbclass b/classes/fips_kernel.bbclass index 064088f..1a2525d 100644 --- a/classes/fips_kernel.bbclass +++ b/classes/fips_kernel.bbclass @@ -1,4 +1,4 @@ -FILESEXTRAPATHS_prepend := "${LAYER_PATH_meta-openssl-one-zero-two-fips}/recipes-kernel/linux/files/:" -SRC_URI_append = " \ +FILESEXTRAPATHS:prepend := "${LAYER_PATH_meta-openssl-one-zero-two-fips}/recipes-kernel/linux/files/:" +SRC_URI:append = " \ file://crypto_fips.scc \ " diff --git a/classes/image-enable-fips.bbclass b/classes/image-enable-fips.bbclass index fcb5a40..5792883 100644 --- a/classes/image-enable-fips.bbclass +++ b/classes/image-enable-fips.bbclass @@ -1,4 +1,4 @@ -ROOTFS_POSTPROCESS_COMMAND_append = " enable_system_fips;" +ROOTFS_POSTPROCESS_COMMAND:append = " enable_system_fips;" enable_system_fips() { install -d ${IMAGE_ROOTFS}${sysconfdir} diff --git a/conf/layer.conf b/conf/layer.conf index fc1dcbd..e9ac874 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -18,8 +18,8 @@ LAYERDEPENDS_meta-openssl-one-zero-two-fips = " \ meta-openssl-one-zero-two \ " -IMAGE_CLASSES_append = "${@'' if d.getVar('OPENSSL_FIPS_ENABLED', True) != '1' else ' image-enable-fips'}" +IMAGE_CLASSES:append = "${@'' if d.getVar('OPENSSL_FIPS_ENABLED', True) != '1' else ' image-enable-fips'}" LAYER_PATH_meta-openssl-one-zero-two-fips = "${LAYERDIR}" -KERNEL_CLASSES_append = " ${@bb.utils.contains('OPENSSL_FIPS_ENABLED', '1', ' fips_kernel', '',d)}" +KERNEL_CLASSES:append = " ${@bb.utils.contains('OPENSSL_FIPS_ENABLED', '1', ' fips_kernel', '',d)}" diff --git a/recipes-connectivity/openssh/openssh_8.%.bbappend b/recipes-connectivity/openssh/openssh_8.%.bbappend index 07799f6..a2e3aca 100644 --- a/recipes-connectivity/openssh/openssh_8.%.bbappend +++ b/recipes-connectivity/openssh/openssh_8.%.bbappend @@ -1,4 +1,4 @@ FIPSINC = "" -FIPSINC_class-target = "${@'' if d.getVar('OPENSSL_FIPS_ENABLED', True) != '1' else 'openssh_fips.inc'}" +FIPSINC:class-target = "${@'' if d.getVar('OPENSSL_FIPS_ENABLED', True) != '1' else 'openssh_fips.inc'}" require ${FIPSINC} diff --git a/recipes-connectivity/openssh/openssh_fips.inc b/recipes-connectivity/openssh/openssh_fips.inc index efba8db..b13e06e 100644 --- a/recipes-connectivity/openssh/openssh_fips.inc +++ b/recipes-connectivity/openssh/openssh_fips.inc @@ -1,9 +1,9 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/openssh:" +FILESEXTRAPATHS:prepend := "${THISDIR}/openssh:" DEPENDS += " \ openssl-fips \ fipscheck \ " -RRECOMMENDS_${PN}-sshd_remove = "rng-tools" +RRECOMMENDS:${PN}-sshd:remove = "rng-tools" SRC_URI += " \ file://0001-openssh-8.6p1-fips.patch \ @@ -14,13 +14,13 @@ SRC_URI += " \ file://0001-ssh-cavs-set-kex-sessin_id-via-sshbuf_put.patch \ " -do_install_append() { +do_install:append() { install -d ${D}${libdir}/fipscheck } inherit qemu -pkg_postinst_append_${PN}-ssh () { +pkg_postinst:append:${PN}-ssh () { if [ -n "$D" ]; then if ${@bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', 'true','false', d)}; then ${@qemu_run_binary(d, '$D', '${bindir}/fipshmac')} \ @@ -33,7 +33,7 @@ pkg_postinst_append_${PN}-ssh () { fi } -pkg_postinst_append_${PN}-sshd () { +pkg_postinst:append:${PN}-sshd () { if [ -n "$D" ]; then if ${@bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', 'true','false', d)}; then ${@qemu_run_binary(d, '$D', '${bindir}/fipshmac')} \ @@ -47,10 +47,10 @@ pkg_postinst_append_${PN}-sshd () { } PACKAGES =+ "${PN}-cavs" -SUMMARY_${PN}-cavs = "CAVS tests for FIPS validation" -FILES_${PN}-cavs = " \ +SUMMARY:${PN}-cavs = "CAVS tests for FIPS validation" +FILES:${PN}-cavs = " \ ${libexecdir}/ctr-cavstest \ ${libexecdir}/ssh-cavs \ ${libexecdir}/ssh-cavs_driver.pl" -FILES_${PN} += "${libdir}/fipscheck" +FILES:${PN} += "${libdir}/fipscheck" diff --git a/recipes-connectivity/openssl/openssl-fips-example_2.0.16.bb b/recipes-connectivity/openssl/openssl-fips-example_2.0.16.bb index 1a720cd..c6d069f 100644 --- a/recipes-connectivity/openssl/openssl-fips-example_2.0.16.bb +++ b/recipes-connectivity/openssl/openssl-fips-example_2.0.16.bb @@ -19,14 +19,14 @@ DEPENDS = " \ openssl \ " -RDEPENDS_${PN} = " \ +RDEPENDS:${PN} = " \ openssl-fips-dev \ openssl-dev \ openssl-staticdev \ packagegroup-core-buildessential \ " -FILES_${PN} += "${libdir}/ssl/fips-2.0/test" +FILES:${PN} += "${libdir}/ssl/fips-2.0/test" do_configure[noexec] = "1" @@ -47,7 +47,7 @@ do_install() { sed -i "s:@LIBDIR@:${libdir}:g" ${D}/${libdir}/ssl/fips-2.0/test/Makefile } -INSANE_SKIP_${PN} += "dev-deps" +INSANE_SKIP:${PN} += "dev-deps" python __anonymous() { if d.getVar("OPENSSL_FIPS_ENABLED", True) != "1": diff --git a/recipes-connectivity/openssl/openssl-fips_2.0.16.bb b/recipes-connectivity/openssl/openssl-fips_2.0.16.bb index b7cb34b..7a2949a 100644 --- a/recipes-connectivity/openssl/openssl-fips_2.0.16.bb +++ b/recipes-connectivity/openssl/openssl-fips_2.0.16.bb @@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=f9a8f968107345e0b75aa8c2ecaa7ec8" # Set "OPENSSL_FIPS_PREBUILT" to the location of the prebuilt # openssl-fips-TARGET_ARCH-install.tar.bz2 files. # -FILESEXTRAPATHS_prepend := "${OPENSSL_FIPS_PREBUILT}:" +FILESEXTRAPATHS:prepend := "${OPENSSL_FIPS_PREBUILT}:" PREBUILT_OPENSSL_FIPS = "openssl-fips-${PV}-${TARGET_ARCH}-install.tar.bz2" @@ -20,8 +20,8 @@ SRC_URI = "file://${PREBUILT_OPENSSL_FIPS} \ " S = "${WORKDIR}" -RDEPENDS_${PN}-dev = "" -FILES_${PN}-dev += "${bindir}/fipsld ${libdir}/ssl/fips-2.0" +RDEPENDS:${PN}-dev = "" +FILES:${PN}-dev += "${bindir}/fipsld ${libdir}/ssl/fips-2.0" INHIBIT_PACKAGE_DEBUG_SPLIT = '1' INHIBIT_PACKAGE_STRIP = '1' diff --git a/recipes-connectivity/openssl/openssl_1.0.2%.bbappend b/recipes-connectivity/openssl/openssl_1.0.2%.bbappend index 517f1c2..41a7302 100644 --- a/recipes-connectivity/openssl/openssl_1.0.2%.bbappend +++ b/recipes-connectivity/openssl/openssl_1.0.2%.bbappend @@ -1,4 +1,4 @@ FIPSINC = "" -FIPSINC_class-target = "${@'' if d.getVar('OPENSSL_FIPS_ENABLED', True) != '1' else 'openssl_fips.inc'}" +FIPSINC:class-target = "${@'' if d.getVar('OPENSSL_FIPS_ENABLED', True) != '1' else 'openssl_fips.inc'}" require ${FIPSINC} diff --git a/recipes-connectivity/openssl/openssl_fips.inc b/recipes-connectivity/openssl/openssl_fips.inc index 5480096..9ae23cd 100644 --- a/recipes-connectivity/openssl/openssl_fips.inc +++ b/recipes-connectivity/openssl/openssl_fips.inc @@ -1,11 +1,11 @@ -PACKAGECONFIG_append = " fips" +PACKAGECONFIG:append = " fips" PACKAGECONFIG[fips] = "fips --with-fipsdir=${STAGING_DIR_TARGET}${libdir}/ssl/fips-2.0,,openssl-fips,," -FILESEXTRAPATHS_prepend := "${THISDIR}/openssl:" +FILESEXTRAPATHS:prepend := "${THISDIR}/openssl:" # This adds the necessary symbols if fips is enabled. -SRC_URI_append = " file://openssl-fips-version.patch \ +SRC_URI:append = " file://openssl-fips-version.patch \ file://0001-make-fips_premain_dso-support-cross-compiling.patch \ " @@ -14,7 +14,7 @@ DEPENDS += "qemu-native" inherit qemu # We need to run the special fips_premain_dso under QEMU -do_compile_prepend() { +do_compile:prepend() { qemu_binary="${@qemu_wrapper_cmdline(d, '${STAGING_DIR_HOST}', ['${STAGING_LIBDIR}','${STAGING_BASELIBDIR}'])}" cat << EOF > fips_premain_dso #! /bin/sh diff --git a/recipes-support/fipscheck/fipscheck_1.5.0.bb b/recipes-support/fipscheck/fipscheck_1.5.0.bb index 970640d..df72454 100644 --- a/recipes-support/fipscheck/fipscheck_1.5.0.bb +++ b/recipes-support/fipscheck/fipscheck_1.5.0.bb @@ -27,13 +27,13 @@ EXTRA_OECONF += " \ EXTRA_OEMAKE += " \ -I${STAGING_LIBDIR_NATIVE}/ssl/fips-2.0/include \ " -do_install_append() { +do_install:append() { install -d ${D}${libdir}/fipscheck } inherit qemu -pkg_postinst_${PN} () { +pkg_postinst:${PN} () { if [ -n "$D" ]; then if ${@bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', 'true','false', d)}; then ${@qemu_run_binary(d, '$D', '${bindir}/fipshmac')} \ @@ -54,4 +54,4 @@ python __anonymous() { raise bb.parse.SkipPackage("To enable the fipscheck recipe set OPENSSL_FIPS_ENABLED = '1'.") } -FILES_${PN} += "${libdir}/fipscheck" +FILES:${PN} += "${libdir}/fipscheck" diff --git a/recipes-support/rng-tools/rng-tools_6.%.bbappend b/recipes-support/rng-tools/rng-tools_6.%.bbappend index c487175..7eeaecb 100644 --- a/recipes-support/rng-tools/rng-tools_6.%.bbappend +++ b/recipes-support/rng-tools/rng-tools_6.%.bbappend @@ -1,4 +1,4 @@ FIPSINC = "" -FIPSINC_class-target = "${@'' if d.getVar('OPENSSL_FIPS_ENABLED', True) != '1' else 'rng-tools_fips.inc'}" +FIPSINC:class-target = "${@'' if d.getVar('OPENSSL_FIPS_ENABLED', True) != '1' else 'rng-tools_fips.inc'}" require ${FIPSINC} diff --git a/recipes-support/rng-tools/rng-tools_fips.inc b/recipes-support/rng-tools/rng-tools_fips.inc index d5f6435..e3b89ca 100644 --- a/recipes-support/rng-tools/rng-tools_fips.inc +++ b/recipes-support/rng-tools/rng-tools_fips.inc @@ -1,2 +1,2 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/rng-tools:" +FILESEXTRAPATHS:prepend := "${THISDIR}/rng-tools:" -- 2.25.1
|
|
[meta-openssl102-fips][PATCH 2/3] openssh: refresh patches for 8.6p1
Yi Zhao
Refresh patches:
0001-openssh-8.6p1-fips.patch 0001-conditional-enable-fips-mode.patch Signed-off-by: Yi Zhao <yi.zhao@...> --- .../0001-conditional-enable-fips-mode.patch | 38 +++++++------ ...ps.patch => 0001-openssh-8.6p1-fips.patch} | 55 ++++++++++--------- recipes-connectivity/openssh/openssh_fips.inc | 2 +- 3 files changed, 50 insertions(+), 45 deletions(-) rename recipes-connectivity/openssh/openssh/{0001-openssh-8.4p1-fips.patch => 0001-openssh-8.6p1-fips.patch} (92%) diff --git a/recipes-connectivity/openssh/openssh/0001-conditional-enable-fips-mode.patch b/recipes-connectivity/openssh/openssh/0001-conditional-enable-fips-mode.patch index 9fd19c0..9bec7d7 100644 --- a/recipes-connectivity/openssh/openssh/0001-conditional-enable-fips-mode.patch +++ b/recipes-connectivity/openssh/openssh/0001-conditional-enable-fips-mode.patch @@ -1,4 +1,4 @@ -From 48888de317391522186c6ae24a8d6d7d7add2673 Mon Sep 17 00:00:00 2001 +From 1696484c2a06e2ec095d748d2155eb8206dd850b Mon Sep 17 00:00:00 2001 From: Hongxu Jia <hongxu.jia@...> Date: Sat, 21 Dec 2019 13:03:23 +0800 Subject: [PATCH] conditional enable fips mode @@ -14,11 +14,12 @@ The ssh_malloc_init function is removed in openssh 8.1p1, we need to insert ssh_enable_fips_mode function to main function for all applications. +Rebase to 8.6p1 Signed-off-by: Yi Zhao <yi.zhao@...> --- sftp-server-main.c | 1 + sftp-server.c | 1 + - sftp.c | 1 + + sftp.c | 2 ++ ssh-add.c | 1 + ssh-agent.c | 1 + ssh-keygen.c | 1 + @@ -29,7 +30,7 @@ Signed-off-by: Yi Zhao <yi.zhao@...> sshd.c | 1 + xmalloc.c | 20 ++++++++++++++++++++ xmalloc.h | 1 + - 13 files changed, 32 insertions(+) + 13 files changed, 33 insertions(+) diff --git a/sftp-server-main.c b/sftp-server-main.c index 06566d3..a10566d 100644 @@ -44,10 +45,10 @@ index 06566d3..a10566d 100644 sanitise_stdfd(); diff --git a/sftp-server.c b/sftp-server.c -index 7300900..42da9d7 100644 +index 838f048..8a8d87b 100644 --- a/sftp-server.c +++ b/sftp-server.c -@@ -1616,6 +1616,7 @@ sftp_server_main(int argc, char **argv, struct passwd *user_pw) +@@ -1656,6 +1656,7 @@ sftp_server_main(int argc, char **argv, struct passwd *user_pw) extern char *optarg; extern char *__progname; @@ -56,19 +57,20 @@ index 7300900..42da9d7 100644 log_init(__progname, log_level, log_facility, log_stderr); diff --git a/sftp.c b/sftp.c -index fb3c08d..85b9b67 100644 +index 3f46c55..e9c8f1d 100644 --- a/sftp.c +++ b/sftp.c -@@ -2345,6 +2345,7 @@ main(int argc, char **argv) - size_t num_requests = DEFAULT_NUM_REQUESTS; +@@ -2342,6 +2342,8 @@ main(int argc, char **argv) + size_t num_requests = 0; long long limit_kbps = 0; + ssh_enable_fips_mode(); ++ /* Ensure that fds 0, 1 and 2 are open or directed to /dev/null */ sanitise_stdfd(); msetlocale(); diff --git a/ssh-add.c b/ssh-add.c -index 7edb9f9..c75f85b 100644 +index 92192fc..4ed14cd 100644 --- a/ssh-add.c +++ b/ssh-add.c @@ -667,6 +667,7 @@ main(int argc, char **argv) @@ -80,7 +82,7 @@ index 7edb9f9..c75f85b 100644 sanitise_stdfd(); diff --git a/ssh-agent.c b/ssh-agent.c -index 58fe6dd..9018a7c 100644 +index 48a47d4..8a0d7a2 100644 --- a/ssh-agent.c +++ b/ssh-agent.c @@ -1388,6 +1388,7 @@ main(int ac, char **av) @@ -92,7 +94,7 @@ index 58fe6dd..9018a7c 100644 sanitise_stdfd(); diff --git a/ssh-keygen.c b/ssh-keygen.c -index 6451584..246caa1 100644 +index fc73943..cdb45a9 100644 --- a/ssh-keygen.c +++ b/ssh-keygen.c @@ -3153,6 +3153,7 @@ main(int argc, char **argv) @@ -140,7 +142,7 @@ index a9a6fe3..3c76f70 100644 seed_rng(); TAILQ_INIT(&pkcs11_keylist); diff --git a/ssh.c b/ssh.c -index 729d87a..ab78b53 100644 +index a6e7642..8f91534 100644 --- a/ssh.c +++ b/ssh.c @@ -650,6 +650,7 @@ main(int ac, char **av) @@ -152,10 +154,10 @@ index 729d87a..ab78b53 100644 sanitise_stdfd(); diff --git a/sshd.c b/sshd.c -index fee4703..07faf7b 100644 +index b2ab001..8112d2c 100644 --- a/sshd.c +++ b/sshd.c -@@ -1534,6 +1534,7 @@ main(int ac, char **av) +@@ -1535,6 +1535,7 @@ main(int ac, char **av) Authctxt *authctxt; struct connection_info *connection_info = NULL; @@ -199,13 +201,13 @@ index b48d33b..456a063 100644 + } +} diff --git a/xmalloc.h b/xmalloc.h -index abaf7ad..b3b1c8c 100644 +index a6b8d23..18fe756 100644 --- a/xmalloc.h +++ b/xmalloc.h -@@ -26,3 +26,4 @@ int xasprintf(char **, const char *, ...) - __attribute__((__nonnull__ (2))); +@@ -25,3 +25,4 @@ int xasprintf(char **, const char *, ...) + __attribute__((__format__ (printf, 2, 3))) __attribute__((__nonnull__ (2))); int xvasprintf(char **, const char *, va_list) - __attribute__((__nonnull__ (2))); + __attribute__((__nonnull__ (2))); +void ssh_enable_fips_mode(void); -- 2.17.1 diff --git a/recipes-connectivity/openssh/openssh/0001-openssh-8.4p1-fips.patch b/recipes-connectivity/openssh/openssh/0001-openssh-8.6p1-fips.patch similarity index 92% rename from recipes-connectivity/openssh/openssh/0001-openssh-8.4p1-fips.patch rename to recipes-connectivity/openssh/openssh/0001-openssh-8.6p1-fips.patch index 10687ff..ff1b5dc 100644 --- a/recipes-connectivity/openssh/openssh/0001-openssh-8.4p1-fips.patch +++ b/recipes-connectivity/openssh/openssh/0001-openssh-8.6p1-fips.patch @@ -1,7 +1,7 @@ -From 0452f9dc4acf90b8d7ac6ddf6ebbe455d202ce54 Mon Sep 17 00:00:00 2001 +From 064c5cafa532166058a5cc694c4398ed2aaae8d1 Mon Sep 17 00:00:00 2001 From: Hongxu Jia <hongxu.jia@...> Date: Sat, 21 Dec 2019 11:45:38 +0800 -Subject: [PATCH] openssh 8.4p1 fips +Subject: [PATCH] openssh 8.6p1 fips Port openssh-7.7p1-fips.patch from Fedora https://src.fedoraproject.org/rpms/openssh.git @@ -19,6 +19,9 @@ Port openssh-7.7p1-fips.patch from Fedora https://src.fedoraproject.org/rpms/openssh.git (commit: fbd5f1bee2e2cdc7b1b47f4604b8347d8c3ed63f) +Signed-off-by: Yi Zhao <yi.zhao@...> + +Rebase to 8.6p1 Signed-off-by: Yi Zhao <yi.zhao@...> --- Makefile.in | 14 +++++++------- @@ -38,10 +41,10 @@ Signed-off-by: Yi Zhao <yi.zhao@...> 14 files changed, 171 insertions(+), 20 deletions(-) diff --git a/Makefile.in b/Makefile.in -index e3cd296..bf53fb0 100644 +index b749206..ee58570 100644 --- a/Makefile.in +++ b/Makefile.in -@@ -204,25 +204,25 @@ libssh.a: $(LIBSSH_OBJS) +@@ -205,25 +205,25 @@ libssh.a: $(LIBSSH_OBJS) $(RANLIB) $@ ssh$(EXEEXT): $(LIBCOMPAT) libssh.a $(SSHOBJS) @@ -73,7 +76,7 @@ index e3cd296..bf53fb0 100644 ssh-pkcs11-helper$(EXEEXT): $(LIBCOMPAT) libssh.a $(P11HELPER_OBJS) $(LD) -o $@ $(P11HELPER_OBJS) $(LDFLAGS) -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) -@@ -231,7 +231,7 @@ ssh-sk-helper$(EXEEXT): $(LIBCOMPAT) libssh.a $(SKHELPER_OBJS) +@@ -232,7 +232,7 @@ ssh-sk-helper$(EXEEXT): $(LIBCOMPAT) libssh.a $(SKHELPER_OBJS) $(LD) -o $@ $(SKHELPER_OBJS) $(LDFLAGS) -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) $(LIBFIDO2) ssh-keyscan$(EXEEXT): $(LIBCOMPAT) libssh.a $(SSHKEYSCAN_OBJS) @@ -97,10 +100,10 @@ index 32771f2..74fac3b 100644 return (&aes_ctr); } diff --git a/dh.c b/dh.c -index b5bb35e..676f893 100644 +index ce2eb47..c038961 100644 --- a/dh.c +++ b/dh.c -@@ -152,6 +152,12 @@ choose_dh(int min, int wantbits, int max) +@@ -164,6 +164,12 @@ choose_dh(int min, int wantbits, int max) int best, bestcount, which, linenum; struct dhgroup dhg; @@ -110,10 +113,10 @@ index b5bb35e..676f893 100644 + return (dh_new_group_fallback(max)); + } + - if ((f = fopen(_PATH_DH_MODULI, "r")) == NULL) { + if ((f = fopen(get_moduli_filename(), "r")) == NULL) { logit("WARNING: could not open %s (%s), using fixed modulus", - _PATH_DH_MODULI, strerror(errno)); -@@ -489,4 +495,38 @@ dh_estimate(int bits) + get_moduli_filename(), strerror(errno)); +@@ -502,4 +508,38 @@ dh_estimate(int bits) return 8192; } @@ -153,7 +156,7 @@ index b5bb35e..676f893 100644 + #endif /* WITH_OPENSSL */ diff --git a/dh.h b/dh.h -index 5d6df62..54c7aa2 100644 +index c6326a3..e51e292 100644 --- a/dh.h +++ b/dh.h @@ -45,6 +45,7 @@ DH *dh_new_group_fallback(int); @@ -163,9 +166,9 @@ index 5d6df62..54c7aa2 100644 +int dh_is_known_group(const DH *); u_int dh_estimate(int); - + void dh_set_moduli_file(const char *); diff --git a/kex.c b/kex.c -index 30425ab..1250f42 100644 +index 709a0ec..c4ac65f 100644 --- a/kex.c +++ b/kex.c @@ -165,7 +165,10 @@ kex_names_valid(const char *names) @@ -257,7 +260,7 @@ index f03b7df..57b8779 100644 #define SSH_ALLOWED_CA_SIGALGS \ "ssh-ed25519," \ diff --git a/readconf.c b/readconf.c -index 724974b..870a654 100644 +index 0f27652..6311bd1 100644 --- a/readconf.c +++ b/readconf.c @@ -2475,11 +2475,16 @@ fill_default_options(Options * options) @@ -283,10 +286,10 @@ index 724974b..870a654 100644 do { \ if ((r = kex_assemble_names(&options->what, \ diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c -index d8dc712..c6e62e4 100644 +index 798b24b..bbc2380 100644 --- a/sandbox-seccomp-filter.c +++ b/sandbox-seccomp-filter.c -@@ -157,6 +157,9 @@ static const struct sock_filter preauth_insns[] = { +@@ -160,6 +160,9 @@ static const struct sock_filter preauth_insns[] = { #ifdef __NR_open SC_DENY(__NR_open, EACCES), #endif @@ -297,7 +300,7 @@ index d8dc712..c6e62e4 100644 SC_DENY(__NR_openat, EACCES), #endif diff --git a/servconf.c b/servconf.c -index 9695583..98f6303 100644 +index 4d1910f..4502fef 100644 --- a/servconf.c +++ b/servconf.c @@ -218,11 +218,16 @@ assemble_algorithms(ServerOptions *o) @@ -323,7 +326,7 @@ index 9695583..98f6303 100644 do { \ if ((r = kex_assemble_names(&o->what, defaults, all)) != 0) \ diff --git a/ssh-keygen.c b/ssh-keygen.c -index cfb5f11..6451584 100644 +index 027c6db..fc73943 100644 --- a/ssh-keygen.c +++ b/ssh-keygen.c @@ -205,6 +205,12 @@ type_bits_valid(int type, const char *name, u_int32_t *bitsp) @@ -359,7 +362,7 @@ index cfb5f11..6451584 100644 error("Could not save your private key in %s: %s", prv_tmp, strerror(errno)); diff --git a/ssh.c b/ssh.c -index 53330da..729d87a 100644 +index 35b6b51..a6e7642 100644 --- a/ssh.c +++ b/ssh.c @@ -77,6 +77,8 @@ @@ -400,7 +403,7 @@ index 53330da..729d87a 100644 if (options.sk_provider != NULL && *options.sk_provider == '$' && strlen(options.sk_provider) > 1) { diff --git a/sshd.c b/sshd.c -index eff4778..fee4703 100644 +index 8918eb2..b2ab001 100644 --- a/sshd.c +++ b/sshd.c @@ -66,6 +66,7 @@ @@ -420,7 +423,7 @@ index eff4778..fee4703 100644 #include "openbsd-compat/openssl-compat.h" #endif -@@ -1536,6 +1539,18 @@ main(int ac, char **av) +@@ -1537,6 +1540,18 @@ main(int ac, char **av) #endif __progname = ssh_get_progname(av[0]); @@ -439,7 +442,7 @@ index eff4778..fee4703 100644 /* Save argv. Duplicate so setproctitle emulation doesn't clobber it */ saved_argc = ac; rexec_argc = ac; -@@ -2017,6 +2032,10 @@ main(int ac, char **av) +@@ -2023,6 +2038,10 @@ main(int ac, char **av) /* Reinitialize the log (because of the fork above). */ log_init(__progname, options.log_level, options.log_facility, log_stderr); @@ -447,11 +450,11 @@ index eff4778..fee4703 100644 + logit("FIPS mode initialized"); + } + - /* Chdir to the root directory so that the current disk can be - unmounted if desired. */ - if (chdir("/") == -1) + /* + * Chdir to the root directory so that the current disk can be + * unmounted if desired. diff --git a/sshkey.c b/sshkey.c -index b25c59a..8fcfe22 100644 +index e92709d..5bd4fa9 100644 --- a/sshkey.c +++ b/sshkey.c @@ -34,6 +34,7 @@ diff --git a/recipes-connectivity/openssh/openssh_fips.inc b/recipes-connectivity/openssh/openssh_fips.inc index 194a6f4..efba8db 100644 --- a/recipes-connectivity/openssh/openssh_fips.inc +++ b/recipes-connectivity/openssh/openssh_fips.inc @@ -6,7 +6,7 @@ DEPENDS += " \ RRECOMMENDS_${PN}-sshd_remove = "rng-tools" SRC_URI += " \ - file://0001-openssh-8.4p1-fips.patch \ + file://0001-openssh-8.6p1-fips.patch \ file://0001-conditional-enable-fips-mode.patch \ file://openssh-6.6p1-ctr-cavstest.patch \ file://openssh-6.7p1-kdf-cavs.patch \ -- 2.25.1
|
|
[meta-openssl102-fips][PATCH 1/3] layer.conf: add honister to LAYERSERIES_COMPAT
Yi Zhao
Signed-off-by: Yi Zhao <yi.zhao@...>
--- conf/layer.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/layer.conf b/conf/layer.conf index 01026f0..fc1dcbd 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -10,7 +10,7 @@ BBFILE_PRIORITY_meta-openssl-one-zero-two-fips = "5" LAYERVERSION_meta-openssl-one-zero-two-fips = "1" -LAYERSERIES_COMPAT_meta-openssl-one-zero-two-fips = "hardknott" +LAYERSERIES_COMPAT_meta-openssl-one-zero-two-fips = "honister" LAYERPATH_meta-openssl-one-zero-two-fips = "${LAYERDIR}" -- 2.25.1
|
|
[meta-openssl102][PATCH 2/2] meta-openssl102: convert to new override syntax
Yi Zhao
This is the result of automated script conversion:
poky/scripts/contrib/convert-overrides.py meta-openssl102 Converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Yi Zhao <yi.zhao@...> --- .../openssl/openssl_1.0.2u.bb | 44 +++++++++---------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/recipes-connectivity/openssl/openssl_1.0.2u.bb b/recipes-connectivity/openssl/openssl_1.0.2u.bb index 10707ed..7fc3b12 100644 --- a/recipes-connectivity/openssl/openssl_1.0.2u.bb +++ b/recipes-connectivity/openssl/openssl_1.0.2u.bb @@ -9,7 +9,7 @@ LICENSE = "openssl" LIC_FILES_CHKSUM = "file://LICENSE;md5=f475368924827d06d4b416111c8bdb77" DEPENDS = "hostperl-runtime-native" -DEPENDS_append_class-target = " openssl-native" +DEPENDS:append:class-target = " openssl-native" SRC_URI = "http://www.openssl.org/source/openssl-${PV}.tar.gz \ file://run-ptest \ @@ -54,12 +54,12 @@ SRC_URI = "http://www.openssl.org/source/openssl-${PV}.tar.gz \ file://CVE-2021-23841.patch \ " -SRC_URI_append_class-target = " \ +SRC_URI:append:class-target = " \ file://reproducible-cflags.patch \ file://reproducible-mkbuildinf.patch \ " -SRC_URI_append_class-nativesdk = " \ +SRC_URI:append:class-nativesdk = " \ file://environment.d-openssl.sh \ " @@ -73,8 +73,8 @@ UPSTREAM_CHECK_REGEX = "openssl-(?P<pver>1\.0.+)\.tar" inherit pkgconfig siteinfo lib_package multilib_header ptest manpages PACKAGECONFIG ?= "cryptodev-linux" -PACKAGECONFIG_class-native = "" -PACKAGECONFIG_class-nativesdk = "" +PACKAGECONFIG:class-native = "" +PACKAGECONFIG:class-nativesdk = "" PACKAGECONFIG[disable-weak-ciphers] = "no-des no-ec no-ecdh no-ecdsa no-md2 no-mdc2,,," PACKAGECONFIG[cryptodev-linux] = "-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS,,cryptodev-linux" @@ -90,8 +90,8 @@ EXTRA_OEMAKE = "${@bb.utils.contains('PACKAGECONFIG', 'manpages', '', 'OE_DISABL export OE_LDFLAGS = "${LDFLAGS}" TERMIO ?= "-DTERMIO" -TERMIO_libc-musl = "-DTERMIOS" -EXTRA_OECONF_append_libc-musl_powerpc64 = " no-asm" +TERMIO:libc-musl = "-DTERMIOS" +EXTRA_OECONF:append:libc-musl:powerpc64 = " no-asm" CFLAG = "${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', '-DL_ENDIAN', '-DB_ENDIAN', d)} \ ${TERMIO} ${CFLAGS} -Wall" @@ -100,7 +100,7 @@ CFLAG = "${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', '-DL_ENDIAN', '-DB # (and it causes issues with SELinux) CFLAG += "-Wa,--noexecstack" -CFLAG_append_class-native = " -fPIC" +CFLAG:append:class-native = " -fPIC" do_configure () { # The crypto_use_bigint patch means that perl's bignum module needs to be @@ -211,7 +211,7 @@ do_compile () { oe_runmake } -do_compile_class-target () { +do_compile:class-target () { sed -i 's/\((OPENSSL=\)".*"/\1"openssl"/' Makefile oe_runmake depend cc_sanitized=$(echo "${CC} ${CFLAG}" | sed -e 's,--sysroot=${STAGING_DIR_TARGET},,g' -e 's|${DEBUG_PREFIX_MAP}||g' -e 's/[ \t]\+/ /g') @@ -261,7 +261,7 @@ do_install () { ln -sf ${@oe.path.relative('${libdir}/ssl', '${sysconfdir}/ssl/openssl.cnf')} ${D}${libdir}/ssl/openssl.cnf } -do_install_append_class-native () { +do_install:append:class-native () { create_wrapper ${D}${bindir}/openssl \ OPENSSL_CONF=${libdir}/ssl/openssl.cnf \ SSL_CERT_DIR=${libdir}/ssl/certs \ @@ -269,7 +269,7 @@ do_install_append_class-native () { OPENSSL_ENGINES=${libdir}/ssl/engines } -do_install_append_class-nativesdk () { +do_install:append:class-nativesdk () { mkdir -p ${D}${SDKPATHNATIVE}/environment-setup.d install -m 644 ${WORKDIR}/environment.d-openssl.sh ${D}${SDKPATHNATIVE}/environment-setup.d/openssl.sh } @@ -329,18 +329,18 @@ do_install_ptest () { PACKAGES =+ "libcrypto libssl openssl-conf ${PN}-engines ${PN}-misc" -FILES_libcrypto = "${libdir}/libcrypto${SOLIBS}" -FILES_libssl = "${libdir}/libssl${SOLIBS}" -FILES_openssl-conf = "${sysconfdir}/ssl/openssl.cnf ${libdir}/ssl/openssl.cnf" -FILES_${PN}-engines = "${libdir}/ssl/engines/*.so ${libdir}/engines" -FILES_${PN}-misc = "${libdir}/ssl/misc" -FILES_${PN} =+ "${libdir}/ssl/*" -FILES_${PN}_append_class-nativesdk = " ${SDKPATHNATIVE}/environment-setup.d/openssl.sh" +FILES:libcrypto = "${libdir}/libcrypto${SOLIBS}" +FILES:libssl = "${libdir}/libssl${SOLIBS}" +FILES:openssl-conf = "${sysconfdir}/ssl/openssl.cnf ${libdir}/ssl/openssl.cnf" +FILES:${PN}-engines = "${libdir}/ssl/engines/*.so ${libdir}/engines" +FILES:${PN}-misc = "${libdir}/ssl/misc" +FILES:${PN} =+ "${libdir}/ssl/*" +FILES:${PN}:append:class-nativesdk = " ${SDKPATHNATIVE}/environment-setup.d/openssl.sh" -CONFFILES_openssl-conf = "${sysconfdir}/ssl/openssl.cnf" +CONFFILES:openssl-conf = "${sysconfdir}/ssl/openssl.cnf" -RRECOMMENDS_libcrypto += "openssl-conf" -RDEPENDS_${PN}-misc = "${@bb.utils.filter('PACKAGECONFIG', 'perl', d)}" -RDEPENDS_${PN}-ptest += "${PN}-misc make perl perl-module-filehandle bc" +RRECOMMENDS:libcrypto += "openssl-conf" +RDEPENDS:${PN}-misc = "${@bb.utils.filter('PACKAGECONFIG', 'perl', d)}" +RDEPENDS:${PN}-ptest += "${PN}-misc make perl perl-module-filehandle bc" BBCLASSEXTEND = "native nativesdk" -- 2.25.1
|
|
[meta-openssl102][PATCH 1/2] layer.conf: add honister to LAYERSERIES_COMPAT
Yi Zhao
Signed-off-by: Yi Zhao <yi.zhao@...>
--- conf/layer.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/layer.conf b/conf/layer.conf index 4ea1009..2997785 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -10,7 +10,7 @@ BBFILE_PRIORITY_meta-openssl-one-zero-two = "5" LAYERVERSION_meta-openssl-one-zero-two = "1" -LAYERSERIES_COMPAT_meta-openssl-one-zero-two = "hardknott" +LAYERSERIES_COMPAT_meta-openssl-one-zero-two = "honister" LAYERDEPENDS_meta-openssl-one-zero-two = " \ core \ -- 2.25.1
|
|
Re: [meta-cgl][PATCH 1/6] meta-cgl: convert to new override syntax
This series has been merged.
toggle quoted messageShow quoted text
Thanks. Jeremy Puhlman
On 8/5/2021 12:39 AM, Yi Zhao wrote:
This is the result of automated script conversion:
|
|
[yocto-autobuilder-helper][dunfell] config.json: Update check-layer to use --no-auto-dependency after yocto-check-layer changes
Steve Sakoman
From: Richard Purdie <richard.purdie@...>
Add layer checks for meta-aws and meta-openembedded while we're at it Signed-off-by: Richard Purdie <richard.purdie@...> (cherry picked from commit fe72e222961d69dcd4d638e7e05b437a65e8f34c) Signed-off-by: Steve Sakoman <steve@...> --- config.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/config.json b/config.json index e22124d..d871349 100644 --- a/config.json +++ b/config.json @@ -771,10 +771,18 @@ } }, "check-layer-nightly" : { - "NEEDREPOS" : ["poky", "meta-intel"], + "NEEDREPOS" : ["poky", "meta-aws", "meta-intel", "meta-openembedded"], "step1" : { + "shortname" : "Test meta-aws YP Compatibility", + "EXTRACMDS" : ["yocto-check-layer-wrapper ../meta-aws --dependency ../meta-openembedded/meta-oe ../meta-openembedded/meta-networking ../meta-openembedded/meta-python -n --no-auto-dependency"] + }, + "step2" : { "shortname" : "Test meta-intel YP Compatibility", - "EXTRACMDS" : ["yocto-check-layer-wrapper ../meta-intel"] + "EXTRACMDS" : ["yocto-check-layer-wrapper ../meta-intel --no-auto-dependency"] + }, + "step3" : { + "shortname" : "Test meta-oe YP Compatibility", + "EXTRACMDS" : ["yocto-check-layer-wrapper ../meta-openembedded --no-auto-dependency"] } }, "meta-mingw" : { -- 2.25.1
|
|
Minutes: Yocto Project Weekly Triage Meeting 8/5/2021
Trevor Gamblin
Wiki: https://wiki.yoctoproject.org/wiki/Bug_Triage Attendees: Alex, Diane, Joshua, MichaelO, Randy,
Richard, Saul, Stephen, Steve, Tim, Tony, TrevorG ARs: Notes:
- (carried over) Steve
encountered build failures such as the one in https://errors.yoctoproject.org/Errors/Details/593109/
when attempting to run dunfell builds with the PARALLEL_MAKE load
averaging added. WR is testing/investigating on internal
Autobuilder instance
- No Future/3.99 bugs to
triage this week (wow!)
Medium+ 3.4 Unassigned Enhancements/Bugs: 80 (No
change) AB-INT Bugs: 46
(No change)
|
|
Re: (Go) Library for configuring Yocto based boxes?
Nicolas Jeker
On Wed, 2021-08-04 at 09:13 +0000, Christofer Dutz wrote:
Hi,In this case you should probably ask your vendor how they set up networking and why they installed both. It's possible that your vendor configured something different than the defaults, hard to tell without knowing more. By default the names "Wired connection X" are given by NetworkManager, without any user configuration. I guess NetworkManager is currently managing your connections. I started out with systemd-networkd and later replaced it with NetworkManager because I wanted to use a 4G modem with ModemManager, which wasn't well supported by systemd-networkd back then. As long as you only use Ethernet and Wi-Fi, systemd-networkd should work fine. Chris
|
|
[meta-cgl][PATCH 6/6] crmsh: upgrade 4.2.0 -> 4.3.1
Yi Zhao
Signed-off-by: Yi Zhao <yi.zhao@...>
--- .../recipes-cgl/crmsh/{crmsh_4.20.bb => crmsh_4.3.1.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta-cgl-common/recipes-cgl/crmsh/{crmsh_4.20.bb => crmsh_4.3.1.bb} (92%) diff --git a/meta-cgl-common/recipes-cgl/crmsh/crmsh_4.20.bb b/meta-cgl-common/recipes-cgl/crmsh/crmsh_4.3.1.bb similarity index 92% rename from meta-cgl-common/recipes-cgl/crmsh/crmsh_4.20.bb rename to meta-cgl-common/recipes-cgl/crmsh/crmsh_4.3.1.bb index ac97e25..75e720b 100644 --- a/meta-cgl-common/recipes-cgl/crmsh/crmsh_4.20.bb +++ b/meta-cgl-common/recipes-cgl/crmsh/crmsh_4.3.1.bb @@ -10,14 +10,14 @@ DEPENDS = "asciidoc-native \ docbook-xsl-stylesheets-native \ libxslt-native \ " -RDEPENDS:${PN} = "pacemaker python3-lxml python3-parallax gawk bash" +RDEPENDS:${PN} = "pacemaker python3-lxml python3-parallax gawk bash python3-doctest" S = "${WORKDIR}/git" SRC_URI = "git://github.com/ClusterLabs/${BPN}.git \ file://tweaks_for_build.patch \ " -SRCREV = "d10d2fbdd1b357500387bebb432c68e88748526b" +SRCREV = "00ec69054edecd068deda54c6184c0385d90ebd2" inherit autotools-brokensep setuptools3 -- 2.25.1
|
|
[meta-cgl][PATCH 5/6] README: update
Yi Zhao
Remove mata-qt3 layer dependency since is is obsolete.
Signed-off-by: Yi Zhao <yi.zhao@...> --- README | 7 ------- cgl-init-build-env | 2 +- meta-cgl-common/README | 7 ------- 3 files changed, 1 insertion(+), 15 deletions(-) diff --git a/README b/README index 0117c1e..bb2e0e7 100644 --- a/README +++ b/README @@ -18,9 +18,6 @@ This layer depends on: layers: meta-openstack branch: master - URI: git://git.yoctoproject.org/meta-qt3 - branch: master - URI: git://git.yoctoproject.org/meta-selinux branch: master @@ -86,7 +83,6 @@ other layers needed. Adapt the below list to proper format. meta meta-cgl/meta-cgl-common - meta-qt3 meta-openembedded/meta-networking meta-openembedded/meta-filesystems meta-openembedded/meta-oe @@ -99,9 +95,6 @@ other layers needed. Adapt the below list to proper format. meta-security meta-cloud-services/meta-openstack -A BBMASK definition is required because of some recipes duplicate existance: - BBMASK = "meta-openembedded/meta-oe/recipes-support/multipath-tools" - Now there is available the "cgl-init-build-env" script which could be used to automize the above mentione information: ./scripts/cgl-checkout -b master -l meta-fsl-ppc diff --git a/cgl-init-build-env b/cgl-init-build-env index e04846e..acf459d 100755 --- a/cgl-init-build-env +++ b/cgl-init-build-env @@ -28,7 +28,7 @@ unset OPTION NUM_CORES=$(grep -c processor /proc/cpuinfo || echo 2) BUILD_PATH="build" -METALAYERS="meta-cgl/meta-cgl-common,meta-qt3,meta-selinux,meta-security,meta-virtualization" +METALAYERS="meta-cgl/meta-cgl-common,meta-selinux,meta-security,meta-virtualization" function usage() { cat <<EOF diff --git a/meta-cgl-common/README b/meta-cgl-common/README index ec6e8ba..2928890 100644 --- a/meta-cgl-common/README +++ b/meta-cgl-common/README @@ -18,9 +18,6 @@ This layer depends on: layers: meta-openstack branch: master - URI: git://git.yoctoproject.org/meta-qt3 - branch: master - URI: git://git.yoctoproject.org/meta-selinux branch: master @@ -86,7 +83,6 @@ other layers needed. Adapt the below list to proper format. meta meta-cgl/meta-cgl-common - meta-qt3 meta-openembedded/meta-networking meta-openembedded/meta-filesystems meta-openembedded/meta-oe @@ -99,9 +95,6 @@ other layers needed. Adapt the below list to proper format. meta-security meta-cloud-services/meta-openstack -A BBMASK definition is required because of some recipes duplicate existance: - BBMASK = "meta-openembedded/meta-oe/recipes-support/multipath-tools" - II. Misc ======== -- 2.25.1
|
|
[meta-cgl][PATCH 4/6] cgl_common_security_flags.inc: remove SECURITY_LDFLAGS override for audit
Yi Zhao
Compiling audit with -fstack-protector-strong works well now, so the
override doesn't necessary anymore. Signed-off-by: Yi Zhao <yi.zhao@...> --- .../conf/distro/include/cgl_common_security_flags.inc | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta-cgl-common/conf/distro/include/cgl_common_security_flags.inc b/meta-cgl-common/conf/distro/include/cgl_common_security_flags.inc index 126352b..ef3f296 100644 --- a/meta-cgl-common/conf/distro/include/cgl_common_security_flags.inc +++ b/meta-cgl-common/conf/distro/include/cgl_common_security_flags.inc @@ -1,5 +1,3 @@ -SECURITY_LDFLAGS:remove:pn-audit = "-fstack-protector-strong" - SECURITY_CFLAGS:pn-ocfs2-tools = "${SECURITY_NOPIE_CFLAGS}" SECURITY_LDFLAGS:pn-ocfs2-tools = "" -- 2.25.1
|
|
[meta-cgl][PATCH 1/6] meta-cgl: convert to new override syntax
Yi Zhao
This is the result of automated script conversion:
poky/scripts/contrib/convert-overrides.py meta-cgl Converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Yi Zhao <yi.zhao@...> --- .../include/cgl_common_security_flags.inc | 6 +- meta-cgl-common/conf/distro/poky-cgl.conf | 2 +- .../cluster-glue/cluster-glue_1.0.12.bb | 64 +++++++++---------- .../resource-agents_4.5.0.bb | 38 +++++------ .../recipes-cgl/cluster/cluster_3.2.0.bb | 4 +- .../recipes-cgl/crmsh/crmsh_4.20.bb | 4 +- .../recipes-cgl/heartbeat/heartbeat_3.0.6.bb | 18 +++--- .../ocfs2-tools/ocfs2-tools_1.8.6.bb | 18 +++--- .../recipes-cgl/pacemaker/pacemaker_2.0.5.bb | 38 +++++------ .../recipes-cgl/racoon2/racoon2_202003018.bb | 22 +++---- .../recipes-cgl/ucarp/ucarp_1.5.2.bb | 8 +-- .../recipes-core/images/core-image-cgl.bb | 12 ++-- .../initrdscripts/initramfs-cgl-boot_1.0.bb | 4 +- .../packagegroup-cgl-applications.bb | 16 ++--- .../packagegroups/packagegroup-cgl-kernel.bb | 4 +- .../packagegroup-cgl-middleware.bb | 4 +- .../packagegroup-cgl-swdevtools.bb | 6 +- .../packagegroups/packagegroup-cgl.bb | 4 +- .../recipes-kernel/linux/cgl-common.inc | 4 +- .../perl/libmailtools-perl_2.21.bb | 2 +- .../recipes-perl/perl/libsocket6-perl_0.29.bb | 2 +- .../perl/libtest-pod-perl_1.52.bb | 2 +- .../recipes-perl/perl/libwww-perl_6.43.bb | 2 +- 23 files changed, 142 insertions(+), 142 deletions(-) diff --git a/meta-cgl-common/conf/distro/include/cgl_common_security_flags.inc b/meta-cgl-common/conf/distro/include/cgl_common_security_flags.inc index a2f9857..126352b 100644 --- a/meta-cgl-common/conf/distro/include/cgl_common_security_flags.inc +++ b/meta-cgl-common/conf/distro/include/cgl_common_security_flags.inc @@ -1,5 +1,5 @@ -SECURITY_LDFLAGS_remove_pn-audit = "-fstack-protector-strong" +SECURITY_LDFLAGS:remove:pn-audit = "-fstack-protector-strong" -SECURITY_CFLAGS_pn-ocfs2-tools = "${SECURITY_NOPIE_CFLAGS}" -SECURITY_LDFLAGS_pn-ocfs2-tools = "" +SECURITY_CFLAGS:pn-ocfs2-tools = "${SECURITY_NOPIE_CFLAGS}" +SECURITY_LDFLAGS:pn-ocfs2-tools = "" diff --git a/meta-cgl-common/conf/distro/poky-cgl.conf b/meta-cgl-common/conf/distro/poky-cgl.conf index 269ce49..10feab9 100644 --- a/meta-cgl-common/conf/distro/poky-cgl.conf +++ b/meta-cgl-common/conf/distro/poky-cgl.conf @@ -3,7 +3,7 @@ require conf/distro/poky-lsb.conf DISTRO = "poky-cgl" DISTROOVERRIDES .= ":poky-cgl" -DISTRO_FEATURES_append = " selinux ptest argp ext2 xattr nfs pci ipv4 ipv6" +DISTRO_FEATURES:append = " selinux ptest argp ext2 xattr nfs pci ipv4 ipv6" PREFERRED_PROVIDER_virtual/refpolicy="refpolicy-targeted" diff --git a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb index af2342f..9221f06 100644 --- a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb +++ b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb @@ -18,13 +18,13 @@ SRC_URI = " \ file://volatiles \ file://tmpfiles \ " -SRC_URI_append_libc-uclibc = " file://kill-stack-protector.patch" +SRC_URI:append_libc-uclibc = " file://kill-stack-protector.patch" SRCREV = "fd5a3befacd23d056a72cacd2b8ad6bba498e56b" inherit autotools useradd pkgconfig systemd multilib_script multilib_header -SYSTEMD_SERVICE_${PN} = "logd.service" +SYSTEMD_SERVICE:${PN} = "logd.service" SYSTEMD_AUTO_ENABLE = "disable" HA_USER = "hacluster" @@ -47,18 +47,18 @@ CACHED_CONFIGUREVARS="ac_cv_path_XML2CONFIG=0 \ " USERADD_PACKAGES = "${PN}" -USERADD_PARAM_${PN} = "--home-dir=${localstatedir}/lib/heartbeat/cores/${HA_USER} \ +USERADD_PARAM:${PN} = "--home-dir=${localstatedir}/lib/heartbeat/cores/${HA_USER} \ -g ${HA_GROUP} -r -s ${sbindir}/nologin -c 'cluster user' ${HA_USER} \ " -GROUPADD_PARAM_${PN} = "-r ${HA_GROUP}" +GROUPADD_PARAM:${PN} = "-r ${HA_GROUP}" MULTILIB_SCRIPTS = "${PN}:${sbindir}/cibsecret" -do_configure_prepend() { +do_configure:prepend() { ln -sf ${PKG_CONFIG_SYSROOT_DIR}/usr/include/libxml2/libxml ${PKG_CONFIG_SYSROOT_DIR}/usr/include/libxml } -do_install_append() { +do_install:append() { install -d ${D}${sysconfdir}/default/volatiles install -m 0644 ${WORKDIR}/volatiles ${D}${sysconfdir}/default/volatiles/04_cluster-glue install -d ${D}${sysconfdir}/tmpfiles.d @@ -67,7 +67,7 @@ do_install_append() { oe_multilib_header heartbeat/glue_config.h } -pkg_postinst_${PN} () { +pkg_postinst:${PN} () { if [ -z "$D" ]; then if type systemd-tmpfiles >/dev/null; then systemd-tmpfiles --create @@ -99,7 +99,7 @@ PACKAGES =+ "\ ${PN}-plugin-compress-staticdev \ " -FILES_${PN} = "${sysconfdir} /var ${libdir}/lib*.so.* ${sbindir} ${datadir}/cluster-glue/*sh ${datadir}/cluster-glue/*pl\ +FILES:${PN} = "${sysconfdir} /var ${libdir}/lib*.so.* ${sbindir} ${datadir}/cluster-glue/*sh ${datadir}/cluster-glue/*pl\ ${libdir}/heartbeat/transient-test.sh \ ${libdir}/heartbeat/logtest \ ${libdir}/heartbeat/ipctransientserver \ @@ -111,40 +111,40 @@ FILES_${PN} = "${sysconfdir} /var ${libdir}/lib*.so.* ${sbindir} ${datadir}/clus ${systemd_unitdir} \ " -FILES_${PN}-dbg += "${libdir}/heartbeat/.debug/ \ +FILES:${PN}-dbg += "${libdir}/heartbeat/.debug/ \ ${sbindir}/.debug/ \ ${libdir}/.debug/ \ " -FILES_${PN}-plugin-compress = "${libdir}/heartbeat/plugins/compress/*.so" -FILES_${PN}-plugin-compress-staticdev = "${libdir}/heartbeat/plugins/compress/*.*a" -FILES_${PN}-plugin-compress-dbg = "${libdir}/heartbeat/plugins/compress/.debug/" +FILES:${PN}-plugin-compress = "${libdir}/heartbeat/plugins/compress/*.so" +FILES:${PN}-plugin-compress-staticdev = "${libdir}/heartbeat/plugins/compress/*.*a" +FILES:${PN}-plugin-compress-dbg = "${libdir}/heartbeat/plugins/compress/.debug/" -FILES_${PN}-plugin-test = "${libdir}/heartbeat/plugins/test/test.so" -FILES_${PN}-plugin-test-staticdev = "${libdir}/heartbeat/plugins/test/test.*a" -FILES_${PN}-plugin-test-dbg = "${libdir}/heartbeat/plugins/test/.debug/" -FILES_${PN}-plugin-stonith2 = " \ +FILES:${PN}-plugin-test = "${libdir}/heartbeat/plugins/test/test.so" +FILES:${PN}-plugin-test-staticdev = "${libdir}/heartbeat/plugins/test/test.*a" +FILES:${PN}-plugin-test-dbg = "${libdir}/heartbeat/plugins/test/.debug/" +FILES:${PN}-plugin-stonith2 = " \ ${libdir}/stonith/plugins/xen0-ha-dom0-stonith-helper \ ${libdir}/stonith/plugins/stonith2/*.so \ " -FILES_${PN}-plugin-stonith2-ribcl = "${libdir}/stonith/plugins/stonith2/ribcl.py" +FILES:${PN}-plugin-stonith2-ribcl = "${libdir}/stonith/plugins/stonith2/ribcl.py" -FILES_${PN}-plugin-stonith2-dbg = "${libdir}/stonith/plugins/stonith2/.debug/" -FILES_${PN}-plugin-stonith2-staticdev = "${libdir}/stonith/plugins/stonith2/*.*a" +FILES:${PN}-plugin-stonith2-dbg = "${libdir}/stonith/plugins/stonith2/.debug/" +FILES:${PN}-plugin-stonith2-staticdev = "${libdir}/stonith/plugins/stonith2/*.*a" -FILES_${PN}-plugin-stonith-external = "${libdir}/stonith/plugins/external/" -FILES_${PN}-plugin-raexec = "${libdir}/heartbeat/plugins/RAExec/*.so" -FILES_${PN}-plugin-raexec-staticdev = "${libdir}/heartbeat/plugins/RAExec/*.*a" -FILES_${PN}-plugin-raexec-dbg = "${libdir}/heartbeat/plugins/RAExec/.debug/" +FILES:${PN}-plugin-stonith-external = "${libdir}/stonith/plugins/external/" +FILES:${PN}-plugin-raexec = "${libdir}/heartbeat/plugins/RAExec/*.so" +FILES:${PN}-plugin-raexec-staticdev = "${libdir}/heartbeat/plugins/RAExec/*.*a" +FILES:${PN}-plugin-raexec-dbg = "${libdir}/heartbeat/plugins/RAExec/.debug/" -FILES_${PN}-plugin-interfacemgr = "${libdir}/heartbeat/plugins/InterfaceMgr/generic.so" -FILES_${PN}-plugin-interfacemgr-staticdev = "${libdir}/heartbeat/plugins/InterfaceMgr/generic.*a" -FILES_${PN}-plugin-interfacemgr-dbg = "${libdir}/heartbeat/plugins/InterfaceMgr/.debug/" +FILES:${PN}-plugin-interfacemgr = "${libdir}/heartbeat/plugins/InterfaceMgr/generic.so" +FILES:${PN}-plugin-interfacemgr-staticdev = "${libdir}/heartbeat/plugins/InterfaceMgr/generic.*a" +FILES:${PN}-plugin-interfacemgr-dbg = "${libdir}/heartbeat/plugins/InterfaceMgr/.debug/" -FILES_${PN}-lrmtest = "${datadir}/cluster-glue/lrmtest/" +FILES:${PN}-lrmtest = "${datadir}/cluster-glue/lrmtest/" -RDEPENDS_${PN} += "perl" -RDEPENDS_${PN}-plugin-stonith2 += "bash" -RDEPENDS_${PN}-plugin-stonith-external += "bash python3-core perl" -RDEPENDS_${PN}-plugin-stonith2-ribcl += "python3-core" -RDEPENDS_${PN}-lrmtest += "${VIRTUAL-RUNTIME_getopt} ${PN}-plugin-raexec" +RDEPENDS:${PN} += "perl" +RDEPENDS:${PN}-plugin-stonith2 += "bash" +RDEPENDS:${PN}-plugin-stonith-external += "bash python3-core perl" +RDEPENDS:${PN}-plugin-stonith2-ribcl += "python3-core" +RDEPENDS:${PN}-lrmtest += "${VIRTUAL-RUNTIME_getopt} ${PN}-plugin-raexec" diff --git a/meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents_4.5.0.bb b/meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents_4.5.0.bb index cc3ce89..bd906b2 100644 --- a/meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents_4.5.0.bb +++ b/meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents_4.5.0.bb @@ -5,14 +5,14 @@ rgmanager service managers." HOMEPAGE = "http://sources.redhat.com/cluster/wiki/" LICENSE = "GPLv2+ & LGPLv2+ & GPLv3" -LICENSE_${PN} = "GPLv2+ & LGPLv2+" -LICENSE_${PN}-dev = "GPLv2+ & LGPLv2+" -LICENSE_${PN}-staticdev = "GPLv2+ & LGPLv2+" -LICENSE_${PN}-dbg = "GPLv2+ & LGPLv2+" -LICENSE_${PN}-doc = "GPLv2+ & LGPLv2+" -LICENSE_${PN}-extra = "GPLv3" -LICENSE_${PN}-extra-dbg = "GPLv3" -LICENSE_ldirectord = "GPLv2+" +LICENSE:${PN} = "GPLv2+ & LGPLv2+" +LICENSE:${PN}-dev = "GPLv2+ & LGPLv2+" +LICENSE:${PN}-staticdev = "GPLv2+ & LGPLv2+" +LICENSE:${PN}-dbg = "GPLv2+ & LGPLv2+" +LICENSE:${PN}-doc = "GPLv2+ & LGPLv2+" +LICENSE:${PN}-extra = "GPLv3" +LICENSE:${PN}-extra-dbg = "GPLv3" +LICENSE:ldirectord = "GPLv2+" SRC_URI = "git://github.com/ClusterLabs/resource-agents \ file://01-disable-doc-build.patch \ @@ -37,7 +37,7 @@ DEPENDS = "cluster-glue" # ip.sh requires: ethtool iproute2 iputils-arping # fs.sh requires: e2fsprogs-e2fsck util-linux quota # netfs.sh requires: procps util-linux nfs-utils -RDEPENDS_${PN} += "bash perl lvm2 \ +RDEPENDS:${PN} += "bash perl lvm2 \ ethtool iproute2 iputils-arping \ e2fsprogs-e2fsck util-linux quota \ procps nfs-utils \ @@ -56,31 +56,31 @@ CACHED_CONFIGUREVARS += " \ EXTRA_OECONF += "--disable-fatal-warnings \ --with-rsctmpdir=/var/run/heartbeat/rsctmp" -do_install_append() { +do_install:append() { rm -rf "${D}${localstatedir}/run" rmdir --ignore-fail-on-non-empty "${D}${localstatedir}" } # tickle_tcp is published under GPLv3, we just split it into ${PN}-extra, # and it's required by portblock, so move portblock into ${PN}-extra together. -PACKAGES_prepend = "${PN}-extra ${PN}-extra-dbg ldirectord " +PACKAGES:prepend = "${PN}-extra ${PN}-extra-dbg ldirectord " NOAUTOPACKAGEDEBUG = "1" -FILES_${PN}-extra = "${libexecdir}/heartbeat/tickle_tcp \ +FILES:${PN}-extra = "${libexecdir}/heartbeat/tickle_tcp \ ${libdir}/ocf/resource.d/heartbeat/portblock \ ${datadir}/resource-agents/ocft/configs/portblock \ " -FILES_${PN}-extra-dbg = "${libexecdir}/heartbeat/.debug/tickle_tcp" +FILES:${PN}-extra-dbg = "${libexecdir}/heartbeat/.debug/tickle_tcp" -FILES_ldirectord = " \ +FILES:ldirectord = " \ ${sbindir}/ldirectord \ ${sysconfdir}/ha.d/resource.d/ldirectord \ ${sysconfdir}/init.d/ldirectord \ ${sysconfdir}/logrotate.d/ldirectord \ ${libdir}/ocf/resource.d/heartbeat/ldirectord \ " -FILES_ldirectord-doc = "${mandir}/man8/ldirectord.8*" +FILES:ldirectord-doc = "${mandir}/man8/ldirectord.8*" -RDEPENDS_ldirectord += " \ +RDEPENDS:ldirectord += " \ ipvsadm \ libdbi-perl \ libdigest-hmac-perl \ @@ -102,9 +102,9 @@ RDEPENDS_ldirectord += " \ " SYSTEMD_PACKAGES = "ldirectord" -SYSTEMD_SERVICE_ldirectord += "ldirectord.service" +SYSTEMD_SERVICE:ldirectord += "ldirectord.service" -FILES_${PN} += "${datadir}/cluster/* \ +FILES:${PN} += "${datadir}/cluster/* \ ${libdir}/ocf/resource.d/heartbeat/ \ ${libdir}/ocf/lib/heartbeat/* \ ${libdir}/ocf/resource.d/redhat \ @@ -112,6 +112,6 @@ FILES_${PN} += "${datadir}/cluster/* \ ${systemd_unitdir}/system \ " -FILES_${PN}-dbg += "${libdir}/ocf/resource.d/heartbeat/.debug \ +FILES:${PN}-dbg += "${libdir}/ocf/resource.d/heartbeat/.debug \ ${sbindir}/.debug \ ${libexecdir}/heartbeat/.debug " diff --git a/meta-cgl-common/recipes-cgl/cluster/cluster_3.2.0.bb b/meta-cgl-common/recipes-cgl/cluster/cluster_3.2.0.bb index 34076d3..edaeb8b 100644 --- a/meta-cgl-common/recipes-cgl/cluster/cluster_3.2.0.bb +++ b/meta-cgl-common/recipes-cgl/cluster/cluster_3.2.0.bb @@ -17,9 +17,9 @@ PR = "r1" DEPENDS = "corosync dbus openldap libxml2 ncurses perl zlib" -FILES_${PN} += "/lib/udev/rules.d/51-dlm.rules \ +FILES:${PN} += "/lib/udev/rules.d/51-dlm.rules \ ${localstatedir}/run " -FILES_${PN}-doc += "/usr/share/man3/* /usr/share/man8/*" +FILES:${PN}-doc += "/usr/share/man3/* /usr/share/man8/*" do_configure () { CFLAGS="${TARGET_CFLAGS}" \ diff --git a/meta-cgl-common/recipes-cgl/crmsh/crmsh_4.20.bb b/meta-cgl-common/recipes-cgl/crmsh/crmsh_4.20.bb index 830802d..ac97e25 100644 --- a/meta-cgl-common/recipes-cgl/crmsh/crmsh_4.20.bb +++ b/meta-cgl-common/recipes-cgl/crmsh/crmsh_4.20.bb @@ -10,7 +10,7 @@ DEPENDS = "asciidoc-native \ docbook-xsl-stylesheets-native \ libxslt-native \ " -RDEPENDS_${PN} = "pacemaker python3-lxml python3-parallax gawk bash" +RDEPENDS:${PN} = "pacemaker python3-lxml python3-parallax gawk bash" S = "${WORKDIR}/git" SRC_URI = "git://github.com/ClusterLabs/${BPN}.git \ @@ -28,4 +28,4 @@ export BUILD_SYS # network accesses for the dtd and stylesheets export SGML_CATALOG_FILES = "${STAGING_DATADIR_NATIVE}/xml/docbook/xsl-stylesheets/catalog.xml" -FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/${BPN}" +FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}/${BPN}" diff --git a/meta-cgl-common/recipes-cgl/heartbeat/heartbeat_3.0.6.bb b/meta-cgl-common/recipes-cgl/heartbeat/heartbeat_3.0.6.bb index 5031c64..b5dfad0 100644 --- a/meta-cgl-common/recipes-cgl/heartbeat/heartbeat_3.0.6.bb +++ b/meta-cgl-common/recipes-cgl/heartbeat/heartbeat_3.0.6.bb @@ -40,7 +40,7 @@ SRC_URI[md5sum] = "101c8f507b1f407468d5ef15ae6719da" SRC_URI[sha256sum] = "851d2add2c129fef9fede764fec80229e1f6e7295e0e979950d10258648b462c" S = "${WORKDIR}/Heartbeat-3-0-958e11be8686" DEPENDS = "cluster-glue corosync gnutls libxslt-native xmlto-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native intltool" -RDEPENDS_${PN} += "python" +RDEPENDS:${PN} += "python" inherit autotools-brokensep pkgconfig useradd EXTRA_OECONF = " \ STAGING_DIR_TARGET=${STAGING_DIR_TARGET} \ @@ -48,7 +48,7 @@ EXTRA_OECONF = " \ --disable-static \ " SOURCE1 = "heartbeat/init.d/heartbeat" -CFLAGS_append += "-DGLIB_COMPILATION" +CFLAGS:append = " -DGLIB_COMPILATION" do_configure() { ./bootstrap @@ -70,12 +70,12 @@ do_configure() { fi oe_runconf ${EXTRA_OECONF} } -do_compile_prepend() { +do_compile:prepend() { sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' ${HOST_PREFIX}libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' ${HOST_PREFIX}libtool make clean } -do_install_append () { +do_install:append () { sed -i -e 's,/usr/lib/,${libdir}/,' ${WORKDIR}/heartbeat.service if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then install -d ${D}${libexecdir} @@ -101,22 +101,22 @@ do_install() { } inherit systemd -SYSTEMD_SERVICE_${PN} = "heartbeat.service" +SYSTEMD_SERVICE:${PN} = "heartbeat.service" USERADD_PACKAGES = "${PN}" -GROUPADD_PARAM_${PN} = "-r haclient" -USERADD_PARAM_${PN} = " \ +GROUPADD_PARAM:${PN} = "-r haclient" +USERADD_PARAM:${PN} = " \ -r -g haclient -d /var/lib/heartbeat/cores/hacluster -M \ -s /sbin/nologin -c \"heartbeat user\" hacluster \ " -FILES_${PN}-dbg += " \ +FILES:${PN}-dbg += " \ ${libdir}/heartbeat/plugins/quorum/.debug \ ${libdir}/heartbeat/plugins/HBauth/.debug \ ${libdir}/heartbeat/plugins/tiebreaker/.debug \ ${libdir}/heartbeat/plugins/HBcomm/.debug \ ${libdir}/heartbeat/plugins/HBcompress/.debug \ " -FILES_${PN} += " \ +FILES:${PN} += " \ run/heartbeat/ccm \ run/heartbeat/dopd \ ${libdir}/tmpfiles.d \ diff --git a/meta-cgl-common/recipes-cgl/ocfs2-tools/ocfs2-tools_1.8.6.bb b/meta-cgl-common/recipes-cgl/ocfs2-tools/ocfs2-tools_1.8.6.bb index 81e6c2e..fa38006 100644 --- a/meta-cgl-common/recipes-cgl/ocfs2-tools/ocfs2-tools_1.8.6.bb +++ b/meta-cgl-common/recipes-cgl/ocfs2-tools/ocfs2-tools_1.8.6.bb @@ -35,13 +35,13 @@ DEPENDS = "corosync pacemaker \ # lsbinitscripts are needed to replace /etc/init.d/functions supplied by initscripts (systemv) # They are not the same code! # -RDEPENDS_${PN} = "bash coreutils net-tools module-init-tools e2fsprogs glib-2.0" +RDEPENDS:${PN} = "bash coreutils net-tools module-init-tools e2fsprogs glib-2.0" -ASNEEDED_pn-${PN} = "" +ASNEEDED:pn-${PN} = "" PARALLEL_MAKE = "" -INSANE_SKIP_${PN} = "unsafe-references-in-binaries" -CFLAGS_append += "-DGLIB_COMPILATION" -CPPFLAGS_append += "-DGLIB_COMPILATION" +INSANE_SKIP:${PN} = "unsafe-references-in-binaries" +CFLAGS:append = " -DGLIB_COMPILATION" +CPPFLAGS:append = " -DGLIB_COMPILATION" EXTRA_OECONF = " \ --enable-ocfs2console=no \ @@ -50,7 +50,7 @@ EXTRA_OECONF = " \ --with-root-prefix=${root_prefix} \ " -do_configure_prepend () { +do_configure:prepend () { # fix here or EXTRA_OECONF sed -i -e '/^PYTHON_INCLUDES="-I/c\ PYTHON_INCLUDES="-I=/usr/include/python${PYTHON_BASEVERSION}"' \ @@ -65,16 +65,16 @@ PYTHON_INCLUDES="-I=/usr/include/python${PYTHON_BASEVERSION}"' \ } -do_compile_prepend() { +do_compile:prepend() { for m in `find . -name "Makefile"` ; do sed -i -e "s@-I/usr/include@-I${STAGING_DIR_TARGET}/usr/include@g" $m done } -SYSTEMD_SERVICE_${PN} = "o2cb.service ocfs2.service" +SYSTEMD_SERVICE:${PN} = "o2cb.service ocfs2.service" SYSTEMD_AUTO_ENABLE = "disable" -do_install_append() { +do_install:append() { install -d ${D}${sysconfdir}/init.d install -m 0755 ${S}/vendor/common/o2cb.init ${D}${sysconfdir}/init.d/o2cb install -m 0755 ${S}/vendor/common/ocfs2.init ${D}${sysconfdir}/init.d/ocfs2 diff --git a/meta-cgl-common/recipes-cgl/pacemaker/pacemaker_2.0.5.bb b/meta-cgl-common/recipes-cgl/pacemaker/pacemaker_2.0.5.bb index 6cfa057..c86c282 100644 --- a/meta-cgl-common/recipes-cgl/pacemaker/pacemaker_2.0.5.bb +++ b/meta-cgl-common/recipes-cgl/pacemaker/pacemaker_2.0.5.bb @@ -22,7 +22,7 @@ SRC_URI = "git://github.com/ClusterLabs/${BPN}.git \ CFLAGS += "-I${STAGING_INCDIR}/heartbeat" CPPFLAGS +="-I${STAGING_INCDIR}/heartbeat" -SRC_URI_append_libc-musl = "file://0001-pacemaker-fix-compile-error-of-musl-libc.patch" +SRC_URI:append:libc-musl = "file://0001-pacemaker-fix-compile-error-of-musl-libc.patch" SRCREV = "ba59be71228fed04f78ab374dfac748d314d0e89" @@ -49,7 +49,7 @@ EXTRA_OECONF += "STAGING_INCDIR=${STAGING_INCDIR} \ CACHED_CONFIGUREVARS += " \ ac_cv_path_BASH_PATH=/bin/bash \ " -do_configure_prepend() { +do_configure:prepend() { # remove buildpath placeh="abs_top_builddir abs_top_srcdir" for ph in $placeh @@ -62,7 +62,7 @@ do_configure_prepend() { done } -do_install_append() { +do_install:append() { install -d ${D}${sysconfdir}/default install -d ${D}${sysconfdir}/default/volatiles install -m 0644 ${WORKDIR}/volatiles ${D}${sysconfdir}/default/volatiles/06_${BPN} @@ -86,11 +86,11 @@ do_install_append() { done } -PACKAGES_prepend = "${PN}-cli-utils ${PN}-libs ${PN}-cluster-libs ${PN}-remote " +PACKAGES:prepend = "${PN}-cli-utils ${PN}-libs ${PN}-cluster-libs ${PN}-remote " -FILES_${PN}-cli-utils = "${sbindir}/crm* ${sbindir}/iso8601" -RDEPENDS_${PN}-cli-utils += "libqb bash" -FILES_${PN}-libs = "${libdir}/libcib.so.* \ +FILES:${PN}-cli-utils = "${sbindir}/crm* ${sbindir}/iso8601" +RDEPENDS:${PN}-cli-utils += "libqb bash" +FILES:${PN}-libs = "${libdir}/libcib.so.* \ ${libdir}/liblrmd.so.* \ ${libdir}/libcrmservice.so.* \ ${libdir}/libcrmcommon.so.* \ @@ -100,29 +100,29 @@ FILES_${PN}-libs = "${libdir}/libcib.so.* \ ${libdir}/libstonithd.so.* \ ${libdir}/libtransitioner.so.* \ " -RDEPENDS_${PN}-libs += "libqb dbus-lib" -FILES_${PN}-cluster-libs = "${libdir}/libcrmcluster.so.*" -RDEPENDS_${PN}-cluster-libs += "libqb" -FILES_${PN}-remote = "${sysconfdir}/init.d/pacemaker_remote \ +RDEPENDS:${PN}-libs += "libqb dbus-lib" +FILES:${PN}-cluster-libs = "${libdir}/libcrmcluster.so.*" +RDEPENDS:${PN}-cluster-libs += "libqb" +FILES:${PN}-remote = "${sysconfdir}/init.d/pacemaker_remote \ ${sbindir}/pacemaker_remoted \ ${libdir}/ocf/resource.d/pacemaker/remote \ " -RDEPENDS_${PN}-remote += "libqb bash" -FILES_${PN} += " ${datadir}/snmp \ +RDEPENDS:${PN}-remote += "libqb bash" +FILES:${PN} += " ${datadir}/snmp \ ${libdir}/corosync/lcrso/pacemaker.lcrso \ ${libdir}/${PYTHON_DIR}/dist-packages/cts/ \ ${libdir}/ocf/resource.d/ \ ${libdir}/${PYTHON_DIR}/site-packages/cts/ \ " -FILES_${PN}-dbg += "${libdir}/corosync/lcrso/.debug" -RDEPENDS_${PN} = "bash python3-core perl libqb ${PN}-cli-utils" +FILES:${PN}-dbg += "${libdir}/corosync/lcrso/.debug" +RDEPENDS:${PN} = "bash python3-core perl libqb ${PN}-cli-utils" SYSTEMD_AUTO_ENABLE = "disable" SYSTEMD_PACKAGES += "${PN}-remote" -SYSTEMD_SERVICE_${PN} += "pacemaker.service crm_mon.service" -SYSTEMD_SERVICE_${PN}-remote += "pacemaker_remote.service" +SYSTEMD_SERVICE:${PN} += "pacemaker.service crm_mon.service" +SYSTEMD_SERVICE:${PN}-remote += "pacemaker_remote.service" USERADD_PACKAGES = "${PN}" -USERADD_PARAM_${PN} = "-r -g haclient -s ${base_sbindir}/nologin hacluster" -GROUPADD_PARAM_${PN} = "-r haclient" +USERADD_PARAM:${PN} = "-r -g haclient -s ${base_sbindir}/nologin hacluster" +GROUPADD_PARAM:${PN} = "-r haclient" diff --git a/meta-cgl-common/recipes-cgl/racoon2/racoon2_202003018.bb b/meta-cgl-common/recipes-cgl/racoon2/racoon2_202003018.bb index 56dabfb..4c7c080 100644 --- a/meta-cgl-common/recipes-cgl/racoon2/racoon2_202003018.bb +++ b/meta-cgl-common/recipes-cgl/racoon2/racoon2_202003018.bb @@ -8,7 +8,7 @@ FreeBSD, NetBSD, Linux, and Mac OS X." HOMEPAGE = "http://ftp.racoon2.wide.ad.jp/pub/racoon2/" DEPENDS = "${@bb.utils.contains('DISTRO_FEATURES', 'krb5', 'krb5', '', d)} libpcap openssl bison flex-native util-linux bison-native" -RDEPENDS_${PN} += "perl" +RDEPENDS:${PN} += "perl" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=99a60756441098855c538fe86f859afe" @@ -49,11 +49,11 @@ EXTRA_OECONF += "--sysconfdir=${sysconfdir}/${BPN} \ --with-kernel-build-dir=${STAGING_INCDIR}" CLEANBROKEN = "1" -do_configure_prepend () { +do_configure:prepend () { mkdir -p lib/m4 spmd/m4 iked/m4 kinkd/m4 } -do_install_append() { +do_install:append() { install -d -m 0755 ${D}${sysconfdir}/init.d/ cp -rfa ${D}${sysconfdir}/${BPN}/init.d/* ${D}${sysconfdir}/init.d/ @@ -80,19 +80,19 @@ do_install_append() { } INITSCRIPT_PACKAGES = "${PN} ${PN}-iked ${PN}-${@bb.utils.contains('DISTRO_FEATURES', 'krb5', 'kinkd', '', d)}" -INITSCRIPT_NAME_${PN} = "spmd" -INITSCRIPT_PARAMS_${PN} = "remove" -INITSCRIPT_NAME_${PN}-iked = "iked" -INITSCRIPT_PARAMS_${PN}-iked = "remove" -INITSCRIPT_NAME_${PN}-kinkd = "kinkd" -INITSCRIPT_PARAMS_${PN}-kinkd= "remove" +INITSCRIPT_NAME:${PN} = "spmd" +INITSCRIPT_PARAMS:${PN} = "remove" +INITSCRIPT_NAME:${PN}-iked = "iked" +INITSCRIPT_PARAMS:${PN}-iked = "remove" +INITSCRIPT_NAME:${PN}-kinkd = "kinkd" +INITSCRIPT_PARAMS:${PN}-kinkd= "remove" SYSTEMD_PACKAGES = "${PN}" -SYSTEMD_SERVICE_${PN} = "spmd.service iked.service" +SYSTEMD_SERVICE:${PN} = "spmd.service iked.service" SYSTEMD_AUTO_ENABLE = "disable" -pkg_postinst_${PN} () { +pkg_postinst:${PN} () { if [ -z "$D" ]; then if [ -e ${sysconfdir}/init.d/populate-volatile.sh ]; then ${sysconfdir}/init.d/populate-volatile.sh update diff --git a/meta-cgl-common/recipes-cgl/ucarp/ucarp_1.5.2.bb b/meta-cgl-common/recipes-cgl/ucarp/ucarp_1.5.2.bb index 6776735..4109276 100644 --- a/meta-cgl-common/recipes-cgl/ucarp/ucarp_1.5.2.bb +++ b/meta-cgl-common/recipes-cgl/ucarp/ucarp_1.5.2.bb @@ -32,19 +32,19 @@ SRC_URI[sha256sum] = "f3cc77e28481fd04f62bb3d4bc03104a97dd316c80c0ed04ad7be24b54 inherit autotools gettext systemd DEPENDS = "libpcap" -RDEPENDS_${PN} = "${@bb.utils.contains('DISTRO_FEATURES','systemd','initscripts-functions','',d)}" +RDEPENDS:${PN} = "${@bb.utils.contains('DISTRO_FEATURES','systemd','initscripts-functions','',d)}" -SYSTEMD_SERVICE_${PN} = "ucarp.service" +SYSTEMD_SERVICE:${PN} = "ucarp.service" SYSTEMD_AUTO_ENABLE = "disable" export FETCHCMD_wget = "/usr/bin/env wget --secure-protocol=TLSv1_2 -t 2 -T 30 --passive-ftp --no-check-certificate" EXTRA_OECONF += "--sysconfdir=${sysconfdir}/${BPN}" # fix the perms for config.rpath -do_configure_prepend() { +do_configure:prepend() { chmod 755 ${S}/config.rpath } -do_install_append() { +do_install:append() { sed -i -e 's#\(UPSCRIPT=\).*#\1${libexecdir}/vip-up.sh#' \ -e 's#\(DOWNSCRIPT=\).*#\1${libexecdir}/vip-down.sh#' ${WORKDIR}/ucarp.init diff --git a/meta-cgl-common/recipes-core/images/core-image-cgl.bb b/meta-cgl-common/recipes-core/images/core-image-cgl.bb index 4a7d4f7..1c5ed7b 100644 --- a/meta-cgl-common/recipes-core/images/core-image-cgl.bb +++ b/meta-cgl-common/recipes-core/images/core-image-cgl.bb @@ -10,11 +10,11 @@ python () { } VALGRIND ?= "" -VALGRIND_powerpc ?= "valgrind" +VALGRIND:powerpc ?= "valgrind" VALGRIND_e500v2 ?= "" -VALGRIND_x86 ?= "valgrind" -VALGRIND_x86_64 ?= "valgrind" -VALGRIND_armv7a ?= "valgrind" +VALGRIND:x86 ?= "valgrind" +VALGRIND:x86_64 ?= "valgrind" +VALGRIND:armv7a ?= "valgrind" # Include modules in rootfs IMAGE_INSTALL += "\ @@ -30,7 +30,7 @@ IMAGE_INSTALL += "\ IMAGE_FSTYPES += " ext3.gz" # kexec-tools doesn't work on Mips -KEXECTOOLS_mips ?= "" -KEXECTOOLS_mipsel ?= "" +KEXECTOOLS:mips ?= "" +KEXECTOOLS:mipsel ?= "" IMAGE_FEATURES += "tools-debug tools-profile" diff --git a/meta-cgl-common/recipes-core/initrdscripts/initramfs-cgl-boot_1.0.bb b/meta-cgl-common/recipes-core/initrdscripts/initramfs-cgl-boot_1.0.bb index 8b1768a..e022ad4 100644 --- a/meta-cgl-common/recipes-core/initrdscripts/initramfs-cgl-boot_1.0.bb +++ b/meta-cgl-common/recipes-core/initrdscripts/initramfs-cgl-boot_1.0.bb @@ -10,6 +10,6 @@ do_install() { inherit allarch -RDEPENDS_${PN} += "multipath-tools kpartx iscsi-initiator-utils" +RDEPENDS:${PN} += "multipath-tools kpartx iscsi-initiator-utils" -FILES_${PN} += " /init " +FILES:${PN} += " /init " diff --git a/meta-cgl-common/recipes-core/packagegroups/packagegroup-cgl-applications.bb b/meta-cgl-common/recipes-core/packagegroups/packagegroup-cgl-applications.bb index 6b7a630..69fdb58 100644 --- a/meta-cgl-common/recipes-core/packagegroups/packagegroup-cgl-applications.bb +++ b/meta-cgl-common/recipes-core/packagegroups/packagegroup-cgl-applications.bb @@ -24,7 +24,7 @@ LM_SENSORS = " \ lmsensors-config-fancontrol \ " -RDEPENDS_${PN} = " \ +RDEPENDS:${PN} = " \ lvm2 \ ${LM_SENSORS} \ bc \ @@ -55,15 +55,15 @@ LTTNG ?= "\ lttng-modules \ lttng-ust \ " -LTTNG_armv6 ?= "" +LTTNG:armv6 ?= "" LTTNGUST = "lttng-ust" LTTNGUST_libc-uclibc = "" -RDEPENDS_${PN}_append_qemux86 = " valgrind lttng-ust" -RDEPENDS_${PN}_append_qemux86-64 = " ${LTTNGUST}" -RDEPENDS_${PN}_append_qemuppc = " ${LTTNGUST}" -RDEPENDS_${PN}_append_qemuarm = " ${LTTNGUST}" -RDEPENDS_${PN}_append_powerpc = " ${LTTNGUST}" +RDEPENDS:${PN}:append:qemux86 = " valgrind lttng-ust" +RDEPENDS:${PN}:append:qemux86-64 = " ${LTTNGUST}" +RDEPENDS:${PN}:append:qemuppc = " ${LTTNGUST}" +RDEPENDS:${PN}:append:qemuarm = " ${LTTNGUST}" +RDEPENDS:${PN}:append:powerpc = " ${LTTNGUST}" -RRECOMMENDS_${PN} = "" +RRECOMMENDS:${PN} = "" diff --git a/meta-cgl-common/recipes-core/packagegroups/packagegroup-cgl-kernel.bb b/meta-cgl-common/recipes-core/packagegroups/packagegroup-cgl-kernel.bb index bff7c4c..c6a4aa7 100644 --- a/meta-cgl-common/recipes-core/packagegroups/packagegroup-cgl-kernel.bb +++ b/meta-cgl-common/recipes-core/packagegroups/packagegroup-cgl-kernel.bb @@ -10,9 +10,9 @@ inherit packagegroup PACKAGES = "packagegroup-cgl-kernel" -RDEPENDS_packagegroup-cgl-kernel = " \ +RDEPENDS:packagegroup-cgl-kernel = " \ ltp \ kernel-modules \ " -RRECOMMENDS_packagegroup-cgl-kernel = "" +RRECOMMENDS:packagegroup-cgl-kernel = "" diff --git a/meta-cgl-common/recipes-core/packagegroups/packagegroup-cgl-middleware.bb b/meta-cgl-common/recipes-core/packagegroups/packagegroup-cgl-middleware.bb index 4fa7d48..4c70a84 100644 --- a/meta-cgl-common/recipes-core/packagegroups/packagegroup-cgl-middleware.bb +++ b/meta-cgl-common/recipes-core/packagegroups/packagegroup-cgl-middleware.bb @@ -22,7 +22,7 @@ MULTIPATH_TOOLS = " \ kpartx \ " -RDEPENDS_packagegroup-cgl-middleware = "\ +RDEPENDS:packagegroup-cgl-middleware = "\ net-snmp-server \ net-snmp-client \ net-snmp-libs \ @@ -53,4 +53,4 @@ RDEPENDS_packagegroup-cgl-middleware = "\ dmidecode \ " -RRECOMMENDS_packagegroup-cgl-middleware = "" +RRECOMMENDS:packagegroup-cgl-middleware = "" diff --git a/meta-cgl-common/recipes-core/packagegroups/packagegroup-cgl-swdevtools.bb b/meta-cgl-common/recipes-core/packagegroups/packagegroup-cgl-swdevtools.bb index 9f9ae03..7a54f73 100644 --- a/meta-cgl-common/recipes-core/packagegroups/packagegroup-cgl-swdevtools.bb +++ b/meta-cgl-common/recipes-core/packagegroups/packagegroup-cgl-swdevtools.bb @@ -10,9 +10,9 @@ inherit packagegroup PACKAGES = "packagegroup-cgl-swdevtools" NUMACTL = "numactl" -NUMACTL_arm = "" +NUMACTL:arm = "" -RDEPENDS_packagegroup-cgl-swdevtools = " \ +RDEPENDS:packagegroup-cgl-swdevtools = " \ libuio \ libcap-ng \ libwww-perl \ @@ -23,4 +23,4 @@ RDEPENDS_packagegroup-cgl-swdevtools = " \ ${NUMACTL} \ " -RRECOMMENDS_packagegroup-cgl-swdevtools = "" +RRECOMMENDS:packagegroup-cgl-swdevtools = "" diff --git a/meta-cgl-common/recipes-core/packagegroups/packagegroup-cgl.bb b/meta-cgl-common/recipes-core/packagegroups/packagegroup-cgl.bb index c2f6669..3450183 100644 --- a/meta-cgl-common/recipes-core/packagegroups/packagegroup-cgl.bb +++ b/meta-cgl-common/recipes-core/packagegroups/packagegroup-cgl.bb @@ -9,11 +9,11 @@ inherit packagegroup PACKAGES = "packagegroup-cgl" -RDEPENDS_${PN} = "\ +RDEPENDS:${PN} = "\ packagegroup-cgl-kernel \ packagegroup-cgl-swdevtools \ packagegroup-cgl-middleware \ packagegroup-cgl-applications \ " -RRECOMMENDS_${PN} = "" +RRECOMMENDS:${PN} = "" diff --git a/meta-cgl-common/recipes-kernel/linux/cgl-common.inc b/meta-cgl-common/recipes-kernel/linux/cgl-common.inc index 1c93d7d..8f38e97 100644 --- a/meta-cgl-common/recipes-kernel/linux/cgl-common.inc +++ b/meta-cgl-common/recipes-kernel/linux/cgl-common.inc @@ -1,6 +1,6 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/files:" +FILESEXTRAPATHS:prepend := "${THISDIR}/files:" -SRC_URI_append_poky-cgl = " file://cfg/00001-systemtap.cfg \ +SRC_URI:append:poky-cgl = " file://cfg/00001-systemtap.cfg \ file://cfg/00002-oprofile.cfg \ file://cfg/00003-lttng.cfg \ file://cfg/00004-kgdb.cfg \ diff --git a/meta-cgl-common/recipes-perl/perl/libmailtools-perl_2.21.bb b/meta-cgl-common/recipes-perl/perl/libmailtools-perl_2.21.bb index 8bbbde5..f30e466 100644 --- a/meta-cgl-common/recipes-perl/perl/libmailtools-perl_2.21.bb +++ b/meta-cgl-common/recipes-perl/perl/libmailtools-perl_2.21.bb @@ -7,7 +7,7 @@ DEPENDS = " \ libtest-pod-perl-native \ libtimedate-perl-native \ " -RDEPENDS_${PN} += " \ +RDEPENDS:${PN} += " \ libtest-pod-perl \ libtimedate-perl \ perl-module-io-handle \ diff --git a/meta-cgl-common/recipes-perl/perl/libsocket6-perl_0.29.bb b/meta-cgl-common/recipes-perl/perl/libsocket6-perl_0.29.bb index 0d133c6..bbeab8e 100644 --- a/meta-cgl-common/recipes-perl/perl/libsocket6-perl_0.29.bb +++ b/meta-cgl-common/recipes-perl/perl/libsocket6-perl_0.29.bb @@ -17,7 +17,7 @@ SRC_URI[socket6-perl-0.29.sha256sum] = "468915fa3a04dcf6574fc957eff495915e245694 S = "${WORKDIR}/Socket6-${PV}" -do_configure_prepend () { +do_configure:prepend () { mkdir -p m4 autoreconf -Wcross --verbose --install --force || oefatal "autoreconf execution failed." sed -i 's:\./configure\(.[^-]\):./configure --build=${BUILD_SYS} --host=${HOST_SYS} --target=${TARGET_SYS} --prefix=${prefix} --exec_prefix=${exec_prefix} --bindir=${bindir} --sbindir=${sbindir} --libexecdir=${libexecdir} --datadir=${datadir} --sysconfdir=${sysconfdir} --sharedstatedir=${sharedstatedir} --localstatedir=${localstatedir} --libdir=${libdir} --includedir=${includedir} --oldincludedir=${oldincludedir} --infodir=${infodir} --mandir=${mandir}\1:' Makefile.PL diff --git a/meta-cgl-common/recipes-perl/perl/libtest-pod-perl_1.52.bb b/meta-cgl-common/recipes-perl/perl/libtest-pod-perl_1.52.bb index ff5538e..c9f455a 100644 --- a/meta-cgl-common/recipes-perl/perl/libtest-pod-perl_1.52.bb +++ b/meta-cgl-common/recipes-perl/perl/libtest-pod-perl_1.52.bb @@ -4,7 +4,7 @@ LICENSE = "Artistic-1.0 | GPL-1.0+" LIC_FILES_CHKSUM = "file://README;beginline=26;md5=ea81140c3f3b2937c6490fc732471cd0" HOMEPAGE = "https://github.com/perl-pod/test-pod/" BBCLASSEXTEND = "native" -RDEPENDS_${PN} += " perl-module-test-more \ +RDEPENDS:${PN} += " perl-module-test-more \ perl-module-file-spec \ perl-module-pod-simple \ perl-module-test-builder-tester \ diff --git a/meta-cgl-common/recipes-perl/perl/libwww-perl_6.43.bb b/meta-cgl-common/recipes-perl/perl/libwww-perl_6.43.bb index 07fadb7..b7acf19 100644 --- a/meta-cgl-common/recipes-perl/perl/libwww-perl_6.43.bb +++ b/meta-cgl-common/recipes-perl/perl/libwww-perl_6.43.bb @@ -4,7 +4,7 @@ SECTION = "libs" LICENSE = "Artistic-1.0 | GPL-1.0+" LIC_FILES_CHKSUM = "file://LICENSE;md5=225d44a95fa3addb1da6d91187ab189f" DEPENDS = "liburi-perl-native libhtml-parser-perl-native libhtml-tagset-perl-native" -RDEPENDS_${PN} += " \ +RDEPENDS:${PN} += " \ libhtml-parser-perl \ libhtml-tagset-perl \ liburi-perl \ -- 2.25.1
|
|
[meta-cgl][PATCH 3/6] packagegroup-cgl-middleware: replace dhcp-client/dhcp-server with dhcpcd/kea
Yi Zhao
The dhcp had been removed for oe-core. Replace it with dhcpcd/kea.
Signed-off-by: Yi Zhao <yi.zhao@...> --- .../packagegroups/packagegroup-cgl-middleware.bb | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/meta-cgl-common/recipes-core/packagegroups/packagegroup-cgl-middleware.bb b/meta-cgl-common/recipes-core/packagegroups/packagegroup-cgl-middleware.bb index 4c70a84..8a9cfc0 100644 --- a/meta-cgl-common/recipes-core/packagegroups/packagegroup-cgl-middleware.bb +++ b/meta-cgl-common/recipes-core/packagegroups/packagegroup-cgl-middleware.bb @@ -10,11 +10,8 @@ inherit packagegroup PACKAGES = "packagegroup-cgl-middleware" DHCP = " \ - dhcp-server \ - dhcp-server-config \ - dhcp-client \ - dhcp-relay \ - dhcp-omshell \ + dhcpcd \ + kea \ " MULTIPATH_TOOLS = " \ @@ -41,7 +38,7 @@ RDEPENDS:packagegroup-cgl-middleware = "\ strongswan \ vlan \ corosync \ - ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "iscsi-initiator-utils", "",d)} \ + ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "iscsi-initiator-utils", "", d)} \ openipmi \ openhpi \ pacemaker \ -- 2.25.1
|
|
[meta-cgl][PATCH 2/6] layer.conf: add honister to LAYERSERIES_COMPAT
Yi Zhao
Drop other releases since they are not compatible anymore.
Signed-off-by: Yi Zhao <yi.zhao@...> --- meta-cgl-common/conf/layer.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-cgl-common/conf/layer.conf b/meta-cgl-common/conf/layer.conf index 56ddbb9..edc7cfa 100644 --- a/meta-cgl-common/conf/layer.conf +++ b/meta-cgl-common/conf/layer.conf @@ -11,6 +11,6 @@ BBFILE_PRIORITY_cgl-common = "7" LAYERDEPENDS_cgl-common = "core openembedded-layer networking-layer perl-layer filesystems-layer security selinux" -LAYERSERIES_COMPAT_cgl-common = "warrior zeus dunfell gatesgarth hardknott" +LAYERSERIES_COMPAT_cgl-common = "honister" require conf/distro/include/cgl_common_security_flags.inc -- 2.25.1
|
|
Re: cross compile python
#raspberrypi
On 8/4/21 1:17 AM, yasminebenghozzi6@... wrote:
Hello everyone,Sure, you will have to write a recipe to package your python script. you can use devtool if your scripts are in a git repo then it can generate a template recipe for you which you can use as baseline for your recipe. Or you can look at any python module recipe and model your recipe based on that. Once you have it done then you have to add your package to image which you can do via local.conf by adding IMAGE_INSTALL_append = " your-package" which should build your python package and also bring in all python infra to run it on target. Thank you very much
|
|
On 7/26/21 7:07 AM, Mitch Gaines wrote:
So, that is something I already have. What I really need are the systemd header files in order to build my recipe. Looks like the log output didn't format well. Let me re-post that below with some better formatting and you'll see what I'm referring to. How can I get those header files to build with my project? I thought just adding it as a DEPENDS would do it, but that doesn't seem to be the case.Please post full compiler cmdline, it will show what all include paths are specified. If systemd is added to DEPENDS and also ensure you are using systemd for init system as well. Search for sd-daemon.h in /home/mitch/bin/yocto/project-name/build/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/recipe-name/1.0+gitAUTOINC+...-r0/ I wonder if it got staged into recipe specific sysroot or not. ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:93: build/file-name.o] Error 1 make[1]: Leaving directory '/home/mitch/bin/yocto/project-name/build/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/recipe-name/1.0+gitAUTOINC+...-r0/git/src/core' make: *** [Makefile:72: some-recipe] Error 2 WARNING: exit code 1 from a shell command. ERROR: Logfile of failure stored in: /home/mitch/bin/yocto/project-name/build/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/recipe-name/1.0+gitAUTOINC+...-r0/temp/log.do_compile.13271 Log data follows: | DEBUG: Executing shell function do_compile | NOTE: make -j 24 my-project | make[1]: Entering directory '/home/mitch/bin/yocto/project-name/build/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/recipe-name/1.0+gitAUTOINC+...-r0/git/src/core' | CC my-file.c | ../my-file.c:6:10: fatal error: systemd/sd-daemon.h: No such file or directory | 6 | #include <systemd/sd-daemon.h> | | ^~~~~~~~~~~~~~~~~~~~~ | compilation terminated. | make[1]: *** [Makefile:93: build/my-file.o] Error 1 | make[1]: Leaving directory '/home/mitch/bin/yocto/project-name/build/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/recipe-name/1.0+gitAUTOINC+...-r0/git/src/core' | make: *** [Makefile:72: my-project] Error 2 | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. | ERROR: Execution of '/home/mitch/bin/yocto/project-name/build/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/recipe-name/1.0+gitAUTOINC+...-r0/temp/run.do_compile.13271' failed with exit code 1: | make[1]: Entering directory '/home/mitch/bin/yocto/project-name/build/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/recipe-name/1.0+gitAUTOINC+...-r0/git/src/core' | CC my-file.c | ../my-file.c:6:10: fatal error: systemd/sd-daemon.h: No such file or directory | 6 | #include <systemd/sd-daemon.h> | | ^~~~~~~~~~~~~~~~~~~~~ | compilation terminated. | make[1]: *** [Makefile:93: build/my-file.o] Error 1 | make[1]: Leaving directory '/home/mitch/bin/yocto/project-name/build/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/recipe-name/1.0+gitAUTOINC+...-r0/git/src/core' | make: *** [Makefile:72: my-recipe] Error 2 | WARNING: exit code 1 from a shell command. | ERROR: Task (/home/mitch/bin/yocto/project-name/layers/meta-project/recipes-main/my-recipe/my-recipe_git.bb:do_compile) failed with exit code '1' NOTE: Tasks Summary: Attempted 2166 tasks of which 2163 didn't need to be rerun and 1 failed.|
|
|