Meta-respberrypi socketcan - how do I bring up the interfaces?
Chris Tapp
I am trying to get a Waveshare CAN interface[1] running on an RPi4 using meta-raspberrypi with hardknott.
I have added ENABLE_SPI_BUS = “1” and ENABLE_DUAL_CAN = “1” to my local.conf and see the following at boot: [ 2.858284] CAN device driver interface [ 2.879431] mcp251x spi0.1 can0: MCP2515 successfully initialized. [ 2.891019] mcp251x spi0.0 can1: MCP2515 successfully initialized. [ 176.170231] can: controller area network core [ 176.178987] can: raw protocol So, the interfaces are detected. However, I cannot bring the interfaces up. I am expecting to use something like: ip link set can0 up type can bitrate 1000000 ifconfig can0 up But that results in : ip: either "dev" is duplicate, or "type" is garbage This appears to be due to the ‘ip’ command not working with Busybox, so I tried adding iproute2 to the image, but the command then hangs the system. I have tried skipping the ‘ip’ command, but ifconfig then reports: ifconfig: SIOCSIFFLAGS: Invalid argument I can get some information for the interface: ip -s -d link show can0 link/can promiscuity 0 minmtu 0 maxmtu 0 can state STOPPED restart-ms 0 mcp251x: tseg1 3..16 tseg2 2..8 sjw 1..4 brp 1..64 brp-inc 1 clock 8000000 re-started bus-errors arbit-lost error-warn error-pass bus-off 0 0 0 0 0 0 numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535 RX: bytes packets errors dropped missed mcast 0 0 0 0 0 0 TX: bytes packets errors dropped carrier collsns 0 0 0 0 0 0 What do I need to do to bring the interface up? Chris — [1] https://www.waveshare.com/wiki/2-CH_CAN_HAT -- Chris Tapp opensource@... www.keylevel.com
|
|
[meta-gplv2]grub-0.97 configure failed in x86
zangrc
Hello!
When I compiled grub-0.97 of meta-gplv2 on X86, I failed in the do_configure phase. Can you help me solve this problem? Thank you. Cheers, Zang Ruochen | checking whether i686-poky-linux-objcopy works for absolute addresses... configure: error: i686-poky-linux-gcc -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -Wdate-time --sysroot=/ubinux-dev/ubinux001/contribution/build_x86/tmp/work/core2-32-poky-linux/grub/0.97-r6/recipe-sysroot cannot link at address 2000 | ERROR: configure failed tmp/work/core2-32-poky-linux/grub/0.97-r6/build/config.log: configure:5466: i686-poky-linux-gcc -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -Wdate-time --sysroot=/ubinux-dev/ubinux001/contribution/build_x86/tmp/work/core2-32-poky-linux/grub/0.97-r6/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/ubinux-dev/ubinux001/contribution/build_x86/tmp/work/core2-32-poky-linux/grub/0.97-r6=/usr/src/debug/grub/0.97-r6 -fdebug-prefix-map=/ubinux-dev/ubinux001/contribution/build_x86/tmp/work/core2-32-poky-linux/grub/0.97-r6=/usr/src/debug/grub/0.97-r6 -fdebug-prefix-map=/ubinux-dev/ubinux001/contribution/build_x86/tmp/work/core2-32-poky-linux/grub/0.97-r6/recipe-sysroot= -fdebug-prefix-map=/ubinux-dev/ubinux001/contribution/build_x86/tmp/work/core2-32-poky-linux/grub/0.97-r6/recipe-sysroot-native= -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000 conftest.o -o conftest.exec /ubinux-dev/ubinux001/contribution/build_x86/tmp/work/core2-32-poky-linux/grub/0.97-r6/recipe-sysroot-native/usr/bin/i686-poky-linux/../../libexec/i686-poky-linux/gcc/i686-poky-linux/11.2.0/ld: warning: cannot find entry symbol _start; defaulting to 0000000000002000 /ubinux-dev/ubinux001/contribution/build_x86/tmp/work/core2-32-poky-linux/grub/0.97-r6/recipe-sysroot-native/usr/bin/i686-poky-linux/../../libexec/i686-poky-linux/gcc/i686-poky-linux/11.2.0/ld: conftest.exec: error: PHDR segment not covered by LOAD segment collect2: error: ld returned 1 exit status configure:5469: $? = 1 configure:5472: error: i686-poky-linux-gcc -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -Wdate-time --sysroot=/ubinux-dev/ubinux001/contribution/build_x86/tmp/work/core2-32-poky-linux/grub/0.97-r6/recipe-sysroot cannot link at address 2000
|
|
CFP is now open for the next Yocto Project Summit 2021.11
Dear all,
The next Yocto Project (virtual) Summit will take place on Nov 30 - Dec 2, 2021. While we are finalizing the registration tools, we've already opened the CFP, and we are, as always, looking for great talks and speakers ;) For more information about the event please check [1]. When you are ready to submit your presentation, go to [2]. Please as much as possible, do not reply-all since I've cross posted on several lists! If you have any questions about this event please send emails to conferences@.... cheers! [1] https://yoctoproject.org/summit [2] https://pretalx.com/yocto-project-summit-2021-11/cfp
|
|
#systemd
#systemd
mrkozmic@...
Hi,
Is it possible to set systemd environment variables from a recipe to do the same as 'systemctl set-environment SOME_ENV_VAR'?
|
|
Re: googletest shared library
Lijun Chen
Thanks, this also works for target image.
For SDK image, turns out we have to change the line: RDEPENDS_${PN}-dev += "${PN}-staticdev" to RDEPENDS_${PN}-dev += "${PN}-dev"
to include the header files.
Thanks, Lijun
From: Federico Pellegrin <fede@...>
Sent: Thursday, September 23, 2021 10:10:55 PM To: Lijun Chen Cc: yocto@... Subject: Re: [yocto] googletest shared library Hi,
Regarding the INSANE_SKIP: as that files get packed in the "-dev" package, you should probably then accordingly have:
INSANE_SKIP_${PN}-dev += "dev-elf"
Cheers,
Federico
Il giorno gio 23 set 2021 alle ore 16:46 Lijun Chen <lijchen@...> ha scritto:
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
|
|
Re: Enabling tk for Python tkinter module
Chris Tapp
Hi Tim,
toggle quoted messageShow quoted text
Thanks, that’s got it going. I was close, but didn’t quite cast the correct spell ;-) Next is to work out why the display is black when I create a window... -- Chris Tapp ---- You can tell you're getting older when your car insurance gets real cheap!
|
|
[meta-zephyr 1/2] conf: machine: add stm32mp157c-dk2 support
Arnaud Pouliquen <arnaud.pouliquen@...>
The board is based on STMicroelectronics STM32MP157 processor based on
a dual Cortex-A7 core and a Cortex-M4 core. STM32MP1 family support depends on STM32 HAL and OpenAMP for inter-core communication. This change has been verified with zephyr-philosophers and zephyr-shell sample applications on by loading Zephyr image to Cortex-M4 core from Linux using remoteproc framework. Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@...> --- conf/machine/stm32mp157c-dk2.conf | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 conf/machine/stm32mp157c-dk2.conf diff --git a/conf/machine/stm32mp157c-dk2.conf b/conf/machine/stm32mp157c-dk2.conf new file mode 100644 index 000000000000..52c18192b2c3 --- /dev/null +++ b/conf/machine/stm32mp157c-dk2.conf @@ -0,0 +1,8 @@ +#@TYPE: Machine +#@NAME: stm32mp1-openamp + +#@DESCRIPTION: Machine configuration for stm32mp157x-DK2 Board. + +require conf/machine/include/stm32mp1-cortex-m4.inc + +ARCH:stm32mp157c-dk2 = "arm" -- 2.17.1
|
|
[meta-zephyr 2/2] zephyr-kernel: add openamp-rsc-table sample
Arnaud Pouliquen <arnaud.pouliquen@...>
The recipe to build rpmsg sample demonstrating messaging between
main core dunning Linux and and the coprocessor running Zephyr. Useful to demonstrate inter-processing communication. Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@...> --- .../zephyr-kernel/zephyr-openamp-rsc-table.bb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 recipes-kernel/zephyr-kernel/zephyr-openamp-rsc-table.bb diff --git a/recipes-kernel/zephyr-kernel/zephyr-openamp-rsc-table.bb b/recipes-kernel/zephyr-kernel/zephyr-openamp-rsc-table.bb new file mode 100644 index 000000000000..3eec58adb17b --- /dev/null +++ b/recipes-kernel/zephyr-kernel/zephyr-openamp-rsc-table.bb @@ -0,0 +1,10 @@ +include zephyr-sample.inc + + +ZEPHYR_MAKE_OUTPUT = "zephyr_openamp_rsc_table.elf" +ZEPHYR_MAKE_BIN_OUTPUT = "zephyr_openamp_rsc_table.bin" +ZEPHYR_MAKE_EFI_OUTPUT = "zephyr_openamp_rsc_table.efi" + +ZEPHYR_SRC_DIR = "${S}/samples/subsys/ipc/openamp_rsc_table" + +COMPATIBLE_MACHINE = "(stm32mp157c-dk2)" -- 2.17.1
|
|
[meta-zephyr 0/2] add support of the zephyr-openamp-rsc-table sample on STM32MP157
Arnaud Pouliquen <arnaud.pouliquen@...>
Add capability to genereate the "zephyr-openamp-rsc-table" sample in yocto build.
This example demonstrates inter-processor communication based on a resource table, with the objective of responding to the Linux kernel rpmsg sample. This sample is compatible with the stm32mp157c_dk2 board. The support of the board is also added in this series. Arnaud Pouliquen (2): conf: machine: add stm32mp157c-dk2 support zephyr-kernel: add openamp-rsc-table sample conf/machine/stm32mp157c-dk2.conf | 8 ++++++++ .../zephyr-kernel/zephyr-openamp-rsc-table.bb | 10 ++++++++++ 2 files changed, 18 insertions(+) create mode 100644 conf/machine/stm32mp157c-dk2.conf create mode 100644 recipes-kernel/zephyr-kernel/zephyr-openamp-rsc-table.bb -- 2.17.1
|
|
Re: [meta-security][PATCH] swtpm: update to 0.6.1
Anton Antonov
This recipe fails because of the wrong format in "PACKAGECONFIG[gnutls] = "--with-gnutls, --without-gnutls, gnutls, gnutls, expect bash tpm2-pkcs11-tools" There should be only four parts in the line separated by commas as defined here https://www.yoctoproject.org/docs/2.4.2/ref-manual/ref-manual.html#var-PACKAGECONFIG
|
|
Re: [meta-security][PATCH 2/2] swtpm: fix build issues of missing expect
Kristian Klausen <kristian@...>
Den Tue, Sep 28, 2021 at 16:39:09 -0700 skrev Armin Kuster:
Signed-off-by: Armin Kuster <akuster808@...>expect is there twice now (+ native). Would expect-native be enough or do we also need expect? expect is needed as a runtime dependency for swtpm-create-tpmca, but I added it as a recommended dependency as I don't think all people are interesting in swtpm-create-tpmca working out-of-the-box. expect should still be here, no? PACKAGECONFIG[selinux] = "--with-selinux, --without-selinux, libselinux"
|
|
[meta-rockchip][PATCH 3/3] nanopi-m4: add common override
Trevor Woerner
Add a common override for both nanopi-m4 MACHINEs.
Signed-off-by: Trevor Woerner <twoerner@...> --- conf/machine/include/nanopi-m4.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/machine/include/nanopi-m4.inc b/conf/machine/include/nanopi-m4.inc index b8e1db1..aaf07a3 100644 --- a/conf/machine/include/nanopi-m4.inc +++ b/conf/machine/include/nanopi-m4.inc @@ -1,6 +1,9 @@ # Copyright (C) 2021 Blade SAS # Common definitions for all NanoPi M4 RK3399 board variants +# add a common override for all nanopi-m4 +MACHINEOVERRIDES =. "nanopi-m4:" + require conf/machine/include/rk3399.inc MACHINE_FEATURES += "usbhost serial" -- 2.30.0.rc0
|
|
[meta-rockchip][PATCH 2/3] include/nanopi-m4: remove KMACHINE
Trevor Woerner
There is no "nanopi-m4" defined in any yocto kernel metadata (yet?), therefore
remove this superfluous line. Build (core-image-base) and run tested (both systemd and sysvinit) on: - nanopi-m4 Signed-off-by: Trevor Woerner <twoerner@...> --- conf/machine/include/nanopi-m4.inc | 1 - 1 file changed, 1 deletion(-) diff --git a/conf/machine/include/nanopi-m4.inc b/conf/machine/include/nanopi-m4.inc index 3870b51..b8e1db1 100644 --- a/conf/machine/include/nanopi-m4.inc +++ b/conf/machine/include/nanopi-m4.inc @@ -5,5 +5,4 @@ require conf/machine/include/rk3399.inc MACHINE_FEATURES += "usbhost serial" -KMACHINE = "nanopi-m4" KERNEL_DEVICETREE = "rockchip/rk3399-nanopi-m4.dtb" -- 2.30.0.rc0
|
|
[meta-rockchip][PATCH 1/3] linux-yocto: remove mmc aliases
Trevor Woerner
Now that we're booting via UUID, we no longer need these aliases in the DT.
Personally I wasn't able to prove to myself that they actually worked (at least not with 5.13.y) and fiddling with these aliases didn't seem to affect the mmc probe order on boot. Additionally it looks like some of these aliases will be landing upstream shortly. Build (core-image-base) and run tested (both systemd and sysvinit) on: - rock64 - rock-pi-e (i.e. the two rk3328 MACHINEs) Signed-off-by: Trevor Woerner <twoerner@...> --- ...an-dtsi-rk3328-add-mmc0-mmc1-aliases.patch | 27 ------------------- recipes-kernel/linux/linux-yocto%.bbappend | 3 --- 2 files changed, 30 deletions(-) delete mode 100644 recipes-kernel/linux/files/0001-ayufan-dtsi-rk3328-add-mmc0-mmc1-aliases.patch diff --git a/recipes-kernel/linux/files/0001-ayufan-dtsi-rk3328-add-mmc0-mmc1-aliases.patch b/recipes-kernel/linux/files/0001-ayufan-dtsi-rk3328-add-mmc0-mmc1-aliases.patch deleted file mode 100644 index 1ad3b9e..0000000 --- a/recipes-kernel/linux/files/0001-ayufan-dtsi-rk3328-add-mmc0-mmc1-aliases.patch +++ /dev/null @@ -1,27 +0,0 @@ -From f10cfe01f753348d346374008b8e8f5f26ed94ab Mon Sep 17 00:00:00 2001 -From: Kamil Trzcinski <ayufan@...> -Date: Mon, 28 Aug 2017 11:24:37 +0200 -Subject: [PATCH] ayufan: dtsi: rk3328: add mmc0/mmc1 aliases -Upstream-Status: Pending [https://github.com/ayufan-rock64/linux-mainline-kernel/commit/f10cfe01f753348d346374008b8e8f5f26ed94ab] - -Change-Id: I82a5394df8a505f7d1496393621c1198895c88b0 ---- - arch/arm64/boot/dts/rockchip/rk3328.dtsi | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi -index 0afed15bc7ff..800f1c796882 100644 ---- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi -+++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi -@@ -27,6 +27,8 @@ - i2c1 = &i2c1; - i2c2 = &i2c2; - i2c3 = &i2c3; -+ mmc0 = &emmc; -+ mmc1 = &sdmmc; - ethernet0 = &gmac2io; - ethernet1 = &gmac2phy; - }; --- -2.30.2 - diff --git a/recipes-kernel/linux/linux-yocto%.bbappend b/recipes-kernel/linux/linux-yocto%.bbappend index cf63a30..470dc09 100644 --- a/recipes-kernel/linux/linux-yocto%.bbappend +++ b/recipes-kernel/linux/linux-yocto%.bbappend @@ -12,6 +12,3 @@ COMPATIBLE_MACHINE:rock64 = "rock64" COMPATIBLE_MACHINE:rock-pi-e = "rock-pi-e" FILESEXTRAPATHS:prepend := "${THISDIR}/files:" - -# indeed applicable to all rk3328 boards -SRC_URI:append:rock64 = " file://0001-ayufan-dtsi-rk3328-add-mmc0-mmc1-aliases.patch" -- 2.30.0.rc0
|
|
Re: Enabling tk for Python tkinter module
Tim Orling
On Tue, Sep 28, 2021 at 2:58 PM Chris Tapp <opensource@...> wrote: I am trying to get PySimpleGUI running on an RPi4 using meta-raspberrypi with hardknott. You need to add “tk” to the package config for python3 Add the following to your distro|site|local.conf (or a python3_%.bbappend) PACKAGECONFIG:append:pn-python3 = “ tk” ( replace : with _ if you are on old release that doesn’t support the new override syntax) (This assumes you have meta-oe in your bblayers.conf so you can build tk, which it sounds like you do) This is because the _tkinter .so built by python3 is dynamically loaded only if present —Tim “moto-timo” Orling
|
|
[meta-security][PATCH 2/2] swtpm: fix build issues of missing expect
Signed-off-by: Armin Kuster <akuster808@...>
--- meta-tpm/recipes-tpm/swtpm/swtpm_0.6.1.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-tpm/recipes-tpm/swtpm/swtpm_0.6.1.bb b/meta-tpm/recipes-tpm/swtpm/swtpm_0.6.1.bb index 807c02b..d602ee0 100644 --- a/meta-tpm/recipes-tpm/swtpm/swtpm_0.6.1.bb +++ b/meta-tpm/recipes-tpm/swtpm/swtpm_0.6.1.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=fe8092c832b71ef20dfe4c6d3decb3a8" SECTION = "apps" # coreutils-native and net-tools-native are reportedly only required for the tests -DEPENDS = "libtasn1 coreutils-native expect socat glib-2.0 net-tools-native libtpm json-glib" +DEPENDS = "libtasn1 coreutils-native expect socat glib-2.0 net-tools-native libtpm json-glib expect expect-native" SRCREV = "98187d24fe14851653a7c46eb16e9c5f0b9beaa1" SRC_URI = "git://github.com/stefanberger/swtpm.git;branch=stable-0.6 \ @@ -28,7 +28,7 @@ PACKAGECONFIG[openssl] = "--with-openssl, --without-openssl, openssl" # expect, bash, tpm2-pkcs11-tools (tpm2_ptool), tpmtool and certtool is # used by swtpm-create-tpmca (the last two is provided by gnutls) # gnutls is required by: swtpm-create-tpmca, swtpm-localca and swtpm_cert -PACKAGECONFIG[gnutls] = "--with-gnutls, --without-gnutls, gnutls, gnutls, expect bash tpm2-pkcs11-tools" +PACKAGECONFIG[gnutls] = "--with-gnutls, --without-gnutls, gnutls, gnutls, bash tpm2-pkcs11-tools" PACKAGECONFIG[selinux] = "--with-selinux, --without-selinux, libselinux" PACKAGECONFIG[cuse] = "--with-cuse, --without-cuse, fuse" PACKAGECONFIG[seccomp] = "--with-seccomp, --without-seccomp, libseccomp" -- 2.25.1
|
|
[meta-security][PATCH 1/2] swtpm: update to 0.6.1
From: "Kristian Klausen via lists.yoctoproject.org" <kristian=klausen.dk@...>
swtpm no longer depends on Python[1] so the dependencies have been removed. "inherit perlnative" has been added due to (in oe-core): deda455b3c ("bitbake.conf: drop pod2man from hosttools") Some leftover dependencies have also been removed, ex: tpm-tools required in the past by swtpm_setup.sh (<0.4.0)[2]. [1] https://github.com/stefanberger/swtpm/issues/437 [2] https://github.com/stefanberger/swtpm/commit/eee8cb5dfb13f87140dddda38f65bf61aff19508 Signed-off-by: Kristian Klausen <kristian@...> Signed-off-by: Armin Kuster <akuster808@...> --- .../swtpm/swtpm-wrappers-native.bb | 12 ++++------ .../swtpm/{swtpm_0.5.2.bb => swtpm_0.6.1.bb} | 23 ++++++++----------- 2 files changed, 14 insertions(+), 21 deletions(-) rename meta-tpm/recipes-tpm/swtpm/{swtpm_0.5.2.bb => swtpm_0.6.1.bb} (72%) diff --git a/meta-tpm/recipes-tpm/swtpm/swtpm-wrappers-native.bb b/meta-tpm/recipes-tpm/swtpm/swtpm-wrappers-native.bb index 644f3ac..bb93374 100644 --- a/meta-tpm/recipes-tpm/swtpm/swtpm-wrappers-native.bb +++ b/meta-tpm/recipes-tpm/swtpm/swtpm-wrappers-native.bb @@ -1,6 +1,6 @@ SUMMARY = "SWTPM - OpenEmbedded wrapper scripts for native swtpm tools" LICENSE = "MIT" -DEPENDS = "swtpm-native tpm-tools-native net-tools-native" +DEPENDS = "swtpm-native" inherit native @@ -14,23 +14,19 @@ do_create_wrapper () { for i in `find ${bindir} ${base_bindir} ${sbindir} ${base_sbindir} -name 'swtpm*' -perm /+x -type f`; do exe=`basename $i` case $exe in - swtpm_setup.sh) + swtpm_setup) cat >${WORKDIR}/swtpm_setup_oe.sh <<EOF #! /bin/sh # -# Wrapper around swtpm_setup.sh which adds parameters required to +# Wrapper around swtpm_setup which adds parameters required to # run the setup as non-root directly from the native sysroot. PATH="${bindir}:${base_bindir}:${sbindir}:${base_sbindir}:\$PATH" export PATH -# tcsd only allows to be run as root or tss. Pretend to be root... -exec env ${FAKEROOTENV} ${FAKEROOTCMD} swtpm_setup.sh --config ${STAGING_DIR_NATIVE}/etc/swtpm_setup.conf "\$@" +exec swtpm_setup --config ${STAGING_DIR_NATIVE}/etc/swtpm_setup.conf "\$@" EOF ;; - swtpm_setup) - true - ;; *) cat >${WORKDIR}/${exe}_oe.sh <<EOF #! /bin/sh diff --git a/meta-tpm/recipes-tpm/swtpm/swtpm_0.5.2.bb b/meta-tpm/recipes-tpm/swtpm/swtpm_0.6.1.bb similarity index 72% rename from meta-tpm/recipes-tpm/swtpm/swtpm_0.5.2.bb rename to meta-tpm/recipes-tpm/swtpm/swtpm_0.6.1.bb index 912e939..807c02b 100644 --- a/meta-tpm/recipes-tpm/swtpm/swtpm_0.5.2.bb +++ b/meta-tpm/recipes-tpm/swtpm/swtpm_0.6.1.bb @@ -3,14 +3,11 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=fe8092c832b71ef20dfe4c6d3decb3a8" SECTION = "apps" -DEPENDS = "libtasn1 coreutils-native expect socat glib-2.0 net-tools-native libtpm libtpm-native" +# coreutils-native and net-tools-native are reportedly only required for the tests +DEPENDS = "libtasn1 coreutils-native expect socat glib-2.0 net-tools-native libtpm json-glib" -# configure checks for the tools already during compilation and -# then swtpm_setup needs them at runtime -DEPENDS:append = " tpm-tools-native expect-native socat-native python3-pip-native python3-cryptography-native" - -SRCREV = "e59c0c1a7b4c8d652dbb280fd6126895a7057464" -SRC_URI = "git://github.com/stefanberger/swtpm.git;branch=stable-0.5 \ +SRCREV = "98187d24fe14851653a7c46eb16e9c5f0b9beaa1" +SRC_URI = "git://github.com/stefanberger/swtpm.git;branch=stable-0.6 \ file://ioctl_h.patch \ file://oe_configure.patch \ " @@ -19,7 +16,7 @@ PE = "1" S = "${WORKDIR}/git" PARALLEL_MAKE = "" -inherit autotools pkgconfig python3native +inherit autotools pkgconfig perlnative TSS_USER="tss" TSS_GROUP="tss" @@ -28,7 +25,10 @@ PACKAGECONFIG ?= "openssl" PACKAGECONFIG += "${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)}" PACKAGECONFIG += "${@bb.utils.contains('BBFILE_COLLECTIONS', 'filesystems-layer', 'cuse', '', d)}" PACKAGECONFIG[openssl] = "--with-openssl, --without-openssl, openssl" -PACKAGECONFIG[gnutls] = "--with-gnutls, --without-gnutls, gnutls" +# expect, bash, tpm2-pkcs11-tools (tpm2_ptool), tpmtool and certtool is +# used by swtpm-create-tpmca (the last two is provided by gnutls) +# gnutls is required by: swtpm-create-tpmca, swtpm-localca and swtpm_cert +PACKAGECONFIG[gnutls] = "--with-gnutls, --without-gnutls, gnutls, gnutls, expect bash tpm2-pkcs11-tools" PACKAGECONFIG[selinux] = "--with-selinux, --without-selinux, libselinux" PACKAGECONFIG[cuse] = "--with-cuse, --without-cuse, fuse" PACKAGECONFIG[seccomp] = "--with-seccomp, --without-seccomp, libseccomp" @@ -41,14 +41,11 @@ USERADD_PARAM:${PN} = "--system -g ${TSS_GROUP} --home-dir \ --no-create-home --shell /bin/false ${BPN}" -PACKAGES =+ "${PN}-python" -FILES:${PN}-python = "${PYTHON_SITEPACKAGES_DIR}" - PACKAGE_BEFORE_PN = "${PN}-cuse" FILES:${PN}-cuse = "${bindir}/swtpm_cuse" INSANE_SKIP:${PN} += "dev-so" -RDEPENDS:${PN} = "libtpm expect socat bash tpm-tools python3 python3-cryptography python3-twisted" +RDEPENDS:${PN} = "libtpm" BBCLASSEXTEND = "native nativesdk" -- 2.25.1
|
|
Re: [meta-security][PATCH] dmverity: Make use of DATA_BLOCK_SIZE variable in initrdscript.
merged.
toggle quoted messageShow quoted text
On 9/23/21 8:45 AM, Paulo Neves wrote:
From: Christer Fletcher <christer.fletcher@...>
|
|
Re: [meta-security][PATCH] Upgrade parsec-service 0.8.1 and parsec-tool 0.4.0
merged.
toggle quoted messageShow quoted text
On 9/27/21 12:57 PM, Anton Antonov wrote:
Signed-off-by: Anton Antonov <Anton.Antonov@...>
|
|
Re: [meta-security][PATCH] libtpm: update to 0.8.7
merged
toggle quoted messageShow quoted text
On 9/27/21 4:07 AM, Kristian Klausen via lists.yoctoproject.org wrote:
Signed-off-by: Kristian Klausen <kristian@...>
|
|