[OE-core] [PATCH] systemd: apply persistent storage udev rules also for /dev/hd*

2015-09-16 Thread Patrick Ohly
This fixes booting with initramfs and root=UUID on machines with IDE disks, like "runqemu hdddirect", and kernels which still use the deprecated CONFIG_IDE. Signed-off-by: Patrick Ohly --- .../systemd/rules-whitelist-hd-devices.patch | 32 ++ meta/recipes-core/systemd/s

Re: [OE-core] udev + 60-persistent-storage.rules + IDE

2015-09-16 Thread Patrick Ohly
On Wed, 2015-09-16 at 14:11 +0200, Patrick Ohly wrote: > I just noticed that udev (no longer) creates /dev/disk/by-uuid links for > my boot partition under qemu when booting a whole-disk image > (hdddirect). The device is then /dev/hda, with /dev/hda2 being the root > partition. > > systemd's 60-p

[OE-core] [PATCH] image.py: make sure ROOTFS_SIZE is an integer

2015-09-16 Thread Jonathan Liu
_get_rootfs_size was returning a float in some cases (e.g. 12288.0). Signed-off-by: Jonathan Liu --- meta/lib/oe/image.py | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/meta/lib/oe/image.py b/meta/lib/oe/image.py index 2361955..f8aa88b 100644 --- a/meta/lib/oe/image.py

[OE-core] [PATCH 0/1] bitbake.conf: update APACHE_MIRROR

2015-09-16 Thread Robert Yang
The following changes since commit f0189829498e30231d826c9f55aad73e622d076e: qemu: Update to upstream patches (2015-09-14 11:22:02 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib rbt/bbconf http://cgit.openembedded.org/cgit.cgi/openembed

[OE-core] [PATCH 1/1] bitbake.conf: update APACHE_MIRROR

2015-09-16 Thread Robert Yang
>From Ross: The http://www.apache.org/dist only keeps latest release, so use http://archive.apache.org/dist, which keeps all the archives. Signed-off-by: Robert Yang --- meta/conf/bitbake.conf |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/bitbake.conf b/meta/co

Re: [OE-core] Migrating from Samba 3 to 4

2015-09-16 Thread Paul D. DeRocco
> From: Paul D. DeRocco > > A couple years ago, I included Samba 3 in a Yocto (Dylan > branch) project, > and got it working. It included a custom smb.conf file, and an added > usermap file. I'm doing a new version of that project using > the Yocto Fido > branch, and incorporating Samba 4, whose

[OE-core] Migrating from Samba 3 to 4

2015-09-16 Thread Paul D. DeRocco
A couple years ago, I included Samba 3 in a Yocto (Dylan branch) project, and got it working. It included a custom smb.conf file, and an added usermap file. I'm doing a new version of that project using the Yocto Fido branch, and incorporating Samba 4, whose recipe works differently. To provide a

Re: [OE-core] [PATCH v2] python_2.7.9.bb: Add python-misc as runtime dependency to python-modules

2015-09-16 Thread Khem Raj
On Tue, Sep 15, 2015 at 11:31 PM, Erkka Kääriä wrote: > Currently python-misc is not included even if python-modules is. This means > some python scripts fail even if python-modules is included in the image (for > example, get-pip.py at bootstrap.pypa.io/get-pip.py). > this patch is OK. Althoug

[OE-core] [PATCH] testimage.bbclass: Don't require an image manifest

2015-09-16 Thread Randy Witt
Sometimes an "image" may not actually have a manifest file such as when using a "baremetal kernel". This change allows for a user to set a IMAGE_NO_MANIFEST flag to 1 in order to inform the code that there is no corresponding manifest that should exist for an image. Signed-off-by: Randy Witt ---

Re: [OE-core] [PATCH V2 2/3] systemd: Upgrade 219 -> 225

2015-09-16 Thread Khem Raj
On Wed, Sep 16, 2015 at 2:17 PM, Andreas Müller wrote: > Is anybody preparing patches for gudev (many packets in meta-oe require it)? > > If not I can do so. Is the home for libgudev oe-core or better meta-oe? meta-oe is better for now. I am not working on it. --

Re: [OE-core] [PATCH V2 2/3] systemd: Upgrade 219 -> 225

2015-09-16 Thread Andreas Müller
On Fri, Sep 11, 2015 at 2:19 AM, Khem Raj wrote: > Drop patches that were straight backports from upstream > > MIT licence was unused and dropped from systemd sources > for more details see > https://github.com/systemd/systemd/commit/8f1e0c5f38cdf7e401ab4d2bb93ad816d08e7715 > > Drop gtkdoc depende

[OE-core] [PATCH] oeqa/sstatetests: Add test for nativesdk stamp invariance with MACHINE

2015-09-16 Thread Richard Purdie
nativesdk-glbic should not rebuild when you change MACHINE but it was. We've fixed that, now add tests to ensure this doesn't happen again. Rather than add yet another stamps test, extend one of the existing ones to cover this instead. Signed-off-by: Richard Purdie diff --git a/meta/lib/oeqa/s

[OE-core] [PATCH] glibc: Ensure OVERRIDES doesn't influence sstate checksum

2015-09-16 Thread Richard Purdie
Switching MACHINE was causing nativesdk-glibc to rebuild. This was from the use of OVERRIDES in one of the functions. Exclude OVERRIDES from the checksum to avoid this. [patch to oe-selftest to ensure this doesn't regress follows] Signed-off-by: Richard Purdie diff --git a/meta/recipes-core/gli

Re: [OE-core] [PATCHv2] recipetool: add 'newappend' sub-command

2015-09-16 Thread Christopher Larson
On Wed, Sep 16, 2015 at 10:03 AM, Christopher Larson wrote: > This sub-command creates a bbappend for the specified target and prints the > path to the bbappend. The -w argument, as with some of the other recipetool > commands, will make a version-independent bbappend. > > Example usage: recipeto

[OE-core] [PATCHv2] recipetool: add 'newappend' sub-command

2015-09-16 Thread Christopher Larson
This sub-command creates a bbappend for the specified target and prints the path to the bbappend. The -w argument, as with some of the other recipetool commands, will make a version-independent bbappend. Example usage: recipetool newappend meta-mylayer virtual/kernel [YOCTO #7964] Signed-off-by:

Re: [OE-core] How to put a correct dependency with regards to gcc?

2015-09-16 Thread Richard Purdie
On Tue, 2015-09-15 at 22:37 -0400, Randy MacLeod wrote: > I haven't been able to come up with a scheme that works yet. > With the patch below, I get: > > I'll need someone to explain the intent of the gcc-* pkgs > design or more time to dig though the files and history. > > Robert tells me that m

Re: [OE-core] How to put a correct dependency with regards to gcc?

2015-09-16 Thread Richard Purdie
On Fri, 2015-09-04 at 17:03 +, Reshetova, Elena wrote: > I have a simple problem but not able to come with simple and elegant > solution for it, so would be very thankful for the suggestions. > > I have a task that is specified to run after do_fetch. The task needs > the source to be *actual

Re: [OE-core] [PATCH 3/4] insane.bbclass: fix package_qa_check_buildpaths

2015-09-16 Thread Richard Purdie
On Wed, 2015-09-16 at 21:56 +0800, Robert Yang wrote: > On 09/16/2015 08:38 PM, Richard Purdie wrote: > > On Tue, 2015-09-15 at 19:28 -0700, Robert Yang wrote: > >> * Ignore elf files because they usually contain build path: > >>- The path of the source file such as .c, these are usually happen

Re: [OE-core] [PATCH] recipetool: add 'newappend' sub-command

2015-09-16 Thread Christopher Larson
On Wed, Sep 16, 2015 at 8:21 AM, Paul Eggleton < paul.eggle...@linux.intel.com> wrote: > Hi Chris, > > On Tuesday 15 September 2015 20:57:46 Christopher Larson wrote: > > This sub-command creates a bbappend for the specified target and prints > the > > path to the bbappend. The -w argument, as wit

Re: [OE-core] [PATCH] recipetool: add 'newappend' sub-command

2015-09-16 Thread Paul Eggleton
Hi Chris, On Tuesday 15 September 2015 20:57:46 Christopher Larson wrote: > This sub-command creates a bbappend for the specified target and prints the > path to the bbappend. The -w argument, as with some of the other recipetool > commands, will make a version-independent bbappend. > > Example u

Re: [OE-core] [PATCH] devshell: symlink $TOPDIR to $WORKDIR/topdir

2015-09-16 Thread Christopher Larson
On Tue, Sep 15, 2015 at 3:56 PM, Christopher Larson wrote: > From: Christopher Larson > > It's quite common to need to copy files out of the devshell back to your > layers, but most of the variables referring to such paths are not exported > (and in some cases, should not be, as it'll affect bui

Re: [OE-core] [PATCH 1/3] subversion: 1.8.13 -> 1.8.14 since 1.8.13.tar.gz was gone

2015-09-16 Thread Burton, Ross
On 16 September 2015 at 15:12, Robert Yang wrote: > -SRC_URI = "${APACHE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \ > +SRC_URI = "http://archive.apache.org/dist/${BPN}/${BP}.tar.bz2 \ > Looking at http://www.apache.org/dist/apr/ ($APACHE_MIRROR/apr) it appears that this latest-release-only applies to

[OE-core] [PATCH][dizzy] grep2.19: CVE-2015-1345

2015-09-16 Thread Sona Sarmadi
Fixes heap-based buffer overflow flaw in grep. Affected versions are: grep 2.19 through 2.21 Removed THANKS.in changes from upstream patch since this file does not exist in version 2.19. Replaced tab with spaces in SRC_URI as well. Upstream fix: http://git.sv.gnu.org/cgit/grep.git/commit/?id= 83a

Re: [OE-core] [PATCH 1/3] subversion: 1.8.13 -> 1.8.14 since 1.8.13.tar.gz was gone

2015-09-16 Thread Robert Yang
On 09/16/2015 09:16 PM, Burton, Ross wrote: On 16 September 2015 at 08:52, Robert Yang mailto:liezhi.y...@windriver.com>> wrote: The subversion-1.8.13.tar.bz2 is gone from ftp, so upgrade to 1.8.14. The FTP server only contains the latest release for each release series so if they relea

Re: [OE-core] [PATCH] cryptodev-tests: don't use STAGING_KERNEL_DIR, fix re-packaging in multi-machine builds

2015-09-16 Thread Denys Dmytriyenko
Ping. Any comments? On Wed, Sep 09, 2015 at 06:05:19PM -0400, Denys Dmytriyenko wrote: > From: Denys Dmytriyenko > > Signed-off-by: Denys Dmytriyenko > --- > meta/recipes-kernel/cryptodev/cryptodev-tests_1.6.bb | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta/reci

[OE-core] [PATCH] adwaita-icon-theme: RREPLACE gnome-icon-theme

2015-09-16 Thread Jussi Kukkonen
RREPLACE, RCONFLICT and RPROVIDE gnome-icon-theme to make on-device upgrades work. Signed-off-by: Jussi Kukkonen --- meta/recipes-gnome/gnome/adwaita-icon-theme_3.16.2.1.bb | 4 1 file changed, 4 insertions(+) diff --git a/meta/recipes-gnome/gnome/adwaita-icon-theme_3.16.2.1.bb b/meta/re

Re: [OE-core] [PATCH 3/4] insane.bbclass: fix package_qa_check_buildpaths

2015-09-16 Thread Robert Yang
On 09/16/2015 08:38 PM, Richard Purdie wrote: On Tue, 2015-09-15 at 19:28 -0700, Robert Yang wrote: * Ignore elf files because they usually contain build path: - The path of the source file such as .c, these are usually happen when separate B and S since we use absolute path to run confi

Re: [OE-core] [PATCH 1/3] subversion: 1.8.13 -> 1.8.14 since 1.8.13.tar.gz was gone

2015-09-16 Thread Burton, Ross
On 16 September 2015 at 08:52, Robert Yang wrote: > The subversion-1.8.13.tar.bz2 is gone from ftp, so upgrade to 1.8.14. > The FTP server only contains the latest release for each release series so if they release a 1.8.15 the day after we ship Jethro we'd need to upgrade subversion again. The

Re: [OE-core] [PATCH 3/4] insane.bbclass: fix package_qa_check_buildpaths

2015-09-16 Thread Richard Purdie
On Tue, 2015-09-15 at 19:28 -0700, Robert Yang wrote: > * Ignore elf files because they usually contain build path: > - The path of the source file such as .c, these are usually happen > when separate B and S since we use absolute path to run configure > script, and then VPATH in Makefile

[OE-core] udev + 60-persistent-storage.rules + IDE

2015-09-16 Thread Patrick Ohly
Hello! I just noticed that udev (no longer) creates /dev/disk/by-uuid links for my boot partition under qemu when booting a whole-disk image (hdddirect). The device is then /dev/hda, with /dev/hda2 being the root partition. systemd's 60-persistent-storage.rules indeed skips the relevant rules bec

Re: [OE-core] perf triggering a QA error

2015-09-16 Thread Otavio Salvador
On Wed, Sep 16, 2015 at 1:54 AM, Rongqing Li wrote: > On 2015年09月16日 03:00, Otavio Salvador wrote: >> >> Hello folks, >> >> It seems the commit: > > > try this patch > > http://patchwork.openembedded.org/patch/103239/ Works like a charm. Ross, this one fixes the issue for me. -- Otavio Salvador

Re: [OE-core] [PATCH 1/4] gtk+/cairo: enable x11 or directfb

2015-09-16 Thread Robert Yang
On 09/16/2015 06:25 PM, Jussi Kukkonen wrote: On 16 September 2015 at 05:28, Robert Yang mailto:liezhi.y...@windriver.com>> wrote: > > The gtk+2 requires whether x11 or directfb to build, so we need enable > either of them. The cairo can be built without x11 or directfb, but gtk+ > requires

Re: [OE-core] [PATCH 1/4] gtk+/cairo: enable x11 or directfb

2015-09-16 Thread Jussi Kukkonen
On 16 September 2015 at 05:28, Robert Yang wrote: > > The gtk+2 requires whether x11 or directfb to build, so we need enable > either of them. The cairo can be built without x11 or directfb, but gtk+ > requires cairo, so enable x11 or directfb for cairo, too. What is the issue being fixed here? I

[OE-core] [PATCH 0/2] perf and autotools.bbclass: mkdir ${B} -> mkdir -p ${B}

2015-09-16 Thread Robert Yang
The following changes since commit f0189829498e30231d826c9f55aad73e622d076e: qemu: Update to upstream patches (2015-09-14 11:22:02 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib rbt/mkdir http://cgit.openembedded.org/cgit.cgi/openembedd

[OE-core] [PATCH 1/2] perf: mkdir ${B} -> mkdir -p ${B}

2015-09-16 Thread Robert Yang
${B} is the default cwd of tasks, so there might be race issues such as: | mkdir: cannot create directory `/path/to/work/qemux86-poky-linux/perf/1.0-r9/perf-1.0/': File exists [snip] NOTE: recipe perf-1.0-r9: task do_configure: Failed Signed-off-by: Robert Yang --- meta/recipes-kernel/perf/perf

[OE-core] [PATCH 2/2] autotools.bbclass: mkdir ${B} -> mkdir -p ${B}

2015-09-16 Thread Robert Yang
${B} is the default cwd of tasks, so there might be race issues such as: | mkdir: cannot create directory `${B}': File exists [snip] NOTE: recipe perf-1.0-r9: task do_configure: Failed Signed-off-by: Robert Yang --- meta/classes/autotools.bbclass |2 +- 1 file changed, 1 insertion(+), 1 dele

Re: [OE-core] Multilib build support by single toolchain generated by Yocto

2015-09-16 Thread Luo Zhenhua
Hi Mark, Thanks for your comments. > -Original Message- > From: Mark Hatle [mailto:mark.ha...@windriver.com] > Sent: Tuesday, September 15, 2015 9:05 PM > > On 9/15/15 3:23 AM, Luo Zhenhua wrote: > > > > Currently to support 32b and 64b build for same core in Yocto, two > > separated c

Re: [OE-core] [PATCH][master][fido][dizzy] Revert "perf: fix for rebuilding"

2015-09-16 Thread Robert Yang
On 09/16/2015 04:57 PM, Burton, Ross wrote: On 16 September 2015 at 08:48, Robert Yang mailto:liezhi.y...@windriver.com>> wrote: I've figured out the reason, this is because the task's default cwd is ${B}, the easier way to fix the problem is use mkdir -p rather than mkdir, autoto

Re: [OE-core] [PATCH][master][fido][dizzy] Revert "perf: fix for rebuilding"

2015-09-16 Thread Burton, Ross
On 16 September 2015 at 08:48, Robert Yang wrote: > I've figured out the reason, this is because the task's default cwd > is ${B}, the easier way to fix the problem is use mkdir -p rather than > mkdir, autotools.bbclass also has this problem, but I'd like to fix > exec_func, I will send a patch t

[OE-core] [PATCH 00/14] Proposed Fido changes

2015-09-16 Thread Joshua Lock
Please consider the following changes for the fido branch. The branch has successfully passed an autobuilder run: https://autobuilder.yoctoproject.org/main/builders/nightly/builds/547 The following changes since commit 5a1839ecc9a2191252019ddd5c253098006f5bc3: tzdata: update to 2015d (2015-09

[OE-core] [PATCH 2/3] nspr: fix SRC_URI

2015-09-16 Thread Robert Yang
Fixed: WARNING: Failed to fetch URL ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v4.10.8/src/nspr-4.10.8.tar.gz, attempting MIRRORS if available Its ftp:// doesn't work with wget, but http:// works. Signed-off-by: Robert Yang --- meta/recipes-support/nspr/nspr_4.10.8.bb |2 +- 1 fi

[OE-core] [PATCH 1/3] subversion: 1.8.13 -> 1.8.14 since 1.8.13.tar.gz was gone

2015-09-16 Thread Robert Yang
The subversion-1.8.13.tar.bz2 is gone from ftp, so upgrade to 1.8.14. Signed-off-by: Robert Yang --- .../disable_macos.patch|0 .../libtool2.patch |0 ...erf.m4-Regex-modified-to-allow-D-in-paths.patch |0 .../{subversion_1.

[OE-core] [PATCH 3/3] mkelfimage: fix owner for /usr/sbin/mkelfImage

2015-09-16 Thread Robert Yang
Fixed: packages-split/mkelfimage/usr/sbin/mkelfImage is owned by uid 15220, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated] This is because its Makefile uses cp -a to install mkelfImage. Signed-off-by: Robert Yang --- meta/recipes-

[OE-core] [PATCH 0/3] meta: 3 fixes

2015-09-16 Thread Robert Yang
The following changes since commit f0189829498e30231d826c9f55aad73e622d076e: qemu: Update to upstream patches (2015-09-14 11:22:02 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib rbt/3fixes http://cgit.openembedded.org/cgit.cgi/openembed

Re: [OE-core] [PATCH][master][fido][dizzy] Revert "perf: fix for rebuilding"

2015-09-16 Thread Robert Yang
Hi Martin, I've figured out the reason, this is because the task's default cwd is ${B}, the easier way to fix the problem is use mkdir -p rather than mkdir, autotools.bbclass also has this problem, but I'd like to fix exec_func, I will send a patch to bitbake-devel after more testing. // Robert