Re: [PATCH] zephyr-kernel-src: bump the v3 version to v3.1.0
Bartosz Golaszewski
On Mon, Jul 25, 2022 at 11:46 PM Jon Mason <jdmason@...> wrote:
Actually it required two versions of this patch as we're still supporting v2.7. Bart |
|
[meta-zephyr][PATCH v2] zephyr-kernel-src: bump the v3 version to v3.1.0
Bartosz Golaszewski
From: Bartosz Golaszewski <bartosz.golaszewski@...>
This upgrades the 3.x series to using v3.1.0. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@...> --- - add a rebased version of the toolchain patch for v3.1 ... 0001-2.7-cmake-add-yocto-toolchain.patch} | 0 .../0001-3.1-cmake-add-yocto-toolchain.patch | 63 +++++++++++++++ .../zephyr-kernel/zephyr-kernel-src-2.7.2.inc | 7 +- .../zephyr-kernel/zephyr-kernel-src-3.0.0.inc | 70 ----------------- .../zephyr-kernel/zephyr-kernel-src-3.1.0.inc | 76 +++++++++++++++++++ .../zephyr-kernel/zephyr-kernel-src.inc | 5 +- 6 files changed, 146 insertions(+), 75 deletions(-) rename meta-zephyr-core/recipes-kernel/zephyr-kernel/files/{0001-cmake-add-yocto-toolchain.patch => 0001-2.7-cmake-add-yocto-toolchain.patch} (100%) create mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.1-cmake-add-yocto-toolchain.patch delete mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.0.0.inc create mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.1.0.inc diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-cmake-add-yocto-toolchain.patch b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-2.7-cmake-add-yocto-toolchain.patch similarity index 100% rename from meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-cmake-add-yocto-toolchain.patch rename to meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-2.7-cmake-add-yocto-toolchain.patch diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.1-cmake-add-yocto-toolchain.patch b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.1-cmake-add-yocto-toolchain.patch new file mode 100644 index 0000000..a16eabf --- /dev/null +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.1-cmake-add-yocto-toolchain.patch @@ -0,0 +1,63 @@ +From 39f1dd116d00b6c2135c4ccd216341dcd2f2917e Mon Sep 17 00:00:00 2001 +From: Naveen Saini <naveen.kumar.saini@...> +Date: Tue, 26 Jul 2022 14:12:18 +0200 +Subject: [PATCH] cmake: add yocto toolchain + +Upstream status: inappropriate [OE specific] + +Signed-off-by: Naveen Saini <naveen.kumar.saini@...> +--- + cmake/compiler/gcc/target.cmake | 7 ------- + cmake/toolchain/yocto/generic.cmake | 13 +++++++++++++ + cmake/toolchain/yocto/target.cmake | 1 + + 3 files changed, 14 insertions(+), 7 deletions(-) + create mode 100644 cmake/toolchain/yocto/generic.cmake + create mode 100644 cmake/toolchain/yocto/target.cmake + +diff --git a/cmake/compiler/gcc/target.cmake b/cmake/compiler/gcc/target.cmake +index 014447e67e..b510f47d59 100644 +--- a/cmake/compiler/gcc/target.cmake ++++ b/cmake/compiler/gcc/target.cmake +@@ -94,13 +94,6 @@ execute_process( + OUTPUT_STRIP_TRAILING_WHITESPACE + ) + +-assert_exists(LIBGCC_FILE_NAME) +- +-get_filename_component(LIBGCC_DIR ${LIBGCC_FILE_NAME} DIRECTORY) +- +-assert_exists(LIBGCC_DIR) +- +-LIST(APPEND LIB_INCLUDE_DIR "-L\"${LIBGCC_DIR}\"") + LIST(APPEND TOOLCHAIN_LIBS gcc) + + # For CMake to be able to test if a compiler flag is supported by the +diff --git a/cmake/toolchain/yocto/generic.cmake b/cmake/toolchain/yocto/generic.cmake +new file mode 100644 +index 0000000000..45e5777e2a +--- /dev/null ++++ b/cmake/toolchain/yocto/generic.cmake +@@ -0,0 +1,13 @@ ++set(COMPILER gcc) ++set(LINKER ld) ++set(BINTOOLS gnu) ++ ++set(ZEPHYR_SYSROOT ${ZEPHYR_SYSROOT}) ++set(SYSROOT_DIR ${ZEPHYR_SYSROOT}) ++set(LIBC_LIBRARY_DIR "\"${SYSROOT_DIR}\"/") ++set(LIBC_INCLUDE_DIR ${SYSROOT_DIR}/include) ++LIST(APPEND TOOLCHAIN_LIBS gcc) ++ ++LIST(APPEND LIB_INCLUDE_DIR "-L\"${STAGING_LIBDIR}\"") ++ ++set(TOOLCHAIN_LIBS gcc) +diff --git a/cmake/toolchain/yocto/target.cmake b/cmake/toolchain/yocto/target.cmake +new file mode 100644 +index 0000000000..9881313609 +--- /dev/null ++++ b/cmake/toolchain/yocto/target.cmake +@@ -0,0 +1 @@ ++# SPDX-License-Identifier: Apache-2.0 +-- +2.34.1 + diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.2.inc b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.2.inc index 7a4da21..537a565 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.2.inc +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.2.inc @@ -62,4 +62,9 @@ SRCREV_tfm = "c74be3890c9d975976fde1b1a3b2f5742bec34c0" ZEPHYR_BRANCH = "v2.7-branch" PV = "2.7.2+git${SRCPV}" -SRC_URI:append = " file://dtc.patch" +SRC_URI:append = " \ + file://dtc.patch \ + file://0001-x86-fix-efi-binary-generation-issue-in-cross-compila.patch \ + file://0001-2.7-cmake-add-yocto-toolchain.patch \ + git://github.com/zephyrproject-rtos/hal_cypress.git;protocol=https;nobranch=1;destsuffix=git/modules/hal/cypress;name=cypress \ +" diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.0.0.inc b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.0.0.inc deleted file mode 100644 index 64594a0..0000000 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.0.0.inc +++ /dev/null @@ -1,70 +0,0 @@ -SRCREV_FORMAT = "default_cmsis" - -# -# Generated with: -# -# #!/usr/bin/python3 -# -# import yaml -# import sys -# -# if __name__ == "__main__": -# with open(sys.argv[1], "r") as fd: -# data = yaml.safe_load(fd) -# -# for project in data["manifest"]["projects"]: -# print("SRCREV_{} = \"{}\"".format(project["name"], project["revision"])) -# - -SRCREV_default = "4f8d78ceeb436e82f528511998515f6fc137c6cd" -SRCREV_canopennode = "1052dae561497bef901f931ef75e117c9224aecd" -SRCREV_civetweb = "094aeb41bb93e9199d24d665ee43e9e05d6d7b1c" -SRCREV_cmsis = "b0612c97c1401feeb4160add6462c3627fe90fc7" -SRCREV_edtt = "1fc2e6f7d2a01a01074456f2ef2ccf1f3df7fac1" -SRCREV_fatfs = "09a9d913c61dccbb8ff92d8943b452c614ac5292" -SRCREV_fff = "6ce5ba26486e93d5b7696a3e23f0585932c14b16" -SRCREV_altera = "23c1c1dd7a0c1cc9a399509d1819375847c95b97" -SRCREV_atmel = "9f78f520f6cbb997e5b44fe8ab17dd5bf2448095" -SRCREV_cypress = "81a059f21435bc7e315bccd720da5a9b615bbb50" -SRCREV_espressif = "bcd7565ffa390d5774dc2fbe71a002faa9a7d082" -SRCREV_gigadevice = "242a7f4be7a3136606c7a65169775f7ef85ad444" -SRCREV_infineon = "f1fa8241f8786198ba41155413243de36ed878a5" -SRCREV_microchip = "870d05e6a64ea9548da6b907058b03c8c9420826" -SRCREV_nordic = "a42b016d7c7610489f5f8c79773fedc05ba352ee" -SRCREV_nuvoton = "b4d31f33238713a568e23618845702fadd67386f" -SRCREV_nxp = "9629f15fd80169cc9669e3fbb1260467c3aeb175" -SRCREV_openisa = "40d049f69c50b58ea20473bee14cf93f518bf262" -SRCREV_quicklogic = "b3a66fe6d04d87fd1533a5c8de51d0599fcd08d0" -SRCREV_rpi_pico = "191f5ba46fda49523cdaaef27583d1c875ba2c36" -SRCREV_silabs = "be39d4eebeddac6e18e9c0c3ba1b31ad1e82eaed" -SRCREV_st = "575de9d461aa6f430cf62c58a053675377e700f3" -SRCREV_stm32 = "300109f80730cb2477bfcc706a6602b9870336b3" -SRCREV_telink = "ffcfd6282aa213f1dc0848dbca6279b098f6b143" -SRCREV_ti = "1992a4c536554c4f409c36896eda6abdc414d277" -SRCREV_xtensa = "0e577021bb66e644afd067cd9f7c71ab11b62b3d" -SRCREV_libmetal = "f237c9d420a51cc43bc37d744e41191ad613f348" -SRCREV_littlefs = "33509ed9c3d369cdb9d909cd40c5eea8f64a902c" -SRCREV_loramac-node = "12019623bbad9eb54fe51066847a7cbd4b4eac57" -SRCREV_lvgl = "783c1f78c8e39751fe89d0883c8bce7336f55e94" -SRCREV_lz4 = "8e303c264fc21c2116dc612658003a22e933124d" -SRCREV_mbedtls = "3e3e58a92de76069730c63e0d524f40fea948a61" -SRCREV_mcuboot = "89936c338e46f43cb177a8b928cd80b90f3ace8f" -SRCREV_mipi-sys-t = "d9da086b11cda494d85f4d8a9829f505c2d5e380" -SRCREV_nanopb = "d148bd26718e4c10414f07a7eb1bd24c62e56c5d" -SRCREV_net-tools = "f49bd1354616fae4093bf36e5eaee43c51a55127" -SRCREV_nrf_hw_models = "b8cea37dbdc8fc58cc14b4e19fa850877a9da520" -SRCREV_open-amp = "cfd050ff38a9d028dc211690b2ec35971128e45e" -SRCREV_openthread = "b7aa7686d3f4e326bd25abc234b209159977c26d" -SRCREV_segger = "3a52ab222133193802d3c3b4d21730b9b1f1d2f6" -SRCREV_sof = "500d77e0ac84ac2c969e0d4b2142cca192e893bc" -SRCREV_tflite-micro = "9156d050927012da87079064db59d07f03b8baf6" -SRCREV_tinycbor = "40daca97b478989884bffb5226e9ab73ca54b8c4" -SRCREV_tinycrypt = "3e9a49d2672ec01435ffbf0d788db6d95ef28de0" -SRCREV_TraceRecorderSource = "e8ca3b6a83d19b2fc4738a0d9607190436e5e452" -SRCREV_trusted-firmware-m = "5d32c3e64b3d589548e881eeeeb37d84944c90af" -SRCREV_tf-m-tests = "52814181f0fde6d1422fac204d42cde30c62e40e" -SRCREV_psa-arch-tests = "0aab24602cbef30f6422e7ef1066a8473073e586" -SRCREV_zscilib = "12bfe3f0a9fcbfe3edab7eabc9678b6c62875d34" - -ZEPHYR_BRANCH = "v3.0-branch" -PV = "3.0.0+git${SRCPV}" diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.1.0.inc b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.1.0.inc new file mode 100644 index 0000000..f38d7f9 --- /dev/null +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.1.0.inc @@ -0,0 +1,76 @@ +SRCREV_FORMAT = "default_cmsis" + +# +# Generated with: +# +# #!/usr/bin/python3 +# +# import yaml +# import sys +# +# if __name__ == "__main__": +# with open(sys.argv[1], "r") as fd: +# data = yaml.safe_load(fd) +# +# for project in data["manifest"]["projects"]: +# print("SRCREV_{} = \"{}\"".format(project["name"], project["revision"])) +# + +SRCREV_default = "2ddd73feafd3316af2c547c34d6969bea637d5c6" +SRCREV_canopennode = "53d3415c14d60f8f4bfca54bfbc5d5a667d7e724" +SRCREV_chre = "0edfe2c2ec656afb910cfab8ed59a5ffd59b87c8" +SRCREV_civetweb = "094aeb41bb93e9199d24d665ee43e9e05d6d7b1c" +SRCREV_cmsis = "5f86244bad4ad5a590e084f0e72ba7a1416c2edf" +SRCREV_edtt = "1ea61a390d2bfcf3b2ecdba8f8b0b98dfdffbd11" +SRCREV_fatfs = "a30531af3a95a9a3ea7d771ea8a578ebfed45514" +SRCREV_fff = "6ce5ba26486e93d5b7696a3e23f0585932c14b16" +SRCREV_altera = "0d225ddd314379b32355a00fb669eacf911e750d" +SRCREV_atmel = "78c5567c05b6b434dd7d98f49156319df4217bac" +SRCREV_espressif = "df85671c5d0405c0747c2939c8dfe808b7e4cf38" +SRCREV_gigadevice = "63a72ca90b7e0d7257211ddc5c79e8c0b940371b" +SRCREV_infineon = "4af06965f57ba1e7d170e6a97d24c33785543a8c" +SRCREV_microchip = "5d079f1683a00b801373bbbbf5d181d4e33b30d5" +SRCREV_nordic = "a85bb3676d61d1ae202088e0d3fec556056b2c9e" +SRCREV_nuvoton = "b4d31f33238713a568e23618845702fadd67386f" +SRCREV_nxp = "2302a1e94f5bc00ce59db4e249b688ad2e959f58" +SRCREV_openisa = "40d049f69c50b58ea20473bee14cf93f518bf262" +SRCREV_quicklogic = "b3a66fe6d04d87fd1533a5c8de51d0599fcd08d0" +SRCREV_rpi_pico = "191f5ba46fda49523cdaaef27583d1c875ba2c36" +SRCREV_silabs = "be39d4eebeddac6e18e9c0c3ba1b31ad1e82eaed" +SRCREV_st = "52a522ca4a8a9ec1e9bb5bb514e1ab6f102863fe" +SRCREV_stm32 = "51b373cd3455b8c2b9babbf6ff41918116a442ac" +SRCREV_telink = "ffcfd6282aa213f1dc0848dbca6279b098f6b143" +SRCREV_ti = "905a5d4134899630071f9383aadaaf266e8f8cd2" +SRCREV_xtensa = "0e577021bb66e644afd067cd9f7c71ab11b62b3d" +SRCREV_libmetal = "850a3c3fd5bc655987021dc9106d8e8cd0f7e061" +SRCREV_liblc3codec = "3951cf1b71ff3be086c9b9b595e473e12301337c" +SRCREV_littlefs = "652f2c5646e79b881e6f3099686ad3b7af9e216c" +SRCREV_loramac-node = "12019623bbad9eb54fe51066847a7cbd4b4eac57" +SRCREV_lvgl = "df717ac87a9fd80246cc8df24554475e59bda21f" +SRCREV_lz4 = "8e303c264fc21c2116dc612658003a22e933124d" +SRCREV_mbedtls = "7fed49c9b9f983ad6416986661ef637459723bcb" +SRCREV_mcuboot = "e58ea98aec6e5539c5f872a98059e461d0155bbb" +SRCREV_mipi-sys-t = "a5163c1800a5243f8b05d84c942da008df4cb666" +SRCREV_nanopb = "d148bd26718e4c10414f07a7eb1bd24c62e56c5d" +SRCREV_net-tools = "f49bd1354616fae4093bf36e5eaee43c51a55127" +SRCREV_nrf_hw_models = "b8cea37dbdc8fc58cc14b4e19fa850877a9da520" +SRCREV_open-amp = "8d53544871e1f300c478224faca6be8384ab0d04" +SRCREV_openthread = "e2a765599aa0379d0f72f0149a9cbafec070c12d" +SRCREV_segger = "3a52ab222133193802d3c3b4d21730b9b1f1d2f6" +SRCREV_sof = "2efc3ea41c0074c6dab5f376fafaa26f52c25c75" +SRCREV_tflite-micro = "9156d050927012da87079064db59d07f03b8baf6" +SRCREV_tinycbor = "9e1f34bc08123aaad7666d3652aaa839e8178b3b" +SRCREV_tinycrypt = "3e9a49d2672ec01435ffbf0d788db6d95ef28de0" +SRCREV_TraceRecorderSource = "e8ca3b6a83d19b2fc4738a0d9607190436e5e452" +SRCREV_trusted-firmware-m = "7c53a6e76130a85303f83b15d868a92fdcd5f5be" +SRCREV_tf-m-tests = "c99a86b295c4887520da9d8402566d7f225c974e" +SRCREV_psa-arch-tests = "a81f9da287569f169d60026916952641b233faa8" +SRCREV_zcbor = "882c489a7d9fdfff31d27666914a78a9eb6976d7" +SRCREV_zscilib = "fc979a8dcb74169c69b02835927bff8f070d6325" + +ZEPHYR_BRANCH = "v3.1-branch" +PV = "3.1.0+git${SRCPV}" + +SRC_URI += " \ + file://0001-3.1-cmake-add-yocto-toolchain.patch \ +" diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc index bf9ceaf..e9b35c9 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc @@ -19,7 +19,6 @@ SRC_URI = "\ git://github.com/zephyrproject-rtos/fatfs.git;protocol=https;nobranch=1;destsuffix=git/modules/fs/fatfs;name=fatfs \ git://github.com/zephyrproject-rtos/hal_altera.git;protocol=https;nobranch=1;destsuffix=git/modules/hal/altera;name=altera \ git://github.com/zephyrproject-rtos/hal_atmel.git;protocol=https;nobranch=1;destsuffix=git/modules/hal/atmel;name=atmel \ - git://github.com/zephyrproject-rtos/hal_cypress.git;protocol=https;nobranch=1;destsuffix=git/modules/hal/cypress;name=cypress \ git://github.com/zephyrproject-rtos/hal_espressif.git;protocol=https;nobranch=1;destsuffix=git/modules/hal/espressif;name=espressif \ git://github.com/zephyrproject-rtos/hal_infineon.git;protocol=https;nobranch=1;destsuffix=git/modules/hal/infineon;name=infineon \ git://github.com/zephyrproject-rtos/hal_microchip.git;protocol=https;nobranch=1;destsuffix=git/modules/hal/microchip;name=microchip \ @@ -52,11 +51,9 @@ SRC_URI = "\ git://github.com/zephyrproject-rtos/hal_telink.git;protocol=https;nobranch=1;destsuffix=git/modules/hal/telink;name=telink \ git://github.com/zephyrproject-rtos/lz4.git;protocol=https;nobranch=1;destsuffix=git/modules/lib/lz4;name=lz4 \ git://github.com/zephyrproject-rtos/tflite-micro.git;protocol=https;nobranch=1;destsuffix=git/modules/lib/tflite-micro;name=tflite-micro \ - file://0001-cmake-add-yocto-toolchain.patch \ - file://0001-x86-fix-efi-binary-generation-issue-in-cross-compila.patch \ " S = "${WORKDIR}/git" # Default to a stable version -PREFERRED_VERSION_zephyr-kernel ??= "3.0.0" +PREFERRED_VERSION_zephyr-kernel ??= "3.1.0" include zephyr-kernel-src-${PREFERRED_VERSION_zephyr-kernel}.inc -- 2.34.1 |
|
Re: [PATCH] zephyr-kernel-src: bump the v3 version to v3.1.0
Jon Mason
On Mon, Jul 25, 2022 at 05:47:44PM +0200, Bartosz Golaszewski wrote:
From: Bartosz Golaszewski <bartosz.golaszewski@...>With this patch, I'm seeing: WARNING: interrupt-3.1.0+gitAUTOINC+2ddd73feaf_5f86244bad-r0 do_patch: Fuzz detected: Applying patch 0001-cmake-add-yocto-toolchain.patch patching file cmake/compiler/gcc/target.cmake Hunk #1 succeeded at 94 with fuzz 1 (offset 26 lines). patching file cmake/toolchain/yocto/generic.cmake patching file cmake/toolchain/yocto/target.cmake The context lines in the patches can be updated with devtool: devtool modify interrupt devtool finish --force-patch-refresh interrupt <layer_path> And similar errors for all the other tests. You can see them all at https://gitlab.com/jonmason00/meta-zephyr/-/pipelines/596452936 It should be a trival rebase and everything will be happy. Aside from this, it looks like all the tests are passing. Thanks, Jon --- |
|
QA notification for completed autobuilder build (yocto-3.1.18.rc1)
Pokybuild User <pokybuild@...>
A build flagged for QA (yocto-3.1.18.rc1) was completed on the autobuilder and is available at:
https://autobuilder.yocto.io/pub/releases/yocto-3.1.18.rc1 Build hash information: bitbake: 7fc4cffebf5dcc1d050416c0b7f7d58c765c1d69 meta-agl: 6c9fa75459cf86576c47411fc239e0d7896d483c meta-arm: 5c09684863be8e803e3e987a5ce4940721c3f39a meta-aws: dd742bafa5eff33ac930e97dde851f41cbde85e8 meta-gplv2: 60b251c25ba87e946a0ca4cdc8d17b1cb09292ac meta-intel: 1c1a8f769ef93d96ae488f40abbcd11946403169 meta-mingw: 524de686205b5d6736661d4532f5f98fee8589b7 meta-openembedded: 52cee67833d1975a5bd52e4556c4cd312425a017 meta-virtualization: a63a54df3170fed387f810f23cdc2f483ad587df oecore: 3f40d5f095ceb099b604750db96058df00fcd49e poky: d695bd0d3dc66f2111a25c6922f617be2d991071 This is an automated message from the Yocto Project Autobuilder Git: git://git.yoctoproject.org/yocto-autobuilder2 Email: richard.purdie@... |
|
Issue with the setting up internal repo for packages
ram prakash
Hi All, I'm trying to get my yocto build system to get the necessary packages for building from an internal artifactory repository instead of fetching from online every time. I have set up the SOURCE_MIRROR_URL="https://<artifactory>; and got my credentials setup under ~/.netrc. But when I run the `bitbake -c fetch foo` for any packages I'm not able to fetch the packages from the artifactory. The fetcher fails to parse the credentials and pass it to the artifactory location. Can someone help me with how to parse the netrc file of any yocto build system? Thanks and regards. Ramprakash |
|
Re: Adding and using user in more than one recipe
On Mon, Jul 25, 2022 at 2:08 PM Greg Wilson-Lindberg
<GWilson@...> wrote: if you need it in a recipe then perhaps that maybe a good approach. Regards, |
|
Re: Adding and using user in more than one recipe
Greg Wilson-Lindberg <gwilson@...>
Hello Khem,
I've added in the useradd line in my image recipe:
EXTRA_USERS_PARAMS = "\ useradd -d /home/${SAKURA_USER} -r -s /bin/bash -U ${SAKURA_USER}; \ usermod -p '${SAKURA_PASS}' ${SAKURA_USER}; \ usermod -a -G sudo,dialout,video,input,audio,disk,shutdown,datetime ${SAKURA_USER}; \ "
I saw a previous thread somewhere that suggested making a separate recipe to create the user in and then making the recipes that use that user DEPEND on the creation recipe.
Regards,
Greg
From: yocto@... <yocto@...> on behalf of Greg Wilson-Lindberg <gwilson@...>
Sent: Saturday, July 23, 2022 8:03 AM To: Khem Raj <raj.khem@...> Cc: yocto@... <yocto@...> Subject: Re: [yocto] Adding and using user in more than one recipe Hi Khem,
That's originally what I had, but for some reason I hadn't put in the useradd line. I'm assuming that then because this is at the beginning of the image generation, I can then use the new user in any other recipe. Is there anything that I need to do to inherit the new user, or is it just there? Thanks, Greg > -----Original Message----- > From: Khem Raj <raj.khem@...> > Sent: Friday, July 22, 2022 17:38 > To: Greg Wilson-Lindberg <GWilson@...> > Cc: yocto@... > Subject: Re: [yocto] Adding and using user in more than one recipe > > On Fri, Jul 22, 2022 at 5:23 PM Greg Wilson-Lindberg > <gwilson@...> wrote: > > > > Hello list, > > > > I’m trying to understand how the extrauser and adduser packages are used > and interact in kirkstone. > > > > > > > > I need to add a user and I would like to also use this user in another recipe. > This had been working in our previous builds using version of Yocto up to > hardnot. We are in the process of updating to kirkstone and the user stuff > has now broken and I am not making any sense out of the documentation. > > > > > > > > How do I create a user in one recipe and then use that user in another > recipe? Can I even do that, or do I need to create the user in more than one > recipe with a hard coded UID, GID? > > > > > > you can do it in image recipe > > inherit extrausers > > IMAGE_FEATURES:remove = "debug-tweaks" > > EXTRA_USERS_PARAMS += "\ > useradd scribbledeedoo; \ > usermod -p '$(openssl passwd -6 diddleDoo5)' scribbledeedoo; \ > usermod -a -G adm scribbledeedoo; \ > usermod -a -G video scribbledeedoo; \ > usermod -a -G audio scribbledeedoo; \ > usermod -a -G systemd-journal scribbledeedoo; \ " > > HTH > > -Khem > > > > > > Regards, > > > > Greg Wilson-LIndberg > > > > > > > > > > > > |
|
[meta-gplv2] [PATCH] layer.conf: Delete as the layer is now officially obsolete and unmaintained
Richard Purdie
Remove the layer.conf as this layer is no longer being maintained and
we need to draw people's attention to that. The software in this layer has not seen security fixes in a long time. As such, nobody should be using it. There are other ways of removing GPLv3 components from modern OE/YP builds and we'd like to focus people's attention onto those. If there are issues that current solutions can't meet, we need to find new ways to address them, this layer isn't it. We've talked about this layers maintenance for a long time on the mailing lists and in weekly tech calls so this shouldn't surprise anyone. Signed-off-by: Richard Purdie <richard.purdie@...> --- conf/layer.conf | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 conf/layer.conf diff --git a/conf/layer.conf b/conf/layer.conf deleted file mode 100644 index 48fc58f..0000000 --- a/conf/layer.conf +++ /dev/null @@ -1,23 +0,0 @@ -# We have a conf and classes directory, add to BBPATH -BBPATH .= ":${LAYERDIR}" - -# We have recipes-* directories, add to BBFILES -BBFILES += "${LAYERDIR}/recipes-*/*/*.bb" - -BBFILE_COLLECTIONS += "gplv2" -BBFILE_PATTERN_gplv2 = "^${LAYERDIR}/" -BBFILE_PRIORITY_gplv2 = "1" - -# This should only be incremented on significant changes that will -# cause compatibility issues with other layers -LAYERVERSION_gplv2 = "1" - -LAYERDEPENDS_gplv2 = "core" - -LAYERSERIES_COMPAT_gplv2 = "kirkstone" - -LICENSE_PATH += "${LAYERDIR}/licenses" - -PREFERRED_VERSION_elfutils = "${@['', '0.148']['GPLV3' in (d.getVar('INCOMPATIBLE_LICENSE') or '').upper()]}" -PREFERRED_VERSION_shared-mime-info = "${@['', '1.10']['GPLV3' in (d.getVar('INCOMPATIBLE_LICENSE') or '').upper()]}" -PREFERRED_VERSION_shared-mime-info-native = "${@['', '1.10']['GPLV3' in (d.getVar('INCOMPATIBLE_LICENSE') or '').upper()]}" -- 2.34.1 |
|
[PATCH] zephyr-kernel-src: bump the v3 version to v3.1.0
Bartosz Golaszewski
From: Bartosz Golaszewski <bartosz.golaszewski@...>
This upgrades the 3.x series to using v3.1.0. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@...> --- .../zephyr-kernel/zephyr-kernel-src-2.7.2.inc | 6 +- .../zephyr-kernel/zephyr-kernel-src-3.0.0.inc | 70 ------------------ .../zephyr-kernel/zephyr-kernel-src-3.1.0.inc | 72 +++++++++++++++++++ .../zephyr-kernel/zephyr-kernel-src.inc | 4 +- 4 files changed, 78 insertions(+), 74 deletions(-) delete mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.0.0.inc create mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.1.0.inc diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.2.inc b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.2.inc index 7a4da21..204e770 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.2.inc +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.2.inc @@ -62,4 +62,8 @@ SRCREV_tfm = "c74be3890c9d975976fde1b1a3b2f5742bec34c0" ZEPHYR_BRANCH = "v2.7-branch" PV = "2.7.2+git${SRCPV}" -SRC_URI:append = " file://dtc.patch" +SRC_URI:append = " \ + file://dtc.patch \ + file://0001-x86-fix-efi-binary-generation-issue-in-cross-compila.patch \ + git://github.com/zephyrproject-rtos/hal_cypress.git;protocol=https;nobranch=1;destsuffix=git/modules/hal/cypress;name=cypress \ +" diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.0.0.inc b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.0.0.inc deleted file mode 100644 index 64594a0..0000000 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.0.0.inc +++ /dev/null @@ -1,70 +0,0 @@ -SRCREV_FORMAT = "default_cmsis" - -# -# Generated with: -# -# #!/usr/bin/python3 -# -# import yaml -# import sys -# -# if __name__ == "__main__": -# with open(sys.argv[1], "r") as fd: -# data = yaml.safe_load(fd) -# -# for project in data["manifest"]["projects"]: -# print("SRCREV_{} = \"{}\"".format(project["name"], project["revision"])) -# - -SRCREV_default = "4f8d78ceeb436e82f528511998515f6fc137c6cd" -SRCREV_canopennode = "1052dae561497bef901f931ef75e117c9224aecd" -SRCREV_civetweb = "094aeb41bb93e9199d24d665ee43e9e05d6d7b1c" -SRCREV_cmsis = "b0612c97c1401feeb4160add6462c3627fe90fc7" -SRCREV_edtt = "1fc2e6f7d2a01a01074456f2ef2ccf1f3df7fac1" -SRCREV_fatfs = "09a9d913c61dccbb8ff92d8943b452c614ac5292" -SRCREV_fff = "6ce5ba26486e93d5b7696a3e23f0585932c14b16" -SRCREV_altera = "23c1c1dd7a0c1cc9a399509d1819375847c95b97" -SRCREV_atmel = "9f78f520f6cbb997e5b44fe8ab17dd5bf2448095" -SRCREV_cypress = "81a059f21435bc7e315bccd720da5a9b615bbb50" -SRCREV_espressif = "bcd7565ffa390d5774dc2fbe71a002faa9a7d082" -SRCREV_gigadevice = "242a7f4be7a3136606c7a65169775f7ef85ad444" -SRCREV_infineon = "f1fa8241f8786198ba41155413243de36ed878a5" -SRCREV_microchip = "870d05e6a64ea9548da6b907058b03c8c9420826" -SRCREV_nordic = "a42b016d7c7610489f5f8c79773fedc05ba352ee" -SRCREV_nuvoton = "b4d31f33238713a568e23618845702fadd67386f" -SRCREV_nxp = "9629f15fd80169cc9669e3fbb1260467c3aeb175" -SRCREV_openisa = "40d049f69c50b58ea20473bee14cf93f518bf262" -SRCREV_quicklogic = "b3a66fe6d04d87fd1533a5c8de51d0599fcd08d0" -SRCREV_rpi_pico = "191f5ba46fda49523cdaaef27583d1c875ba2c36" -SRCREV_silabs = "be39d4eebeddac6e18e9c0c3ba1b31ad1e82eaed" -SRCREV_st = "575de9d461aa6f430cf62c58a053675377e700f3" -SRCREV_stm32 = "300109f80730cb2477bfcc706a6602b9870336b3" -SRCREV_telink = "ffcfd6282aa213f1dc0848dbca6279b098f6b143" -SRCREV_ti = "1992a4c536554c4f409c36896eda6abdc414d277" -SRCREV_xtensa = "0e577021bb66e644afd067cd9f7c71ab11b62b3d" -SRCREV_libmetal = "f237c9d420a51cc43bc37d744e41191ad613f348" -SRCREV_littlefs = "33509ed9c3d369cdb9d909cd40c5eea8f64a902c" -SRCREV_loramac-node = "12019623bbad9eb54fe51066847a7cbd4b4eac57" -SRCREV_lvgl = "783c1f78c8e39751fe89d0883c8bce7336f55e94" -SRCREV_lz4 = "8e303c264fc21c2116dc612658003a22e933124d" -SRCREV_mbedtls = "3e3e58a92de76069730c63e0d524f40fea948a61" -SRCREV_mcuboot = "89936c338e46f43cb177a8b928cd80b90f3ace8f" -SRCREV_mipi-sys-t = "d9da086b11cda494d85f4d8a9829f505c2d5e380" -SRCREV_nanopb = "d148bd26718e4c10414f07a7eb1bd24c62e56c5d" -SRCREV_net-tools = "f49bd1354616fae4093bf36e5eaee43c51a55127" -SRCREV_nrf_hw_models = "b8cea37dbdc8fc58cc14b4e19fa850877a9da520" -SRCREV_open-amp = "cfd050ff38a9d028dc211690b2ec35971128e45e" -SRCREV_openthread = "b7aa7686d3f4e326bd25abc234b209159977c26d" -SRCREV_segger = "3a52ab222133193802d3c3b4d21730b9b1f1d2f6" -SRCREV_sof = "500d77e0ac84ac2c969e0d4b2142cca192e893bc" -SRCREV_tflite-micro = "9156d050927012da87079064db59d07f03b8baf6" -SRCREV_tinycbor = "40daca97b478989884bffb5226e9ab73ca54b8c4" -SRCREV_tinycrypt = "3e9a49d2672ec01435ffbf0d788db6d95ef28de0" -SRCREV_TraceRecorderSource = "e8ca3b6a83d19b2fc4738a0d9607190436e5e452" -SRCREV_trusted-firmware-m = "5d32c3e64b3d589548e881eeeeb37d84944c90af" -SRCREV_tf-m-tests = "52814181f0fde6d1422fac204d42cde30c62e40e" -SRCREV_psa-arch-tests = "0aab24602cbef30f6422e7ef1066a8473073e586" -SRCREV_zscilib = "12bfe3f0a9fcbfe3edab7eabc9678b6c62875d34" - -ZEPHYR_BRANCH = "v3.0-branch" -PV = "3.0.0+git${SRCPV}" diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.1.0.inc b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.1.0.inc new file mode 100644 index 0000000..c3e4e57 --- /dev/null +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.1.0.inc @@ -0,0 +1,72 @@ +SRCREV_FORMAT = "default_cmsis" + +# +# Generated with: +# +# #!/usr/bin/python3 +# +# import yaml +# import sys +# +# if __name__ == "__main__": +# with open(sys.argv[1], "r") as fd: +# data = yaml.safe_load(fd) +# +# for project in data["manifest"]["projects"]: +# print("SRCREV_{} = \"{}\"".format(project["name"], project["revision"])) +# + +SRCREV_default = "2ddd73feafd3316af2c547c34d6969bea637d5c6" +SRCREV_canopennode = "53d3415c14d60f8f4bfca54bfbc5d5a667d7e724" +SRCREV_chre = "0edfe2c2ec656afb910cfab8ed59a5ffd59b87c8" +SRCREV_civetweb = "094aeb41bb93e9199d24d665ee43e9e05d6d7b1c" +SRCREV_cmsis = "5f86244bad4ad5a590e084f0e72ba7a1416c2edf" +SRCREV_edtt = "1ea61a390d2bfcf3b2ecdba8f8b0b98dfdffbd11" +SRCREV_fatfs = "a30531af3a95a9a3ea7d771ea8a578ebfed45514" +SRCREV_fff = "6ce5ba26486e93d5b7696a3e23f0585932c14b16" +SRCREV_altera = "0d225ddd314379b32355a00fb669eacf911e750d" +SRCREV_atmel = "78c5567c05b6b434dd7d98f49156319df4217bac" +SRCREV_espressif = "df85671c5d0405c0747c2939c8dfe808b7e4cf38" +SRCREV_gigadevice = "63a72ca90b7e0d7257211ddc5c79e8c0b940371b" +SRCREV_infineon = "4af06965f57ba1e7d170e6a97d24c33785543a8c" +SRCREV_microchip = "5d079f1683a00b801373bbbbf5d181d4e33b30d5" +SRCREV_nordic = "a85bb3676d61d1ae202088e0d3fec556056b2c9e" +SRCREV_nuvoton = "b4d31f33238713a568e23618845702fadd67386f" +SRCREV_nxp = "2302a1e94f5bc00ce59db4e249b688ad2e959f58" +SRCREV_openisa = "40d049f69c50b58ea20473bee14cf93f518bf262" +SRCREV_quicklogic = "b3a66fe6d04d87fd1533a5c8de51d0599fcd08d0" +SRCREV_rpi_pico = "191f5ba46fda49523cdaaef27583d1c875ba2c36" +SRCREV_silabs = "be39d4eebeddac6e18e9c0c3ba1b31ad1e82eaed" +SRCREV_st = "52a522ca4a8a9ec1e9bb5bb514e1ab6f102863fe" +SRCREV_stm32 = "51b373cd3455b8c2b9babbf6ff41918116a442ac" +SRCREV_telink = "ffcfd6282aa213f1dc0848dbca6279b098f6b143" +SRCREV_ti = "905a5d4134899630071f9383aadaaf266e8f8cd2" +SRCREV_xtensa = "0e577021bb66e644afd067cd9f7c71ab11b62b3d" +SRCREV_libmetal = "850a3c3fd5bc655987021dc9106d8e8cd0f7e061" +SRCREV_liblc3codec = "3951cf1b71ff3be086c9b9b595e473e12301337c" +SRCREV_littlefs = "652f2c5646e79b881e6f3099686ad3b7af9e216c" +SRCREV_loramac-node = "12019623bbad9eb54fe51066847a7cbd4b4eac57" +SRCREV_lvgl = "df717ac87a9fd80246cc8df24554475e59bda21f" +SRCREV_lz4 = "8e303c264fc21c2116dc612658003a22e933124d" +SRCREV_mbedtls = "7fed49c9b9f983ad6416986661ef637459723bcb" +SRCREV_mcuboot = "e58ea98aec6e5539c5f872a98059e461d0155bbb" +SRCREV_mipi-sys-t = "a5163c1800a5243f8b05d84c942da008df4cb666" +SRCREV_nanopb = "d148bd26718e4c10414f07a7eb1bd24c62e56c5d" +SRCREV_net-tools = "f49bd1354616fae4093bf36e5eaee43c51a55127" +SRCREV_nrf_hw_models = "b8cea37dbdc8fc58cc14b4e19fa850877a9da520" +SRCREV_open-amp = "8d53544871e1f300c478224faca6be8384ab0d04" +SRCREV_openthread = "e2a765599aa0379d0f72f0149a9cbafec070c12d" +SRCREV_segger = "3a52ab222133193802d3c3b4d21730b9b1f1d2f6" +SRCREV_sof = "2efc3ea41c0074c6dab5f376fafaa26f52c25c75" +SRCREV_tflite-micro = "9156d050927012da87079064db59d07f03b8baf6" +SRCREV_tinycbor = "9e1f34bc08123aaad7666d3652aaa839e8178b3b" +SRCREV_tinycrypt = "3e9a49d2672ec01435ffbf0d788db6d95ef28de0" +SRCREV_TraceRecorderSource = "e8ca3b6a83d19b2fc4738a0d9607190436e5e452" +SRCREV_trusted-firmware-m = "7c53a6e76130a85303f83b15d868a92fdcd5f5be" +SRCREV_tf-m-tests = "c99a86b295c4887520da9d8402566d7f225c974e" +SRCREV_psa-arch-tests = "a81f9da287569f169d60026916952641b233faa8" +SRCREV_zcbor = "882c489a7d9fdfff31d27666914a78a9eb6976d7" +SRCREV_zscilib = "fc979a8dcb74169c69b02835927bff8f070d6325" + +ZEPHYR_BRANCH = "v3.1-branch" +PV = "3.1.0+git${SRCPV}" diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc index bf9ceaf..0769017 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc @@ -19,7 +19,6 @@ SRC_URI = "\ git://github.com/zephyrproject-rtos/fatfs.git;protocol=https;nobranch=1;destsuffix=git/modules/fs/fatfs;name=fatfs \ git://github.com/zephyrproject-rtos/hal_altera.git;protocol=https;nobranch=1;destsuffix=git/modules/hal/altera;name=altera \ git://github.com/zephyrproject-rtos/hal_atmel.git;protocol=https;nobranch=1;destsuffix=git/modules/hal/atmel;name=atmel \ - git://github.com/zephyrproject-rtos/hal_cypress.git;protocol=https;nobranch=1;destsuffix=git/modules/hal/cypress;name=cypress \ git://github.com/zephyrproject-rtos/hal_espressif.git;protocol=https;nobranch=1;destsuffix=git/modules/hal/espressif;name=espressif \ git://github.com/zephyrproject-rtos/hal_infineon.git;protocol=https;nobranch=1;destsuffix=git/modules/hal/infineon;name=infineon \ git://github.com/zephyrproject-rtos/hal_microchip.git;protocol=https;nobranch=1;destsuffix=git/modules/hal/microchip;name=microchip \ @@ -53,10 +52,9 @@ SRC_URI = "\ git://github.com/zephyrproject-rtos/lz4.git;protocol=https;nobranch=1;destsuffix=git/modules/lib/lz4;name=lz4 \ git://github.com/zephyrproject-rtos/tflite-micro.git;protocol=https;nobranch=1;destsuffix=git/modules/lib/tflite-micro;name=tflite-micro \ file://0001-cmake-add-yocto-toolchain.patch \ - file://0001-x86-fix-efi-binary-generation-issue-in-cross-compila.patch \ " S = "${WORKDIR}/git" # Default to a stable version -PREFERRED_VERSION_zephyr-kernel ??= "3.0.0" +PREFERRED_VERSION_zephyr-kernel ??= "3.1.0" include zephyr-kernel-src-${PREFERRED_VERSION_zephyr-kernel}.inc -- 2.34.1 |
|
Re: [qa-build-notification] QA notification for completed autobuilder build (yocto-4.1_M2.rc1)
Teoh, Jay Shen
Hello everyone,
toggle quoted message
Show quoted text
This is the full report for yocto-4.1_M2.rc1: https://git.yoctoproject.org/cgit/cgit.cgi/yocto-testresults-contrib/tree/?h=intel-yocto-testresults ======= Summary ======== No high milestone defects. new issue found Bug 14865 - systemd-fstab-generator[11101]: Failed to create unit file /run/systemd/generator/-.mount, as it already exists. ======= Bugs ======== https://bugzilla.yoctoproject.org/show_bug.cgi?id=14865 Regards, Jay -----Original Message----- |
|
#archiver Error when building initramfs image with configured sources archive
#archiver
sebastien.got@...
Hello,
I am trying to generate configured sources archives using the archiver class but it fails when generating the initramfs image: ERROR: core-image-minimal-initramfs-1.0-r0 do_rootfs: The file /usr/lib/i686-poky-linux/9.3.0/libgcc.a is installed by both libgcc and libgcc-initial, aborting I am building on dunfell with these lines in the local.conf: INITRAMFS_IMAGE = "core-image-minimal-initramfs"
INHERIT += "archiver"
ARCHIVER_MODE[src] = "configured"
It works when generating the patched source archives. Should I define something else to make the configured source archive work ?Thanks. Sebastien |
|
Re: Adding and using user in more than one recipe
Greg Wilson-Lindberg <gwilson@...>
Hi Khem,
toggle quoted message
Show quoted text
That's originally what I had, but for some reason I hadn't put in the useradd line. I'm assuming that then because this is at the beginning of the image generation, I can then use the new user in any other recipe. Is there anything that I need to do to inherit the new user, or is it just there? Thanks, Greg -----Original Message----- |
|
Re: Adding and using user in more than one recipe
On Fri, Jul 22, 2022 at 5:23 PM Greg Wilson-Lindberg
<gwilson@...> wrote: you can do it in image recipe inherit extrausers IMAGE_FEATURES:remove = "debug-tweaks" EXTRA_USERS_PARAMS += "\ useradd scribbledeedoo; \ usermod -p '$(openssl passwd -6 diddleDoo5)' scribbledeedoo; \ usermod -a -G adm scribbledeedoo; \ usermod -a -G video scribbledeedoo; \ usermod -a -G audio scribbledeedoo; \ usermod -a -G systemd-journal scribbledeedoo; \ " HTH -Khem
|
|
Adding and using user in more than one recipe
Greg Wilson-Lindberg <gwilson@...>
Hello list, I’m trying to understand how the extrauser and adduser packages are used and interact in kirkstone.
I need to add a user and I would like to also use this user in another recipe. This had been working in our previous builds using version of Yocto up to hardnot. We are in the process of updating to kirkstone and the user stuff has now broken and I am not making any sense out of the documentation.
How do I create a user in one recipe and then use that user in another recipe? Can I even do that, or do I need to create the user in more than one recipe with a hard coded UID, GID?
Regards, Greg Wilson-LIndberg
|
|
Re: [meta-security][PATCH V3] meta-security: Add recipe for libhoth
On Fri, Jul 22, 2022 at 1:00 PM John Broadbent <jebr@...> wrote:
right, I missed that in this v3 the SRCREV is bumped too which should address the issue. Thanks for very quick review |
|
Re: [meta-security][PATCH V3] meta-security: Add recipe for libhoth
John Broadbent
That is unexpected.
toggle quoted message
Show quoted text
The sha change should have changed the PAGE_SIZE to SPI_PAGE_SIZE, correcting the macro shadowing issue. See: https://github.com/google/libhoth/commit/1622e8a040d21dd564fdc1cb4df5eda01688c197 Thanks for very quick review John Broadbent On Fri, Jul 22, 2022 at 9:47 AM Khem Raj <raj.khem@...> wrote:
|
|
Re: [meta-security][PATCH V3] meta-security: Add recipe for libhoth
On Fri, Jul 22, 2022 at 12:35 PM John Broadbent via
lists.yoctoproject.org <jebr=google.com@...> wrote: it still has the musl related issue, that I pointed out + |
|
[meta-security][PATCH V3] meta-security: Add recipe for libhoth
John Broadbent
From: John Edward Broadbent <jebr@...>
Libhoth is usb protocol implementation which is required for hoth class devices Signed-off-by: John Edward Broadbent <jebr@...> --- meta-tpm/recipes-tpm/hoth/libhoth_git.bb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 meta-tpm/recipes-tpm/hoth/libhoth_git.bb diff --git a/meta-tpm/recipes-tpm/hoth/libhoth_git.bb b/meta-tpm/recipes-tpm/hoth/libhoth_git.bb new file mode 100644 index 0000000..a3ebce7 --- /dev/null +++ b/meta-tpm/recipes-tpm/hoth/libhoth_git.bb @@ -0,0 +1,17 @@ +SUMMARY = "Google Hoth USB library" +DESCRIPTION = "Libraries and example programs for interacting with a \ + hoth-class root of trust." +HOMEPAGE = "https://github.com/google/libhoth" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +SRC_URI = "git://github.com/google/libhoth;protocol=https;branch=main" +SRCREV = "1622e8a040d21dd564fdc1cb4df5eda01688c197" + +DEPENDS += "libusb1" + +S = "${WORKDIR}/git" + +inherit pkgconfig meson + -- 2.37.1.359.gd136c6c3e2-goog |
|
On Fri, Jul 22, 2022 at 9:28 AM <sethu.m@...> wrote:
Look at the serial console logs from kernel and perhaps with early printk enabled. Many things could go wrong when serial console does not show up. Your description of the problem is ambiguous to see what might be happening. |
|
Re: [meta-security][PATCH V2] meta-security: Add recipe for libhoth
Hello,
On 7/21/22 17:26, John Broadbent via lists.yoctoproject.org wrote: From: John Edward Broadbent <jebr@...>Needs to be "HOMEPAGE" per https://www.openembedded.org/wiki/Styleguide maybe forgot to refresh the commit for this V2? -armin + |
|