[yocto] [PATCH v3 4/5] rmc: remove unnecessary return variable

2017-02-14 Thread Todor Minchev
Signed-off-by: Todor Minchev --- src/rmc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/rmc.c b/src/rmc.c index 54710c7..9a63069 100644 --- a/src/rmc.c +++ b/src/rmc.c @@ -218,7 +218,6 @@ read_fp_done: static rmc_file_t *read_policy_file(char *pathname, int type) {

[yocto] [PATCH v3 5/5] rmc: add database extraction functionality

2017-02-14 Thread Todor Minchev
The contents of an existing database file can be extracted with the -E option. By default the top level of the directory tree is rmc_db_dump, an alternative path can be specified with the -o option. The file blobs corresponding to a given record will be saved in a separate sub-directory. The sub-di

[yocto] [PATCH v3 3/5] rmc: enable reading the contents of an existing fingerprint file

2017-02-14 Thread Todor Minchev
The contents of an existing fingerprint file can be read and output on the command line with the following options: rmc -E -f input_fingerprint_file Signed-off-by: Todor Minchev --- src/rmc.c | 97 +-- 1 file changed, 64 insertions(+),

[yocto] [PATCH v3 2/5] Makefile: add debug target

2017-02-14 Thread Todor Minchev
A debug version of the rmc binary can be built by using the debug Makefile target. This will include debug symbols and will disable compiler optimizations. Example: make debug Signed-off-by: Todor Minchev --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile in

[yocto] [PATCH v3 1/5] Makefile: disable silent mode in Makefiles

2017-02-14 Thread Todor Minchev
By default make will output the commands that are executed for each target. Silent mode can be enabled with the '-s' option. Example: make -s Signed-off-by: Todor Minchev --- Makefile | 21 +++-- Makefile.efi | 10 +- 2 files changed, 16 insertions(+), 15 deletions(-

[yocto] [PATCH v3 0/5][meta-intel][rmc] Add fingerprint quering and database extraction functionality to RMC

2017-02-14 Thread Todor Minchev
This is V3 of the patchset. It addresses all feedback received in V2. Changes from previous version: * use mkdir() instead of system() to create output directories * use ASCII representation of fingerprint signatures in hex as directory names * remove extra verbosity from fingerprint dump Todor

Re: [yocto] [PATCH v2 5/5] rmc: add database extraction functionality

2017-02-14 Thread Todor Minchev
On Fri, 2017-02-10 at 11:52 -0800, Jianxun Zhang wrote: > Todor, > Appreciate the V2 series. I have only one real concern on using system() in > this patch and the whole series. The other comments are more for corner cases > which have less impact. > > I could miss some of your feedbacks in V1 t

Re: [yocto] [PATCH v2 2/5] Makefile: add debug target

2017-02-14 Thread Todor Minchev
On Fri, 2017-02-10 at 10:58 -0800, Jianxun Zhang wrote: > > On Feb 9, 2017, at 11:17 AM, Todor Minchev > > wrote: > > > > A debug version of the rmc binary can be built by using the debug > > Makefile target. This will include debug symbols and will disable > > compiler optimizations. > > > > E

[yocto] [meta-swupd][RFC][PATCH] swupd-image.bbclass: split out swupd-client and config specific bits

2017-02-14 Thread André Draszik
It is useful to be able to integrate swupd-client into an image that is not itself subject to swupd based processing. An example would be an initramfs that contains the client, but that initramfs itself is a regular file in a different (outer) file system (image). The outer image would be subject

Re: [yocto] [meta-security][PATCH] scapy: fix the pickling issue

2017-02-14 Thread akuster808
merged. thanks, Armin On 02/08/2017 06:44 PM, jackie.hu...@windriver.com wrote: From: Jackie Huang Backport a patch to fix the pickling issue when save_session: PicklingError: Can't pickle : attribute lookup __builtin__.function failed Signed-off-by: Jackie Huang --- .../scapy/scapy/s

Re: [yocto] [wic] Fixed size partitions (--grow)

2017-02-14 Thread Maciej Borzęcki
On Tue, Feb 14, 2017 at 12:20 PM, Maciej Pijanowski wrote: > Hello, > > I have a question regarding wic. If this is not appropriate list to ask, > then > please point me to correct one. > > wic seems like a really simple and powerful tool. My intention was to create > disk image with multiple part

[yocto] [wic] Fixed size partitions (--grow)

2017-02-14 Thread Maciej Pijanowski
Hello, I have a question regarding wic. If this is not appropriate list to ask, then please point me to correct one. wic seems like a really simple and powerful tool. My intention was to create disk image with multiple partitions with fixed size. While the first part seems doable, the second

Re: [yocto] [meta-security][PATCH v2 0/9] tpm: virtual TPM for qemu

2017-02-14 Thread Patrick Ohly
On Fri, 2017-02-03 at 10:35 -0800, akuster808 wrote: > On 2/3/17 12:46 AM, Patrick Ohly wrote: > > I recently started using swtpm-native in combination with the qemu-tpm > > patches to simulate a virtual TPM chip in qemu. The qemu-tpm patches > > should go into OE-core, but currently usage is a bit

[yocto] [meta-selinux][PATCH 3/3] policycoreutils: add gettext-native to DEPENDS

2017-02-14 Thread Robert Yang
Fixed: msgfmt -o af.mo af.po make[1]: msgfmt: Command not found make[1]: *** [af.mo] Error 127 Signed-off-by: Robert Yang --- recipes-security/selinux/policycoreutils.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-security/selinux/policycoreutils.inc b/recipes-s

[yocto] [meta-selinux][PATCH 2/3] libsemanage: add swig-native to DEPENDS

2017-02-14 Thread Robert Yang
Fixed: swig -Wall -python -o semanageswig_wrap.c -outdir ./ semanageswig_python.i make[1]: swig: Command not found Signed-off-by: Robert Yang --- recipes-security/selinux/libsemanage.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-security/selinux/libsemanage.inc

[yocto] [meta-selinux][PATCH 1/3] audit: add swig-native to DEPENDS

2017-02-14 Thread Robert Yang
Fixed: make[4]: swig: Command not found make[4]: *** [audit_wrap.c] Error 127 Signed-off-by: Robert Yang --- recipes-security/audit/audit_2.7.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-security/audit/audit_2.7.bb b/recipes-security/audit/audit_2.7.bb index 6b