[OE-core] [PATCH] nfs-utils: modify the boot sequence of the init script

2013-12-18 Thread Zhang Xiao
Move the nfscommon out of rcS and let it start just before nfsserver. Modify the useradd parameter with long parameter to make it more readable. Signed-off-by: Zhang Xiao --- meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.9.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff -

[OE-core] [PATCH] conf-notes: remove meta-toolchain-sdk references

2013-12-18 Thread Saul Wold
[YOCTO #5676] Signed-off-by: Saul Wold --- meta/conf/conf-notes.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/meta/conf/conf-notes.txt b/meta/conf/conf-notes.txt index 503cffa..66e6319 100644 --- a/meta/conf/conf-notes.txt +++ b/meta/conf/conf-notes.txt @@ -2,7 +2,6 @@ Common targets ar

[OE-core] [PATCH 03/10] toaster.bbclass: fix crash on buildstats collection

2013-12-18 Thread Alex DAMIAN
From: Alexandru DAMIAN Toaster needs buildstats to be enabled in order to collect task statistics. The toaster.bbclass didn't have a guard to stop task data collection if the buildstats weren't enabled, leading to a crash. This patch verifies that the task variables are defined before trying to

[OE-core] [PATCH] lib/oeqa/runtime: rewrite the systemd test module

2013-12-18 Thread Stefan Stanacar
They are basically the same tests but: - they look cleaner, using one single method / assert - output from unittest will be cleaner (and includes a verbose status when needed) - they are better grouped and use a real, active, enabled service (machineid will be dropped and hostnamed was a static

Re: [OE-core] [PATCH 0/1] runqemu fix for bug #5617

2013-12-18 Thread Scott Garman
On 12/18/2013 09:42 AM, Saul Wold wrote: On 12/18/2013 09:36 AM, Scott Garman wrote: Ping reminder on this patch. I believe it was merged last week, did you update master? Doh, sorry - I should have checked first. Thanks! I'll mark the bug as fixed. Scott -- Scott Garman Embedded Linux E

[OE-core] [PATCH] testimage: include traceback when loading a test fails

2013-12-18 Thread Stefan Stanacar
Makes it much easier to figure out where a syntax error is. Signed-off-by: Stefan Stanacar --- meta/classes/testimage.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass index add8009..1161e59 100644 --- a/

Re: [OE-core] [PATCH 0/1] runqemu fix for bug #5617

2013-12-18 Thread Saul Wold
On 12/18/2013 09:36 AM, Scott Garman wrote: Ping reminder on this patch. I believe it was merged last week, did you update master? Sau! Scott On 12/05/2013 01:57 PM, Scott Garman wrote: Hi all, It's been a while since I've submitted a patch, let's see if I can get this process right the

Re: [OE-core] [PATCH 0/1] runqemu fix for bug #5617

2013-12-18 Thread Scott Garman
Ping reminder on this patch. Scott On 12/05/2013 01:57 PM, Scott Garman wrote: Hi all, It's been a while since I've submitted a patch, let's see if I can get this process right the first time. ;) This is a fix for Yocto bug #5617. Ross Burton wasn't a fan of the image filename whitelist, and

[OE-core] [PATCH] security_flags: more relocation issues

2013-12-18 Thread Saul Wold
These are similar relocation R_X86_64_PC32 issues that are solved by removing the -pie flags. [YOCTO #5515] Signed-off-by: Saul Wold --- meta/conf/distro/include/security_flags.inc | 6 ++ 1 file changed, 6 insertions(+) diff --git a/meta/conf/distro/include/security_flags.inc b/meta/conf

[OE-core] [PATCH] ptest: Disable for native recipes

2013-12-18 Thread Richard Purdie
We don't use or otherwise care about ptest for native recipes. Its therefore pointless to take the performance hit for them and we can disable them. Signed-off-by: Richard Purdie --- diff --git a/meta/classes/ptest.bbclass b/meta/classes/ptest.bbclass index 06dddf7..0ffef95 100644 --- a/meta/clas

[OE-core] [PATCH] ptest: Fix dependency/ordering issue

2013-12-18 Thread Richard Purdie
We've seen occasional issues on the autobuilder where files appear during do_populate_sysroot and this is due to the ptest installation happening in parallel. This fixes the order to be deterministic. Signed-off-by: Richard Purdie --- diff --git a/meta/classes/ptest.bbclass b/meta/classes/ptest.b

Re: [OE-core] [PATCH] oe-selftest: New tests for sstate related operations

2013-12-18 Thread Paul Eggleton
Hi Corneliu, On Tuesday 17 December 2013 11:44:53 Corneliu Stoicescu wrote: > Signed-off-by: Corneliu Stoicescu > --- > meta/lib/oeqa/selftest/sstate.py | 226 > ++ 1 file changed, 226 insertions(+) > create mode 100644 meta/lib/oeqa/selftest/sstate.py > > d

Re: [OE-core] [PATCH] systemd-compat-units: drop machineid.service

2013-12-18 Thread Burton, Ross
On 18 December 2013 15:42, Koen Kooi wrote: > ... every boot you get a new machine ID and hence a new journal ID, which > sucks. We can debate if that sucks more or less than having duplicate machine > IDs across the boards on your desk :) In the spirit of Linux we can make this a choice, thoug

[OE-core] [PATCH 2/6] buildhistory: be quiet when garbage collecting the git repo

2013-12-18 Thread Ross Burton
Signed-off-by: Ross Burton --- meta/classes/buildhistory.bbclass |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass index 3590da0..e9a9c3b 100644 --- a/meta/classes/buildhistory.bbclass +++ b/meta/classes/b

[OE-core] [PATCH 6/6] systemd: delete files that end up in /var/volatile

2013-12-18 Thread Ross Burton
${localstatedir}/log/journal is created by tmpfiles.d on boot, and the README just causes warnings that /var/volatile isn't empty when mounting on top of it. Signed-off-by: Ross Burton --- meta/recipes-core/systemd/systemd_208.bb |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) di

[OE-core] [PATCH 4/6] systemd-compat-units: drop machineid.service

2013-12-18 Thread Ross Burton
systemd will create the machine ID automatically if it isn't set, so this unit doesn't serve any purpose. Signed-off-by: Ross Burton --- meta/recipes-core/systemd/systemd-compat-units.bb |4 .../systemd/systemd-compat-units/machineid.service | 16 2 files cha

[OE-core] [PATCH 5/6] systemd: pass --root in prerm if running on host

2013-12-18 Thread Ross Burton
If a systemd image is built without a package manager then packages will be removed from an image during rootfs generation, but without passing --root the systemctl will look on the *host* system. Signed-off-by: Ross Burton --- meta/classes/systemd.bbclass |8 +++- 1 file changed, 7 inse

[OE-core] [PATCH 3/6] dbus: upgrade to 1.6.18

2013-12-18 Thread Ross Burton
Drop PR and INC_PR. Move patches into a non-versioned directory, and update dbus-ptest to match. Signed-off-by: Ross Burton --- .../dbus/{dbus-ptest_1.6.10.bb => dbus-ptest_1.6.18.bb} |2 +- meta/recipes-core/dbus/dbus.inc |2 -- meta/recipes-co

[OE-core] [PATCH 1/6] useradd.bbclass: add dependency on base-files

2013-12-18 Thread Ross Burton
Packages that use useradd.bbclass should have a dependency on base-files so that the /etc/skel directory is populated. Without this dependency base-files may or may not be installed when the postinst runs, and the skel content may or may not be copied. Signed-off-by: Ross Burton --- meta/classe

Re: [OE-core] [PATCH] systemd-compat-units: drop machineid.service

2013-12-18 Thread Burton, Ross
On 18 December 2013 15:42, Koen Kooi wrote: >> Why is that bad? In the read-only-rootfs case you can either pre-seed >> the machine ID at image creation time (if a single machine ID across >> all instances is reasonable) or let systemd create a fresh one on >> every boot in /run/machine-id and bi

Re: [OE-core] [PATCH] systemd-compat-units: drop machineid.service

2013-12-18 Thread Koen Kooi
Op 18 dec. 2013, om 16:03 heeft Burton, Ross het volgende geschreven: > On 12 December 2013 11:33, Koen Kooi wrote: >> Op 12 dec. 2013, om 11:04 heeft Ross Burton het >> volgende geschreven: >> >>> systemd will create the machine ID automatically if it isn't set, >> >> That's not the whole

Re: [OE-core] [PATCH] systemd-compat-units: drop machineid.service

2013-12-18 Thread Burton, Ross
On 12 December 2013 11:33, Koen Kooi wrote: > Op 12 dec. 2013, om 11:04 heeft Ross Burton het > volgende geschreven: > >> systemd will create the machine ID automatically if it isn't set, > > That's not the whole story, it will generate a new one every boot It will generate a new one on boot *i

[OE-core] [PATCH] Minicom depends on libiconv

2013-12-18 Thread krzysztof . m . sywula
From: Krzysztof Sywula Signed-off-by: Krzysztof Sywula --- meta/recipes-extended/minicom/minicom_2.6.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-extended/minicom/minicom_2.6.2.bb b/meta/recipes-extended/minicom/minicom_2.6.2.bb index 5694cc2..071682d 1

[OE-core] [PATCH] sstate: Get rid of crazy name mapping

2013-12-18 Thread Richard Purdie
When originally developed, it was thought a task may have more than one associated sstate archive. The way the code has grown that idea is now not possible or needed. We can therefore assume one sstate archive per task and drop the crazy name mapping code. Simpler is better in this case. The dow

[OE-core] [PATCH] sstate/gcc: Fix shared workdir handling for siginfo files

2013-12-18 Thread Richard Purdie
For a shared workdir, any one of the fetch/unpack/patch tasks may run yet the PN and architecture fields in SSTATE_PKGSPEC may differ. This makes looking up the appropriate siginfo file near impossible. I've tried several different ways of resolving this and this is the neatest solution I could f

[OE-core] [PATCH] sstate: Write out siginfo files for non-sstate tasks

2013-12-18 Thread Richard Purdie
Currently siginfo files are only written for sstate tasks. In order to be truly debuggable, its helpful to have the siginfo for intermediate tasks. This adds that functionality so the extra siginfo files are written out too. This will be used to add better sstate debugging in future changes. Sign

[OE-core] [PATCH] externalsrc: Use deltask API

2013-12-18 Thread Richard Purdie
Now we have deltask API, stop poking around bitbake internal variables. Signed-off-by: Richard Purdie --- diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.bbclass index c759289..53c71cb 100644 --- a/meta/classes/externalsrc.bbclass +++ b/meta/classes/externalsrc.bbclass @@

[OE-core] [PATCH] native: Use deltask to remove tasks which have no purpose

2013-12-18 Thread Richard Purdie
core-image-sato has 47703 inter task dependencies before this patch and 29883 afterwards which is a significant worthwhile task graph simplification. Signed-off-by: Richard Purdie --- Note: This patch depends on new bitbake functionality so we'll have to bump the bitbake version requirement befo

[OE-core] [PATCH] grub: move xz to DEPENDS list from RDEPENDS list

2013-12-18 Thread Ming Liu
liblzma5 is really requiring by grub, setting RDEPENDS to xz would pull unneeded xz binaries into rootfs. Signed-off-by: Ming Liu --- meta/recipes-bsp/grub/grub_2.00.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-bsp/grub/grub_2.00.bb b/meta/recipes-bsp/

Re: [OE-core] [PATCH V2 1/1] image.bbclass: add ability to set systemd default target

2013-12-18 Thread ChenQi
On 12/18/2013 03:53 PM, Koen Kooi wrote: Op 18 dec. 2013, om 08:49 heeft qi.c...@windriver.com het volgende geschreven: From: Chen Qi Add ability to set the default target for systemd images. The default value for the target is derived from checking whether IMAGE_FEATRUES typo contains 'x