[OE-core] [PATCH resend^2] wic: allow bitbake variables in kickstarter files

2018-12-29 Thread Rasmus Villemoes
to WICVARS to get them exported appropriately. Signed-off-by: Rasmus Villemoes --- scripts/lib/wic/ksparser.py | 17 + 1 file changed, 17 insertions(+) diff --git a/scripts/lib/wic/ksparser.py b/scripts/lib/wic/ksparser.py index 7e5a9c5092..08baf76123 100644 --- a/scripts/lib/wic

[OE-core] [PATCH 2/2] lib/oe/package.py: use bb.utils.break_hardlinks helper

2018-08-21 Thread Rasmus Villemoes
This does the same thing, but is more efficient in case st_nlinks is (already) 1. Depends on bitbake commit 7ae93cf40ab91965147055100432961436bce46c . Signed-off-by: Rasmus Villemoes --- meta/lib/oe/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oe

[OE-core] [PATCH 1/2] package.bbclass: use bb.utils.break_hardlinks helper

2018-08-21 Thread Rasmus Villemoes
This does the same thing, but is more efficient in case st_nlinks is (already) 1. Depends on bitbake commit 7ae93cf40ab91965147055100432961436bce46c . Signed-off-by: Rasmus Villemoes --- meta/classes/package.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta

Re: [OE-core] [pseudo] [RFC 1/2] pseudo_ipc.c: Use MSG_NOSIGNAL if available

2018-08-15 Thread Rasmus Villemoes
On 2018-07-11 16:30, Rasmus Villemoes wrote: > MSG_NOSIGNAL has been in Linux since 2.2, and has been standardized in > POSIX 2008. Using that when available avoids the overhead of the two > syscalls to set and restore the SIGPIPE handler. Moreover, we can > eliminate one write() ca

Re: [OE-core] [RFC PATCH] package.bbclass: improve -dbg and -src package ordering

2018-08-15 Thread Rasmus Villemoes
On 2018-07-17 10:13, Rasmus Villemoes wrote: > ping... > ping2 > On 2018-07-11 13:38, Rasmus Villemoes wrote: >> nativesdk-gpgme fails package_qa when setting PACKAGE_DEBUG_SPLIT_STYLE >> = "debug-with-srcpkg". >> >> ERROR: nativesdk-gpgme-1.10.0-r0

[OE-core] [PATCH] busybox: udhcpd: fix not dying on SIGTERM

2018-07-17 Thread Rasmus Villemoes
busybox 1.27.2 udhcpd does not respond to SIGTERM. Backport the upstream fix. I've verified that this makes our local automated test suite pass again. Signed-off-by: Rasmus Villemoes --- .../busybox/udhcpd-fix-not-dying-on-SIGTERM.patch | 273 + meta/recipes-core/busybox

Re: [OE-core] [PATCH resend] wic: allow bitbake variables in kickstarter files

2018-07-17 Thread Rasmus Villemoes
On 2018-07-03 14:54, Rasmus Villemoes wrote: > image_types_wic.bbclass has a mechanism for doing variable substitution > on .wks files by simply letting the input file be called > .wks.in. However, that doesn't allow using variables in files included > via the inclu

Re: [OE-core] [RFC PATCH] package.bbclass: improve -dbg and -src package ordering

2018-07-17 Thread Rasmus Villemoes
ping... On 2018-07-11 13:38, Rasmus Villemoes wrote: > nativesdk-gpgme fails package_qa when setting PACKAGE_DEBUG_SPLIT_STYLE > = "debug-with-srcpkg". > > ERROR: nativesdk-gpgme-1.10.0-r0 do_package_qa: QA Issue: non debug package > contains .debug directory: n

[OE-core] [pseudo] [RFC 2/2] pseudo_ipc.c: eliminate some code duplication

2018-07-12 Thread Rasmus Villemoes
Since msg->pathlen is set to len in the first branch, we can share the final submit-and-check-for-success part of the two branches. Signed-off-by: Rasmus Villemoes --- pseudo_ipc.c | 19 --- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/pseudo_ipc.

[OE-core] [RFC PATCH] package.bbclass: improve -dbg and -src package ordering

2018-07-11 Thread Rasmus Villemoes
per order". Probably the autodebug condition needs to stay, but I think the split_source_package condition in the preceding elif should be removed, so that that logic applies to all packages called -src, not just the one we might have created a few lines above. Signed-off-by: Rasmus Villemoes

[OE-core] [pseudo] [RFC 1/2] pseudo_ipc.c: Use MSG_NOSIGNAL if available

2018-07-11 Thread Rasmus Villemoes
-by: Rasmus Villemoes --- pseudo_ipc.c | 63 +++- 1 file changed, 50 insertions(+), 13 deletions(-) diff --git a/pseudo_ipc.c b/pseudo_ipc.c index 82c6f70..7786880 100644 --- a/pseudo_ipc.c +++ b/pseudo_ipc.c @@ -26,13 +26,17 @@ #include

Re: [OE-core] [PATCH] perf: disable parallelism for 'make clean'

2018-07-07 Thread Rasmus Villemoes
On 2018-07-06 00:18, Andre McCurdy wrote: > On Thu, Jul 5, 2018 at 1:55 PM, Rasmus Villemoes > wrote: >> Whenever perf got rebuilt, I was consistently getting errors such as >> >> | find: '[...]/perf/1.0-r9/perf-1.0/plugin_mac80211.so': No such file or >> directory

[OE-core] [PATCH v2] perf: disable parallelism for 'make clean'

2018-07-06 Thread Rasmus Villemoes
@krava), but it should be harmless to pass JOBS=1 even with a fixed kernel. This can be removed if and when all relevant -stable kernels have that patch. Signed-off-by: Rasmus Villemoes --- v2: Pass JOBS=1 rather than sed-patching tools/perf/Makefile. meta/recipes-kernel/perf/perf.bb | 7

[OE-core] [PATCH] perf: disable parallelism for 'make clean'

2018-07-05 Thread Rasmus Villemoes
the sed script matches exactly the lines clean: $(make) it should be harmless to have this even with a fixed kernel, and it can be removed if and when all relevant -stable kernels have it. Signed-off-by: Rasmus Villemoes --- meta/recipes-kernel/perf/perf.bb | 5 + 1 file changed, 5

[OE-core] [PATCH resend] wic: allow bitbake variables in kickstarter files

2018-07-03 Thread Rasmus Villemoes
to WICVARS to get them exported appropriately. Signed-off-by: Rasmus Villemoes --- scripts/lib/wic/ksparser.py | 17 + 1 file changed, 17 insertions(+) diff --git a/scripts/lib/wic/ksparser.py b/scripts/lib/wic/ksparser.py index e590b2fe3c..3dc17d7fde 100644 --- a/scripts/lib/wic

[OE-core] [PATCH] util-linux: alternatify fstrim

2018-07-02 Thread Rasmus Villemoes
I hit update-alternatives: Error: not linking [...]/rootfs/sbin/fstrim to /bin/busybox.nosuid since [...]/rootfs/sbin/fstrim exists and is not a link The solution seems to be to tell the alternatives system that util-linux can also provide fstrim. Signed-off-by: Rasmus Villemoes --- meta

Re: [OE-core] [PATCH] wic: allow bitbake variables in kickstarter files

2018-04-30 Thread Rasmus Villemoes
On 2018-03-22 14:44, Rasmus Villemoes wrote: > image_types_wic.bbclass has a mechanism for doing variable substitution > on .wks files by simply letting the input file be called > .wks.in. However, that doesn't allow using variables in files included > via the include directive. &g

Re: [OE-core] [PATCH] wic: allow bitbake variables in kickstarter files

2018-04-10 Thread Rasmus Villemoes
On 2018-03-22 14:44, Rasmus Villemoes wrote: > image_types_wic.bbclass has a mechanism for doing variable substitution > on .wks files by simply letting the input file be called > .wks.in. However, that doesn't allow using variables in files included > via the include directive. &g

[OE-core] [PATCH] wic: allow bitbake variables in kickstarter files

2018-03-22 Thread Rasmus Villemoes
files parsed by wic. The user should add all required variables to WICVARS to get them exported appropriately. Signed-off-by: Rasmus Villemoes <rasmus.villem...@prevas.dk> --- scripts/lib/wic/ksparser.py | 17 + 1 file changed, 17 insertions(+) diff --git a/scripts/l

<    1   2