Andre McCurdy | 1 Jul 23:41 2016
Picon

[PATCH] libgcc: remove duplicate configure options

The original fix [1] was made redundant by the followup [2].

 [1] http://git.openembedded.org/openembedded-core/commit/?id=d774bb2d10f2c05900f87dcc53f073433ca02121
 [2] http://git.openembedded.org/openembedded-core/commit/?id=d7799a17d5e802db3f8d16bdc824aae81538e675

Signed-off-by: Andre McCurdy <armccurdy@...>
---
 meta/recipes-devtools/gcc/libgcc-common.inc | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/meta/recipes-devtools/gcc/libgcc-common.inc b/meta/recipes-devtools/gcc/libgcc-common.inc
index cb1237c..4e4f0fd 100644
--- a/meta/recipes-devtools/gcc/libgcc-common.inc
+++ b/meta/recipes-devtools/gcc/libgcc-common.inc
 <at>  <at>  -4,13 +4,6  <at>  <at>  require gcc-configure-common.inc

 INHIBIT_DEFAULT_DEPS = "1"

-EXTRA_OECONF += "\
-    ${ <at> get_gcc_mips_plt_setting(bb, d)} \
-    ${ <at> get_gcc_ppc_plt_settings(bb, d)} \
-    ${ <at> get_long_double_setting(bb, d)} \
-    ${ <at> get_gcc_multiarch_setting(bb, d)} \
-"
-
 do_configure () {
 	target=`echo ${TARGET_SYS} | sed -e s#-${SDKPKGSUFFIX}##`
 	install -d ${D}${base_libdir} ${D}${libdir}
--

-- 
1.9.1
(Continue reading)

Christopher Larson | 1 Jul 23:27 2016
Picon
Gravatar

[PATCHv2 0/2] Support template files for wic

From: Christopher Larson <chris_larson@...>

This adds support for .wks.in files as WKS_FILE.

This is a re-send of the RFC PATCH series as a regular PATCH series, to
attempt to get the feature merged. There's a clear value-add, there were no
major objections to the RFC series, and further improvements can be added on
from here.

These files are treated as the contents of a bitbake variable, so usual
bitbake variable references are supported. I considered using another
templating mechanism, for example the one used by yocto-layer, but then we'd
end up largely mapping metadata variables to template fields anyway, which is
a pointless indirection. Let bitbake expand the variables directly instead.

This feature lets us, for example, reference ${APPEND} in --append, and avoid
hardcoding the serial console tty in the wks file, and let the user's changes
to APPEND affect wic the way they do the other image construction mechanisms.

The template is read in and set in a variable at parse time, so changes to the
variables referenced by the template will result in rebuilding the image.

The following changes since commit 646c366c2566bd8dd6f73681cea9f5b021589a56:

  gst-player: upgrade to latest HEAD (2016-06-27 14:08:37 +0100)

are available in the git repository at:

  git://github.com/kergoth/openembedded-core wks.in2
  https://github.com/kergoth/openembedded-core/tree/wks.in2
(Continue reading)

Christopher Larson | 1 Jul 22:49 2016
Picon
Gravatar

[PATCH] service: obey CFLAGS, LDFLAGS

From: Christopher Larson <chris_larson@...>

Signed-off-by: Christopher Larson <chris_larson@...>
---
 meta-skeleton/recipes-skeleton/service/service_0.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-skeleton/recipes-skeleton/service/service_0.1.bb b/meta-skeleton/recipes-skeleton/service/service_0.1.bb
index c5cd7a9..6416618 100644
--- a/meta-skeleton/recipes-skeleton/service/service_0.1.bb
+++ b/meta-skeleton/recipes-skeleton/service/service_0.1.bb
 <at>  <at>  -9,7 +9,7  <at>  <at>  SRC_URI = "file://skeleton \
 	   "

 do_compile () {
-	${CC} ${WORKDIR}/skeleton_test.c -o ${WORKDIR}/skeleton-test
+	${CC} ${CFLAGS} ${LDFLAGS} ${WORKDIR}/skeleton_test.c -o ${WORKDIR}/skeleton-test
 }

 do_install () {
-- 
2.8.0

--

-- 
Christopher Larson | 1 Jul 22:44 2016
Picon
Gravatar

[PATCHv2] gcc-cross: remove --with-linker-hash-style

From: Christopher Larson <chris_larson@...>

We explicitly set the hash style to gnu in our LDFLAGS. Setting the default to
this in the toolchain, while convenient, actually hides bugs, as a failure to
obey LDFLAGS isn't noticed. By removing this, it's not dissimilar to how we
poison the sysroot -- rather than relying on the default, notice right away if
somoeone isn't obeying the needed flags.

This will result in a failure to obey LDFLAGS causing a GNU_HASH QA failure,
which is what's often seen with external toolchains. This brings us all on the
same page, and makes sure a failure to obey LDFLAGS is seen early.

This is limited to cross, to retain ease of use for SDKs.

Signed-off-by: Christopher Larson <chris_larson@...>
---
 meta/recipes-devtools/gcc/gcc-4.9.inc   | 3 ++-
 meta/recipes-devtools/gcc/gcc-5.3.inc   | 3 ++-
 meta/recipes-devtools/gcc/gcc-6.1.inc   | 3 ++-
 meta/recipes-devtools/gcc/gcc-cross.inc | 1 +
 4 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-devtools/gcc/gcc-4.9.inc b/meta/recipes-devtools/gcc/gcc-4.9.inc
index 64701c8..05e02d9 100644
--- a/meta/recipes-devtools/gcc/gcc-4.9.inc
+++ b/meta/recipes-devtools/gcc/gcc-4.9.inc
 <at>  <at>  -107,13 +107,14  <at>  <at>  JAVA = ""

 LTO = "--enable-lto"

(Continue reading)

Christopher Larson | 1 Jul 22:42 2016
Picon
Gravatar

[PATCHv2] buildstats-summary: round the floating point percentage

From: Christopher Larson <chris_larson@...>

This was rounded in python 2, but python 3 changed the default behavior of /.
We could switch to the same behavior as previous by switching to // rather
than /, but there's value in keeping at least one decimal point, to avoid the
misleading case where it says 0% but the reuse is non-zero.

Signed-off-by: Christopher Larson <chris_larson@...>
---
 meta/classes/buildstats-summary.bbclass | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/meta/classes/buildstats-summary.bbclass b/meta/classes/buildstats-summary.bbclass
index d73350b..b86abcc 100644
--- a/meta/classes/buildstats-summary.bbclass
+++ b/meta/classes/buildstats-summary.bbclass
 <at>  <at>  -30,7 +30,11  <at>  <at>  python buildstats_summary () {
                 header_printed = True
                 bb.note("Build completion summary:")

-            bb.note("  {0}: {1}% sstate reuse ({2} setscene, {3} scratch)".format(t,
100*len(sstate)/(len(sstate)+len(no_sstate)), len(sstate), len(no_sstate)))
+            sstate_count = len(sstate)
+            no_sstate_count = len(no_sstate)
+            total_count = sstate_count + no_sstate_count
+            bb.note("  {0}: {1:.1f}% sstate reuse({2} setscene, {3} scratch)".format(
+                t, round(100 * sstate_count / total_count, 1), sstate_count, no_sstate_count))
 }
 addhandler buildstats_summary
 buildstats_summary[eventmask] = "bb.event.BuildCompleted"
(Continue reading)

Christopher Larson | 1 Jul 22:39 2016
Picon
Gravatar

[PATCHv2] buildstats-summary: round the floating point percentage

From: Christopher Larson <chris_larson@...>

This was rounded in python 2, but python 3 changed the default behavior of /.
We could switch to the same behavior as previous by switching to // rather
than /, but there's value in keeping at least one decimal point, to avoid the
misleading case where it says 0% but the reuse is non-zero.

Signed-off-by: Christopher Larson <chris_larson@...>
---
 meta/classes/buildstats-summary.bbclass | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/meta/classes/buildstats-summary.bbclass b/meta/classes/buildstats-summary.bbclass
index d73350b..b86abcc 100644
--- a/meta/classes/buildstats-summary.bbclass
+++ b/meta/classes/buildstats-summary.bbclass
 <at>  <at>  -30,7 +30,11  <at>  <at>  python buildstats_summary () {
                 header_printed = True
                 bb.note("Build completion summary:")

-            bb.note("  {0}: {1}% sstate reuse ({2} setscene, {3} scratch)".format(t,
100*len(sstate)/(len(sstate)+len(no_sstate)), len(sstate), len(no_sstate)))
+            sstate_count = len(sstate)
+            no_sstate_count = len(no_sstate)
+            total_count = sstate_count + no_sstate_count
+            bb.note("  {0}: {1:.1f}% sstate reuse({2} setscene, {3} scratch)".format(
+                t, round(100 * sstate_count / total_count, 1), sstate_count, no_sstate_count))
 }
 addhandler buildstats_summary
 buildstats_summary[eventmask] = "bb.event.BuildCompleted"
(Continue reading)

Joshua Lock | 1 Jul 21:30 2016
Picon

[PATCH 1/2] pseudo: drop recipe for old 1.6.7 version

Signed-off-by: Joshua Lock <joshua.g.lock@...>
---
 meta/recipes-devtools/pseudo/pseudo_1.6.7.bb | 19 -------------------
 1 file changed, 19 deletions(-)
 delete mode 100644 meta/recipes-devtools/pseudo/pseudo_1.6.7.bb

diff --git a/meta/recipes-devtools/pseudo/pseudo_1.6.7.bb b/meta/recipes-devtools/pseudo/pseudo_1.6.7.bb
deleted file mode 100644
index b8c20ad..0000000
--- a/meta/recipes-devtools/pseudo/pseudo_1.6.7.bb
+++ /dev/null
 <at>  <at>  -1,19 +0,0  <at>  <at> 
-require pseudo.inc
-
-SRC_URI = " \
-    http://downloads.yoctoproject.org/releases/pseudo/${BPN}-${PV}.tar.bz2 \
-    file://fallback-passwd \
-    file://fallback-group \
-"
-
-SRC_URI[md5sum] = "4cd39502f9bd0e734dee80e08b28a5f1"
-SRC_URI[sha256sum] = "9f2caca5f1579a376a509cd81a81156fc208650add9f0af275da9e911f18f291"
-
-PSEUDO_EXTRA_OPTS ?= "--enable-force-async --without-passwd-fallback"
-
-do_install_append_class-native () {
-	install -d ${D}${sysconfdir}
-	# The fallback files should never be modified
-	install -m 444 ${WORKDIR}/fallback-passwd ${D}${sysconfdir}/passwd
-	install -m 444 ${WORKDIR}/fallback-group ${D}${sysconfdir}/group
(Continue reading)

Khem Raj | 1 Jul 20:23 2016
Picon
Gravatar

[PATCH] glibc: Upgrade to latest tip of master

Stepping towards 2.24 release

Signed-off-by: Khem Raj <raj.khem@...>
---
 meta/recipes-core/glibc/cross-localedef-native_2.24.bb | 2 +-
 meta/recipes-core/glibc/glibc_2.24.bb                  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-core/glibc/cross-localedef-native_2.24.bb b/meta/recipes-core/glibc/cross-localedef-native_2.24.bb
index 79c3132..c921211 100644
--- a/meta/recipes-core/glibc/cross-localedef-native_2.24.bb
+++ b/meta/recipes-core/glibc/cross-localedef-native_2.24.bb
 <at>  <at>  -22,7 +22,7  <at>  <at>  GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git"
 SRCBRANCH ?= "master"
 UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+(\.\d+)*)"

-SRCREV_glibc ?= "1ac3eaa6bcc473a56340c24511786ff48a91293e"
+SRCREV_glibc ?= "76a0b73e8102c5bfb5cb791e34992472f5d1d33e"
 SRCREV_localedef ?= "29869b6dc11427c5bab839bdb155c85a7c644c71"

 SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \
diff --git a/meta/recipes-core/glibc/glibc_2.24.bb b/meta/recipes-core/glibc/glibc_2.24.bb
index 77630e3..a5e1ad6 100644
--- a/meta/recipes-core/glibc/glibc_2.24.bb
+++ b/meta/recipes-core/glibc/glibc_2.24.bb
 <at>  <at>  -7,7 +7,7  <at>  <at>  LIC_FILES_CHKSUM = "file://LICENSES;md5=e9a558e243b36d3209f380deb394b213 \

 DEPENDS += "gperf-native"

-SRCREV ?= "1ac3eaa6bcc473a56340c24511786ff48a91293e"
(Continue reading)

Ross Burton | 1 Jul 17:59 2016
Picon
Gravatar

[PATCH] lib/oe/path: remove oe.path.check_output

This was a copy-and-paste of subprocess.check_output() from when we supported
Python <2.7, so simply delete it and use subprocess.check_output() instead.

Signed-off-by: Ross Burton <ross.burton@...>
---
 meta/lib/oe/path.py | 49 ++++---------------------------------------------
 1 file changed, 4 insertions(+), 45 deletions(-)

diff --git a/meta/lib/oe/path.py b/meta/lib/oe/path.py
index 413ebfb..dbba60a 100644
--- a/meta/lib/oe/path.py
+++ b/meta/lib/oe/path.py
 <at>  <at>  -66,21 +66,21  <at>  <at>  def copytree(src, dst):

     bb.utils.mkdirhier(dst)
     cmd = 'tar -cf - -C %s -p . | tar -xf - -C %s' % (src, dst)
-    check_output(cmd, shell=True, stderr=subprocess.STDOUT)
+    subprocess.check_output(cmd, shell=True, stderr=subprocess.STDOUT)

 def copyhardlinktree(src, dst):
     """ Make the hard link when possible, otherwise copy. """
     bb.utils.mkdirhier(dst)
     if os.path.isdir(src) and not len(os.listdir(src)):
-        return	
+        return

     if (os.stat(src).st_dev ==  os.stat(dst).st_dev):
         # Need to copy directories only with tar first since cp will error if two 
         # writers try and create a directory at the same time
         cmd = 'cd %s; find . -type d -print | tar -cf - -C %s -p --files-from - --no-recursion | tar -xf - -C %s' % (src,
(Continue reading)

Humberto Ibarra | 1 Jul 17:37 2016
Picon

[PATCH] scripts: Fixed typo in parameter that was causing exception

There is a typo in the logging parameters, "filname" is being used instead of "filename" for yocto-kernel,
yocto-layer and wic scripts. This didn't cause issues before since python 2 didn't validate unused
parameters but with python >= 3.4.3 an exception is thrown. This patch fixes this parameter name.

[YOCTO #9834]
---
 scripts/wic          | 2 +-
 scripts/yocto-kernel | 2 +-
 scripts/yocto-layer  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/scripts/wic b/scripts/wic
index 9023755..fe2c33f 100755
--- a/scripts/wic
+++ b/scripts/wic
 <at>  <at>  -294,7 +294,7  <at>  <at>  subcommands = {

 
 def start_logging(loglevel):
-    logging.basicConfig(filname='wic.log', filemode='w', level=loglevel)
+    logging.basicConfig(filename='wic.log', filemode='w', level=loglevel)

 
 def main(argv):
diff --git a/scripts/yocto-kernel b/scripts/yocto-kernel
index fd97cb7..5c70d0c 100755
--- a/scripts/yocto-kernel
+++ b/scripts/yocto-kernel
 <at>  <at>  -351,7 +351,7  <at>  <at>  subcommands = {

(Continue reading)

Patrick Ohly | 1 Jul 15:53 2016
Picon
Gravatar

[PATCH 0/2] initramfs-framework enhancements

These are two enhancements that we've used for a while now in Ostro OS:
- a retry loop that we found necessary for some slow USB hardware
- finding the root partition by partition UUID (only filesystem UUID
  supported before)

The following changes since commit 646c366c2566bd8dd6f73681cea9f5b021589a56:

  gst-player: upgrade to latest HEAD (2016-06-27 14:08:37 +0100)

are available in the git repository at:

  git://github.com/pohly/openembedded-core initramfs-framework
  https://github.com/pohly/openembedded-core/tree/initramfs-framework

Igor Stoppa (1):
  meta-ostro-fixes: initramfs-framework: Add support for PartUUIDs

Patrick Ohly (1):
  meta-ostro-fixes: initramfs-framework: add retry loop for slow boot
    devices (like USB)

 .../initrdscripts/initramfs-framework/finish       | 33 ------------
 .../initrdscripts/initramfs-framework/rootfs       | 62 ++++++++++++++++++++++
 .../initrdscripts/initramfs-framework_1.0.bb       |  4 +-
 3 files changed, 65 insertions(+), 34 deletions(-)
 create mode 100644 meta/recipes-core/initrdscripts/initramfs-framework/rootfs

--

-- 
2.1.4

(Continue reading)


Gmane