[OE-core] [PATCH 1/2] tzcode-native: update to 2015f

2015-08-10 Thread Armin Kuster
Changes affecting code zdump and zic no longer warn about valid time zone abbreviations like '-05'. Some Visual Studio 2013 warnings have been suppressed. (Thanks to Kees Dekker.) 'date' no longer sets the time of day and its -a, -d, -n and -t options have been removed. Long obsolescent, the im

[OE-core] [PATCH 2/2] tzdata: update to 2015f

2015-08-10 Thread Armin Kuster
Changes affecting future time stamps North Korea switches to +0830 on 2015-08-15. (Thanks to Steffen Thorsen.) The abbreviation remains "KST". (Thanks to Robert Elz.) Uruguay no longer observes DST. (Thanks to Steffen Thorsen and Pablo Camargo.) Changes affecting past and future time stamps

Re: [OE-core] [PATCH] kernel.bbclass: Fix do_shared_workdir task ordering

2015-08-10 Thread Bruce Ashfield
On Mon, Aug 10, 2015 at 11:21 AM, Stefan Müller-Klieser wrote: > commit 02d0a003d60326 [kernel.bbclass: Fix race condition] has surfaced > a bug in the generation of the shared_workdir. The task > do_compile_kernelmodules adds the exported symbols of the kernel modules > to the Module.symvers. By

Re: [OE-core] [PATCH 2/2] base.bbclass/blacklist.bbclass: remove doc item when d.getVarFlags()

2015-08-10 Thread Robert Yang
On 08/11/2015 10:00 AM, Andre McCurdy wrote: On Thu, Jul 30, 2015 at 8:18 AM, Robert Yang wrote: The FOO[doc] is set in meta/conf/documentation.conf, we need remove it from d.getVarFlags()'s return dict when it causes many loops. Signed-off-by: Robert Yang --- meta/classes/base.bbclass

Re: [OE-core] [PATCH] weston: backport a patches to fix the building failure

2015-08-10 Thread Rongqing Li
drop it, since it is duplicate to "weston: improve parallel make race fixes" -Roy On 2015年08月11日 09:14, rongqing...@windriver.com wrote: From: Roy Li Signed-off-by: Roy Li --- ...-target-weston.ini-directories-before-wri.patch | 42 ++ meta/recipes-graphics/wayland/

Re: [OE-core] [PATCH 2/2] base.bbclass/blacklist.bbclass: remove doc item when d.getVarFlags()

2015-08-10 Thread Andre McCurdy
On Thu, Jul 30, 2015 at 8:18 AM, Robert Yang wrote: > The FOO[doc] is set in meta/conf/documentation.conf, we need remove it > from d.getVarFlags()'s return dict when it causes many loops. > > Signed-off-by: Robert Yang > --- > meta/classes/base.bbclass |2 ++ > meta/classes/blacklist.b

[OE-core] [PATCH] attr: narrow fix_symlink to populate_sysroot

2015-08-10 Thread rongqing.li
From: Roy Li fix_symlink will be called many times, like populate_sysroot and populate_lic; which maybe lead to rpm-native building failure, due to the below error: ".../usr/lib/libacl.so: No such file or directory" since after acl/attr finished populate_sysroot task, rpm start to be comp

[OE-core] [PATCH] weston: backport a patches to fix the building failure

2015-08-10 Thread rongqing.li
From: Roy Li Signed-off-by: Roy Li --- ...-target-weston.ini-directories-before-wri.patch | 42 ++ meta/recipes-graphics/wayland/weston_1.8.0.bb | 1 + 2 files changed, 43 insertions(+) create mode 100644 meta/recipes-graphics/wayland/weston/0001-build-mkdir-target-w

Re: [OE-core] gcc 5.2 failures

2015-08-10 Thread Khem Raj
On Mon, Jul 27, 2015 at 2:30 AM, Richard Purdie wrote: > I've run a gcc 5.2 test build on the autobuilder: > > http://errors.yoctoproject.org/Errors/Search/?items=10&query=3628c3c06fa4195003ac655bcc791acfac775173&limit=50 > > 41 errors (with a few more pending). > errors like http://errors.yoctop

Re: [OE-core] [PATCH] security-flags: Disable PIE for coreutils, elfutils, gcc, iptables

2015-08-10 Thread Khem Raj
On Mon, Jul 27, 2015 at 4:26 AM, Richard Purdie wrote: > With gcc 5, we need to disable the PIE flags for more recipes in order > to have successful builds. what error do you see ? > > Signed-off-by: Richard Purdie > > diff --git a/meta/conf/distro/include/security_flags.inc > b/meta/conf/dist

Re: [OE-core] [PATCH] mc: Fix QA warning RDEPENDS of util-linux-libmount

2015-08-10 Thread Andre McCurdy
On Mon, Aug 10, 2015 at 3:07 PM, Aníbal Limón wrote: > mc depends on libmount that uses for try to mount filesystems. > > Signed-off-by: Aníbal Limón > --- > meta/recipes-extended/mc/mc_4.8.14.bb | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta/recipes-extended/mc/mc

[OE-core] [PATCH] mc: Fix QA warning RDEPENDS of util-linux-libmount

2015-08-10 Thread Aníbal Limón
mc depends on libmount that uses for try to mount filesystems. Signed-off-by: Aníbal Limón --- meta/recipes-extended/mc/mc_4.8.14.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-extended/mc/mc_4.8.14.bb b/meta/recipes-extended/mc/mc_4.8.14.bb index 8fec0b3..f

Re: [OE-core] [PATCH v2 1/2] mesa: Provide virtual/libopenvg

2015-08-10 Thread Burton, Ross
On 10 August 2015 at 21:14, Otavio Salvador < otavio.salva...@ossystems.com.br> wrote: > So it does not offer OpenVG support anymore? What about mesa-demos? > mesa-demos hasn't been upgraded for a year (we should probably start tracking the git repo). I've merged the demos fix into MUT. Ross --

Re: [OE-core] [PATCH v2 1/2] mesa: Provide virtual/libopenvg

2015-08-10 Thread Otavio Salvador
On Mon, Aug 10, 2015 at 4:57 PM, Burton, Ross wrote: > > On 10 August 2015 at 20:47, Otavio Salvador wrote: >> >> There are other GPU drivers which provide alternative implementations >> for libopenvg thus a virtual/libopenvg should be available for proper >> dependencies to be specified. > > > A

[OE-core] [PATCH 2/2] local.conf.sample.extended: fix trailing whitespace

2015-08-10 Thread Andre McCurdy
Signed-off-by: Andre McCurdy --- meta/conf/local.conf.sample.extended | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/meta/conf/local.conf.sample.extended b/meta/conf/local.conf.sample.extended index ccdd326..3b840c1 100644 --- a/meta/conf/local.conf.sample.extende

[OE-core] [PATCH 1/2] local.conf.sample: fix trailing whitespace

2015-08-10 Thread Andre McCurdy
Signed-off-by: Andre McCurdy --- meta/conf/local.conf.sample | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/meta/conf/local.conf.sample b/meta/conf/local.conf.sample index 3ae24ab..a398a15 100644 --- a/meta/conf/local.conf.sample +++ b/meta/conf/loc

Re: [OE-core] [PATCH v2 1/2] mesa: Provide virtual/libopenvg

2015-08-10 Thread Burton, Ross
On 10 August 2015 at 20:47, Otavio Salvador wrote: > There are other GPU drivers which provide alternative implementations > for libopenvg thus a virtual/libopenvg should be available for proper > dependencies to be specified. > As of mesa 10.6.x (queued in master-next) OpenVG support was remove

[OE-core] [PATCH v2 1/2] mesa: Provide virtual/libopenvg

2015-08-10 Thread Otavio Salvador
There are other GPU drivers which provide alternative implementations for libopenvg thus a virtual/libopenvg should be available for proper dependencies to be specified. The Freescale i.MX6 is a real world case where the Vivante GPU driver offers an alternative implementation for libopenvg library

[OE-core] [PATCH v2 2/2] mesa-demos: Fix dependency for 'vg' support

2015-08-10 Thread Otavio Salvador
The 'vg' support should depends on virtual/libopenvg. There is no provider for libvg in OE-Core so this option seems untested being safe to change. Signed-off-by: Otavio Salvador --- meta/recipes-graphics/mesa/mesa-demos_8.2.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core] [PATCH] weston: improve parallel make race fixes

2015-08-10 Thread Ross Burton
The original fix is upstream already so mark as a backport, and update the patch with another race fix. Signed-off-by: Ross Burton --- .../wayland/weston/parallelmake.patch | 38 -- 1 file changed, 28 insertions(+), 10 deletions(-) diff --git a/meta/recipes-grap

Re: [OE-core] meta-gplv2? [Was Re: parted_1.8.6.bb: add parted that not GPLv3]

2015-08-10 Thread Philip Balister
On 08/10/2015 02:13 PM, Alexander Kanavin wrote: > On 08/08/2015 08:09 PM, Philip Balister wrote: >>> By 'self-sustaining' I mean 'being able to continuously produce quality >>> work'. Looking at layers in meta-openembedded, not all of them are of >>> high quality. Meta-gnome in particular is badly

[OE-core] [PATCH v2] wpa-supplicant: Fix CVE-2015-4142

2015-08-10 Thread Otavio Salvador
The original commit "wpa-supplicant: Fix CVE-2015-4142" included the patch file but didn't apply it into the recipe, so the backport has not been effective. Reported-by: Adam Moore Signed-off-by: Otavio Salvador --- meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.4.bb | 1 + 1 file ch

Re: [OE-core] [PATCH 2/2] gnu-config: Update git version to latest and use it

2015-08-10 Thread Khem Raj
> On Aug 10, 2015, at 9:22 AM, Burton, Ross wrote: > > > On 7 August 2015 at 21:18, Khem Raj > wrote: > its GPLv3 with autoconf exception but the GPLv2 copy of recipe > is left in as well to not break non-GPLv3 builds > > As the files in this are only used to config

Re: [OE-core] [PATCH] sanity.bbclass: check SSTATE_DIR, DL_DIR and *MIRROR for broken symlinks

2015-08-10 Thread Mikko.Rapeli
On Mon, Aug 10, 2015 at 05:35:27PM +0100, Burton, Ross wrote: > On 10 August 2015 at 09:18, wrote: > > > So currently patch testing and review queues are full. > > > > Should I file bugzilla tickets with links to patches like this or > > are the mailing list contributions tracked via patchwork or

Re: [OE-core] [PATCH] sanity.bbclass: check SSTATE_DIR, DL_DIR and *MIRROR for broken symlinks

2015-08-10 Thread Burton, Ross
On 10 August 2015 at 09:18, wrote: > So currently patch testing and review queues are full. > > Should I file bugzilla tickets with links to patches like this or > are the mailing list contributions tracked via patchwork or something? > > If small changes like this are not getting merged, then I

Re: [OE-core] [PATCH 2/2] gnu-config: Update git version to latest and use it

2015-08-10 Thread Burton, Ross
On 7 August 2015 at 21:18, Khem Raj wrote: > its GPLv3 with autoconf exception but the GPLv2 copy of recipe > is left in as well to not break non-GPLv3 builds > As the files in this are only used to configure the build, could it be whitelisted to allow it to be used in a no-GPLv3 build? Ross --

Re: [OE-core] [PATCH 4/8] blktool: update to 4-7

2015-08-10 Thread Burton, Ross
On 10 August 2015 at 15:23, Alexander Kanavin < alexander.kana...@linux.intel.com> wrote: > PR = "r1" > This can be removed. > +# The three patches below are taken from > ftp://ftp.debian.org/debian/pool/main/b/blktool/blktool_4-7.debian.tar.xz > SRC_URI = > "${DEBIAN_MIRROR}/main/b/blktool/b

Re: [OE-core] [PATCH 6/8] bootchart2: update to 0.14.7

2015-08-10 Thread Burton, Ross
On 10 August 2015 at 17:02, Burton, Ross wrote: > This doesn't apply to master-next, could you rebase please? > Ignore this - it was a trivial merge. Ross -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.ope

Re: [OE-core] [PATCH 6/8] bootchart2: update to 0.14.7

2015-08-10 Thread Burton, Ross
On 10 August 2015 at 15:23, Alexander Kanavin < alexander.kana...@linux.intel.com> wrote: > Drop bootchartd-no-bashism.patch as it's been merged upstream > This doesn't apply to master-next, could you rebase please? Cheers, Ross -- ___ Openembedded-co

Re: [OE-core] [PATCH 2/8] apmd: update to 3.2.2-15

2015-08-10 Thread Burton, Ross
On 10 August 2015 at 15:23, Alexander Kanavin < alexander.kana...@linux.intel.com> wrote: > +++ b/meta/recipes-bsp/apmd/apmd/legacy.patch > Patch needs a header/upstream-status/signed-off-by. Don't bother putting the comment in the recipe, but put that metadata in the patch itself. Ross -- ___

Re: [OE-core] [PATCH 5/8] Extensible SDK: allow for installation without preparing build system

2015-08-10 Thread Christopher Larson
On Sun, Aug 9, 2015 at 8:18 PM, Chen Qi wrote: > When publishing SDK, what we want is basically its metadata and sstate > cache objects. We don't want the SDK to be prepared with running bitbake > as it takes time which reproduces meaningless output for the published SDK. > > So this patch adds a

Re: [OE-core] [PATCH 8/8] devtool: add sdk.py plugin

2015-08-10 Thread Christopher Larson
On Sun, Aug 9, 2015 at 8:18 PM, Chen Qi wrote: > E.g. > devtool sdk-update /mnt/sdk-repo/ > devtool sdk-update http://mysdkhost/sdk > > Signed-off-by: Chen Qi > Shouldn’t there be a description of exactly what the purpose of this is, in the commit message, for those of us not intimately familia

[OE-core] [PATCH] cml1.bbclass: make menuconfig task configurable

2015-08-10 Thread Stefan Müller-Klieser
Menuconfig is sometimes not the most convenient way to configure a kernel, as the default color scheme can be hard to read. This variable gives you access to the MENUCONFIG_COLOR variable or lets you select nconfig, e.g. by setting it in your local.conf: KCONFIG_CONFIG_COMMAND = "MENUCONFIG_COLOR=

[OE-core] [PATCH] kernel.bbclass: Fix do_shared_workdir task ordering

2015-08-10 Thread Stefan Müller-Klieser
commit 02d0a003d60326 [kernel.bbclass: Fix race condition] has surfaced a bug in the generation of the shared_workdir. The task do_compile_kernelmodules adds the exported symbols of the kernel modules to the Module.symvers. By creating the shared_workdir before the modules are compiled, the symbols

[OE-core] [PATCH 8/8] clutter-gst: update to 3.0.8

2015-08-10 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- .../clutter/{clutter-gst-3.0_3.0.6.bb => clutter-gst-3.0_3.0.8.bb}| 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-graphics/clutter/{clutter-gst-3.0_3.0.6.bb => clutter-gst-3.0_3.0.8.bb} (58%) diff --git a/meta/recipes-graph

[OE-core] [PATCH 3/8] apt: update to 1.0.10.1

2015-08-10 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/apt/apt-native_1.0.10.1.bb | 4 meta/recipes-devtools/apt/apt-native_1.0.9.9.bb | 9 - meta/recipes-devtools/apt/apt.inc| 5 - ...01-Revert-always-run-dpkg-

[OE-core] [PATCH 7/8] cdrtools: update to 3.01a31

2015-08-10 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- .../{cdrtools-native_3.01a20.bb => cdrtools-native_3.01a31.bb}| 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/cdrtools/{cdrtools-native_3.01a20.bb => cdrtools-native_3.01a31.bb} (81%) diff --git a/meta/recipes-

[OE-core] [PATCH 0/8] Package version updates

2015-08-10 Thread Alexander Kanavin
This patchset contains a few easy version updates. I skipped recipes that require deep specialist knowledge (for example anything toolchain-related), or those with a big set of custom oe-core patches that would require a long study to understand and update those patches. The following changes si

[OE-core] [PATCH 1/8] autogen: update to 5.18.5

2015-08-10 Thread Alexander Kanavin
Also, drop guile.patch, because the same problem has been fixed differently in the new upstream release. Signed-off-by: Alexander Kanavin --- ...n-native_5.18.4.bb => autogen-native_5.18.5.bb} | 5 +- meta/recipes-devtools/autogen/autogen/guile.patch | 191 - 2 files chang

[OE-core] [PATCH 5/8] bluez5: update to 5.33

2015-08-10 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-connectivity/bluez5/{bluez5_5.32.bb => bluez5_5.33.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-connectivity/bluez5/{bluez5_5.32.bb => bluez5_5.33.bb} (88%) diff --git a/meta/recipes-connectivity/bluez5/blue

[OE-core] [PATCH 6/8] bootchart2: update to 0.14.7

2015-08-10 Thread Alexander Kanavin
Drop bootchartd-no-bashism.patch as it's been merged upstream Signed-off-by: Alexander Kanavin --- .../bootchart2/bootchartd-no-bashism.patch | 27 -- .../{bootchart2_git.bb => bootchart2_0.14.7.bb}| 7 +- 2 files changed, 1 insertion(+), 33 deletions(-) del

[OE-core] [PATCH 4/8] blktool: update to 4-7

2015-08-10 Thread Alexander Kanavin
This means replacing a "-6.1" Debian patch with "-7" patch. Signed-off-by: Alexander Kanavin --- .../blktool/0001-fix-typos-in-manpage.patch| 34 +++ .../blktool/blktool/0002-fix-string-error.patch| 25 ...rgument-for-BLKROSET-it-must-be-const-int.patch | 71

[OE-core] [PATCH 2/8] apmd: update to 3.2.2-15

2015-08-10 Thread Alexander Kanavin
This basically means replacing a "-14" Debian patch with "-15" patch. Signed-off-by: Alexander Kanavin --- .../apmd/{apmd-3.2.2-14 => apmd}/apmd.service | 0 .../apmd/{apmd-3.2.2-14 => apmd}/apmd_proxy| 0 .../apmd/{apmd-3.2.2-14 => apmd}/apmd_proxy.conf | 0 .../apmd/{apmd-

[OE-core] [PATCH v2] sanity.bbclass: check SSTATE_DIR, DL_DIR and *MIRROR for broken symlinks

2015-08-10 Thread Mikko Rapeli
This change makes broken symlinks stand out clearly instead of bitbake failing with odd error messages. Tested locally with broken symlink as SSTATE_DIR, DL_DIR and SSTATE_MIRROR. Change-Id: I2e92702237ab3bdb897d0bdefcf33480aabbc288 Signed-off-by: Mikko Rapeli --- meta/classes/sanity.bbclass | 2

[OE-core] [PATCH v4 0/1] Yocto Bug #6945

2015-08-10 Thread zhe.he
From: He Zhe - Add KERNEL_IMAGETYPES to support building packaging and installing multi types of kernel images, such as zImage uImage, at one time. - KERNEL_IMAGETYPE works as it did. - v2: Update with the latest oe-core - v3: Add KERNEL_IMAGETYPES, leave KERNEL_IMAGETYPE as is - v4: Turn pa

[OE-core] [PATCH v4 1/1] kernel: Add KERNEL_IMAGETYPES to build multi types of kernel at one time

2015-08-10 Thread zhe.he
From: He Zhe Add KERNEL_IMAGETYPES to support building packaging and installing multi types of kernel images, such as zImage uImage, at one time. KERNEL_IMAGETYPE works as it did. Fixes [YOCTO #6945]. Signed-off-by: He Zhe --- meta/classes/kernel-fitimage.bbclass| 21 +++--- meta/classes

Re: [OE-core] [PATCH 2/5] screen: Add version 4.3.1

2015-08-10 Thread Mikko.Rapeli
On Mon, Aug 10, 2015 at 03:08:21PM +0300, Jussi Kukkonen wrote: > The Debian diff in SRC_URI only added a debian/-directory in to the > source tree and did not modify upstream source: So it does nothing. > This commit removes the diff and does _not_ try to apply the 19000 > lines of patches in debi

[OE-core] Improving SRCPV? (was: Re: [PATCH 3/7] gptfdisk: update to 1.0.0)

2015-08-10 Thread Alexander Kanavin
On 08/10/2015 02:29 AM, Richard Purdie wrote: its always preferable to have PV contain SRCPV for recipes using SCM based fetch mechanism. Don’t drop it There has been discussion about this in other threads and the conclusion reached is that where there is a specific version being selected, ha

Re: [OE-core] meta-gplv2? [Was Re: parted_1.8.6.bb: add parted that not GPLv3]

2015-08-10 Thread Alexander Kanavin
On 08/08/2015 08:09 PM, Philip Balister wrote: By 'self-sustaining' I mean 'being able to continuously produce quality work'. Looking at layers in meta-openembedded, not all of them are of high quality. Meta-gnome in particular is badly out of date, because no one wants to maintain it properly. I

[OE-core] [PATCH 5/5] libepoxy: Upgrade 1.2 -> 1.3.1

2015-08-10 Thread Jussi Kukkonen
Signed-off-by: Jussi Kukkonen --- meta/recipes-graphics/libepoxy/libepoxy_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-graphics/libepoxy/libepoxy_git.bb b/meta/recipes-graphics/libepoxy/libepoxy_git.bb index 535af5d..ad17293 100644 --- a/meta/recipe

[OE-core] [PATCH 2/5] screen: Add version 4.3.1

2015-08-10 Thread Jussi Kukkonen
The Debian diff in SRC_URI only added a debian/-directory in to the source tree and did not modify upstream source: So it does nothing. This commit removes the diff and does _not_ try to apply the 19000 lines of patches in debian/patches. Any useful patches should be added separately. * Preserve t

[OE-core] [PATCH 4/5] qmmp: Upgrade 0.8.5 -> 0.8.6

2015-08-10 Thread Jussi Kukkonen
Add a missing runtime dependency. Signed-off-by: Jussi Kukkonen --- meta/recipes-qt/qt-apps/{qmmp_0.8.5.bb => qmmp_0.8.6.bb} | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) rename meta/recipes-qt/qt-apps/{qmmp_0.8.5.bb => qmmp_0.8.6.bb} (93%) diff --git a/meta/recipes-qt/qt-apps/q

[OE-core] [PATCH 1/5] texinfo: Upgrade 5.2 -> 6.0

2015-08-10 Thread Jussi Kukkonen
* Remove texinfo-4.13a-powerpc.patch (already in upstream) * Rebase texinfo-4.12-zlib.patch, dont-depend-on-help2man.patch Signed-off-by: Jussi Kukkonen --- .../texinfo/texinfo/dont-depend-on-help2man.patch | 47 --- .../texinfo/texinfo/texinfo-4.12-zlib.patch| 156 +---

[OE-core] [PATCH 3/5] resolvconf: Upgrade 1.76 -> 1.77

2015-08-10 Thread Jussi Kukkonen
Improve the recipe by using ${DEBIAN_MIRROR} and ${PV} instead of hard coded values. Signed-off-by: Jussi Kukkonen --- .../resolvconf/{resolvconf_1.76.bb => resolvconf_1.77.bb} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename meta/recipes-connectivity/resolvconf/{res

[OE-core] [PATCH 0/5] More recipe version upgrades

2015-08-10 Thread Jussi Kukkonen
The screen upgrade is worth a good look: First of all the new GPLv3 version required quite a bit of build system patching. Also as far as I can tell the existing recipe contains a debian patch which itself contains 40 patches that are never applied to the actual sources. My patch removes this unnec

Re: [OE-core] [PATCH] sanity.bbclass: check SSTATE_DIR, DL_DIR and *MIRROR for broken symlinks

2015-08-10 Thread Mikko.Rapeli
Hi, On Mon, Aug 10, 2015 at 11:10:58AM +0200, Mike Looijmans wrote: > On 10-08-15 10:18, mikko.rap...@bmw.de wrote: > >On Fri, Jul 31, 2015 at 12:00:15PM +0300, Mikko Rapeli wrote: > ... > >>+# Check that path isn't a broken symlink > >>+def check_symlink(lnk): > >>+if os.path.islink(lnk) and

Re: [OE-core] [PATCH] sanity.bbclass: check SSTATE_DIR, DL_DIR and *MIRROR for broken symlinks

2015-08-10 Thread Mike Looijmans
On 10-08-15 10:18, mikko.rap...@bmw.de wrote: On Fri, Jul 31, 2015 at 12:00:15PM +0300, Mikko Rapeli wrote: ... +# Check that path isn't a broken symlink +def check_symlink(lnk): +if os.path.islink(lnk) and not os.path.exists(lnk): + return False +return True - Bad coding style

Re: [OE-core] [PATCH] sanity.bbclass: check SSTATE_DIR, DL_DIR and *MIRROR for broken symlinks

2015-08-10 Thread Mikko.Rapeli
On Fri, Jul 31, 2015 at 12:00:15PM +0300, Mikko Rapeli wrote: > This change makes broken symlinks stand out clearly instead of bitbake > failing with odd error messages. Tested locally with broken symlink > as SSTATE_DIR, DL_DIR and SSTATE_MIRROR.o currently oe-core isn't So currently patch testi