[OE-core] [PATCH] qemu: Allow building without X11 support

2014-01-29 Thread Jonas Eriksson
To enable the construction of minimal hypervisors based on OE, it is important to be able to build qemu without it requiring X support. By checking that the distro is built with the x11 feature before adding virtual/x11 to the dependencies, this is made possible. --- meta/recipes-devtools/qemu/qem

[OE-core] [PATCH] Fix "tar: .: file changed as we read it" with cpio+tar builds enabled

2014-03-24 Thread Jonas Eriksson
problem with the patch that I can think of is whether or not cpio in the build host support -A and -F. I've checked the GNU cpio git repo, and the arguments have been there since they started using git in 2004, which means that this should not be a problem. Regards, /Jonas Jonas Erikss

[OE-core] [PATCH] cpio rootfs build: Avoid modifying rootfs dir

2014-03-24 Thread Jonas Eriksson
ditionally, whether or not the tar file will contain the /init file is also up to the race condition. To avoid this problem, move the /init addition out from the rootfs directory, and thus only include it in the .cpio image. Signed-off-by: Jonas Eriksson Signed-off-by: Josep Puigdemont Cc: Laure

Re: [OE-core] [PATCH] cpio rootfs build: Avoid modifying rootfs dir

2014-03-26 Thread Jonas Eriksson
Hi Andrea, On Wed, Mar 26, 2014 at 00:04:55 +0100 Andrea Adami wrote: > I admit I did not encounter this race, still I tested the patch > because it caught my attention. > > There are some rare cases where init is a symlink pointing to a custom > executable so the previous test was specifically d