Re: [yocto] Changing over to systemd (no dhcp)

2017-01-23 Thread Mike Looijmans
On 23-01-17 08:47, colin.helliw...@ln-systems.com wrote: Looking at it in more detail, it's perhaps more that not everything is taken up by systemd i.e. I have lots of symlinks to /dev/null in etc/systemd/system, with the corresponding/original SysV script still in /etc/init.d. Things like b

Re: [yocto] Changing over to systemd (no dhcp)

2017-01-23 Thread Mike Looijmans
On 21-01-17 13:41, Leon Woestenberg wrote: Hello Mike, On Fri, Jan 20, 2017 at 3:27 PM, Mike Looijmans mailto:mike.looijm...@topic.nl>> wrote: An no one (except one of the systemd folks) has come up with a program that just waits for the the processes to finish (with a timeout) and onl

Re: [yocto] Changing over to systemd (no dhcp)

2017-01-23 Thread Patrick Ohly
On Mon, 2017-01-23 at 07:47 +, colin.helliw...@ln-systems.com wrote: > Looking at one which does seem to switch over cleanly - dropbear - I'm > puzzled how the recipe [dropbear.inc, in poky/meta/recipes-core] > appears to install both init.d script and .service in its do_install, > yet only one

Re: [yocto] [meta-swupd][PATCH] swupd-image.bbclass: do_swupd_update() depends on time-native

2017-01-23 Thread André Draszik
On Tue, 2017-01-17 at 15:59 +, André Draszik wrote: > Note that this needs the patch to OE-core to enable the > time-native BBCLASSEXTEND to be applied before this here can > go in. The OE-core patch is in OE master now. A. -- ___ yocto mailing l

Re: [yocto] Changing over to systemd (no dhcp)

2017-01-23 Thread Mike Looijmans
On 20-01-17 14:59, colin.helliw...@ln-systems.com wrote: Thanks for all the pointers everyone. I’ve now got (in my distro conf): DISTRO_FEATURES_append = " systemd" DISTRO_FEATURES_remove = " sysvinit" VIRTUAL-RUNTIME_init_manager = "systemd" PREFERRED_PROVIDER_udev = "systemd" PACKAGECONFI

Re: [yocto] Changing over to systemd (no dhcp)

2017-01-23 Thread Maciej Borzęcki
On Mon, Jan 23, 2017 at 12:02 PM, Mike Looijmans wrote: > On 20-01-17 14:59, colin.helliw...@ln-systems.com wrote: >> >> Thanks for all the pointers everyone. I’ve now got (in my distro conf): >> >> DISTRO_FEATURES_append = " systemd" >> >> DISTRO_FEATURES_remove = " sysvinit" >> >> VIRTUAL-RUNTIM

[yocto] [meta-swupd][PATCH] swupd-image.bbclass: avoid depending on time command

2017-01-23 Thread Patrick Ohly
The time command's output is merely informational and less relevant now that performance is better than it used to be. Calling it unconditional is problematic because some build hosts might not have it. By default the command is no longer used, but can still be enabled locally by setting SWUPD_TIM

[yocto] [meta-swupd][PATCH] meta-swupd: support rm_work.bbclass

2017-01-23 Thread Patrick Ohly
Sharing data between virtual images only worked when rm_work.bbclass was not active. To support rm_work.bbclass, the new do_swupd_list_bundle generates the necessary information about the rootfs before do_rm_work removes the rootfs. The output files and the mega image rootfs.tar get excluded from

Re: [yocto] [meta-swupd][PATCH] swupd-image.bbclass: do_swupd_update() depends on time-native

2017-01-23 Thread Patrick Ohly
On Tue, 2017-01-17 at 16:49 +, André Draszik wrote: > I have no preference either way. Let's remove the hard dependency. I've posted a "swupd-image.bbclass: avoid depending on time command" patch which does that. Are you okay with that? -- Best Regards, Patrick Ohly The content of this mess

Re: [yocto] [meta-swupd][PATCH] swupd-image.bbclass: do_swupd_update() depends on time-native

2017-01-23 Thread André Draszik
On 23 Jan 2017 13:27, "Patrick Ohly" wrote: On Tue, 2017-01-17 at 16:49 +, André Draszik wrote: > I have no preference either way. Let's remove the hard dependency. I've posted a "swupd-image.bbclass: avoid depending on time command" patch which does that. Are you okay with that? Sure, tha

Re: [yocto] Yocto - Building initramfs to run a shell script for the support of IMA/EVM

2017-01-23 Thread Jeremy Thien
I suggest the debug-iniramfs-image from meta-openembedded/meta-initramfs. On Sun, Jan 22, 2017, 6:42 AM Patrick Ohly wrote: > On Fri, 2017-01-20 at 12:44 +, Eswaran Vinothkumar (BEG-PT/PJ-IOT1) > wrote: > > We are using initramfs to run a script which before mounting the root > > file system

[yocto] [yocto-kernel-cache][PATCH 0/1] features: enable tpm

2017-01-23 Thread Patrick Ohly
This was tested with the yocto-4.8 branch and linux-yocto 4.8.17 under qemu with TPM provided by swtpm, but can and should also get merged into the yocto-4.9 and master branches. The feature intentionally enables all current TPM drivers. A real production kernel should be more selective. Patrick

[yocto] [yocto-kernel-cache][PATCH 1/1] meta: add TPM feature

2017-01-23 Thread Patrick Ohly
Some hardware has a TPM chip and in addition, qemu can emulate it using swtpm. Signed-off-by: Patrick Ohly --- features/tpm/tpm.cfg | 18 ++ features/tpm/tpm.scc | 4 2 files changed, 22 insertions(+) create mode 100644 features/tpm/tpm.cfg create mode 100644 features/tpm

[yocto] Yocto Project Status WW04’17

2017-01-23 Thread Jolley, Stephen K
Current Dev Position: YP 2.3 M2 Next Deadline: YP 2.3 M2 by Jan 23, 2017 SWAT team rotation: Saul -> Paul on Jan. 20, 2017. SWAT team rotation: Paul -> Ross on Jan. 27, 2017. https://wiki.yoctoproject.org/wiki/Yocto_Build_Failure_Swat_Team Key Status/Updates: ·The 2.2.1 release has

Re: [yocto] Yocto - Building initramfs to run a shell script for the support of IMA/EVM

2017-01-23 Thread Jeremy Thien
Sorry, mangled the name. It should be initramfs-debug-image. It is very simple, but you have to handle switch root yourself. On Mon, Jan 23, 2017 at 9:08 AM Jeremy Thien wrote: > I suggest the debug-iniramfs-image from meta-openembedded/meta-initramfs. > > On Sun, Jan 22, 2017, 6:42 AM Patrick O

Re: [yocto] [yocto-kernel-cache][PATCH 0/1] features: enable tpm

2017-01-23 Thread Bruce Ashfield
On 01/23/2017 09:11 AM, Patrick Ohly wrote: This was tested with the yocto-4.8 branch and linux-yocto 4.8.17 under qemu with TPM provided by swtpm, but can and should also get merged into the yocto-4.9 and master branches. The feature intentionally enables all current TPM drivers. A real product

Re: [yocto] [yocto-kernel-cache][PATCH 0/1] features: enable tpm

2017-01-23 Thread Patrick Ohly
On Mon, 2017-01-23 at 14:51 -0500, Bruce Ashfield wrote: > On 01/23/2017 09:11 AM, Patrick Ohly wrote: > > This was tested with the yocto-4.8 branch and linux-yocto 4.8.17 under > > qemu with TPM provided by swtpm, but can and should also get merged > > into the yocto-4.9 and master branches. > > >

Re: [yocto] [yocto-kernel-cache][PATCH 0/1] features: enable tpm

2017-01-23 Thread Bruce Ashfield
On Jan 23, 2017 12:36 PM, "Patrick Ohly" wrote: On Mon, 2017-01-23 at 14:51 -0500, Bruce Ashfield wrote: > On 01/23/2017 09:11 AM, Patrick Ohly wrote: > > This was tested with the yocto-4.8 branch and linux-yocto 4.8.17 under > > qemu with TPM provided by swtpm, but can and should also get merged

[yocto] [meta-zephyr][PATCH 0/4] Support for Zephyr qemu_nios2 board

2017-01-23 Thread Juro Bystricky
This set of patches implements the support for Zephyr qemu_nios2. It implements the full toolchain (binutils, GCC, newlib) and also QEMU for Altera Nios2. The Nios2 support is fairly minimalistic, no tunes to support HW multiply, HW divide etc. as they are not required by Zephyr. Upstream QEMU doe

[yocto] [meta-zephyr][PATCH 3/4] zephyr-kernel-test.inc: exclude tests not suitable for Nios2

2017-01-23 Thread Juro Bystricky
Signed-off-by: Juro Bystricky --- recipes-kernel/zephyr-kernel/zephyr-kernel-test.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-test.inc b/recipes-kernel/zephyr-kernel/zephyr-kernel-test.inc index ecc183c..2e92ca2 100644 --- a/recipes-kerne

[yocto] [meta-zephyr][PATCH 2/4] qemuzephyrrunner.py: support for qemu-nios2

2017-01-23 Thread Juro Bystricky
Signed-off-by: Juro Bystricky --- lib/oeqa/utils/qemuzephyrrunner.py | 6 ++ 1 file changed, 6 insertions(+) diff --git a/lib/oeqa/utils/qemuzephyrrunner.py b/lib/oeqa/utils/qemuzephyrrunner.py index 441e0d6..2011434 100644 --- a/lib/oeqa/utils/qemuzephyrrunner.py +++ b/lib/oeqa/utils/qemuz

[yocto] [meta-zephyr][PATCH 4/4] README.txt: Updated for qemu-nios2

2017-01-23 Thread Juro Bystricky
Also replaced all "qemux86" with "qemu-x86" Signed-off-by: Juro Bystricky --- README.txt | 32 +++- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/README.txt b/README.txt index cb9a36a..230ad41 100644 --- a/README.txt +++ b/README.txt @@ -3,6 +3,8 @@