* [PATCH 1/1] bootchart2-native: correct python3 path
From: kai.kang @ 2016-12-21 6:32 UTC (permalink / raw)
To: openembedded-core
In-Reply-To: <cover.1482301919.git.kai.kang@windriver.com>
From: Kai Kang <kai.kang@windriver.com>
Correct python3 path in script pybootchartgui from bootchart2-native.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb b/meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb
index 4f01734..dfd3c09 100644
--- a/meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb
+++ b/meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb
@@ -137,6 +137,10 @@ do_install () {
sed -i -e '1s,#!.*python.*,#!${bindir}/python3,' ${D}${bindir}/pybootchartgui
}
+do_install_append_class-native () {
+ sed -i '1s,#!.*,#!${PYTHON},' ${D}${bindir}/pybootchartgui
+}
+
PACKAGES =+ "pybootchartgui"
FILES_pybootchartgui += "${PYTHON_SITEPACKAGES_DIR}/pybootchartgui ${bindir}/pybootchartgui"
RDEPENDS_pybootchartgui = "python3-pycairo python3-compression python3-image python3-textutils python3-shell python3-compression python3-codecs"
--
2.10.1
^ permalink raw reply related
* [PATCH 0/1] bootchart2-native: correct python3 path
From: kai.kang @ 2016-12-21 6:32 UTC (permalink / raw)
To: openembedded-core
From: Kai Kang <kai.kang@windriver.com>
The following changes since commit 8ccf396c7284acd7e0fdf95473d317d23d05475f:
Revert "selftest/wic: extending test coverage for WIC script options" (2016-12-20 17:06:38 +0000)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib kangkai/bootchart2
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/bootchart2
Kai Kang (1):
bootchart2-native: correct python3 path
meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb | 4 ++++
1 file changed, 4 insertions(+)
--
2.10.1
^ permalink raw reply
* Re: [PATCH 0/1] selftest/bbtests.py: update test_bitbake_g()
From: Robert Yang @ 2016-12-21 6:27 UTC (permalink / raw)
To: Burton, Ross; +Cc: openembedded-core
In-Reply-To: <cover.1481767010.git.liezhi.yang@windriver.com>
Hi Ross,
I rebased in the repo:
git://git.openembedded.org/openembedded-core-contrib rbt/test
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/test
Robert Yang (1):
selftest/bbtests.py: update test_bitbake_g()
// Robert
On 12/15/2016 09:57 AM, Robert Yang wrote:
> The following changes since commit 91f856426c7523e1ebdf6d6f93f5fa7e509d6e49:
>
> oeqa/utils/commands.py: Fix get_bb_vars() when called without arguments (2016-12-14 16:14:59 +0000)
>
> are available in the git repository at:
>
> git://git.openembedded.org/openembedded-core-contrib rbt/test
> http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/test
>
> Robert Yang (1):
> selftest/bbtests.py: update test_bitbake_g()
>
> meta/lib/oeqa/selftest/bbtests.py | 11 ++++++++---
> 1 file changed, 8 insertions(+), 3 deletions(-)
>
^ permalink raw reply
* Re: [PATCH V2 0/6] runqemu: fix for slirp, network device and hostfwd
From: Robert Yang @ 2016-12-21 6:24 UTC (permalink / raw)
To: Burton, Ross; +Cc: openembedded-core
In-Reply-To: <cover.1481014270.git.liezhi.yang@windriver.com>
Hi Ross,
I rebased in the repo:
git://git.openembedded.org/openembedded-core-contrib rbt/runqemu
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/runqemu
Robert Yang (6):
scripts/runqemu: fix checking for <file>.cpio.gz
qemuboot.bbclass: use IMGDEPLOYDIR
runqemu-export-rootfs: fix inconsistent var names
runqemu: support mutiple qemus running when nfs
runqemu: fixes for slirp, network device and hostfwd
qemuboot.bbclass: add blank lines in comments
// Robert
On 12/06/2016 04:55 PM, Robert Yang wrote:
> * V2
> - Add QB_NETWORK_DEVICE to set network device for both slirp and tap,
> the idea is from Randy and Nathan.
> - Use different mac sections for slirp and tap to fix conflicts when
> running both of them on the same host.
>
> * V1
> - Initial version
>
> The following changes since commit 11063a01d4511b2688ea7ba2d7359e4e07328c66:
>
> ruby: upgrade to 2.3.1 (2016-11-30 15:47:17 +0000)
>
> are available in the git repository at:
>
> git://git.openembedded.org/openembedded-core-contrib rbt/runqemu
> http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/runqemu
>
> Robert Yang (6):
> scripts/runqemu: fix checking for <file>.cpio.gz
> qemuboot.bbclass: use IMGDEPLOYDIR
> runqemu-export-rootfs: fix inconsistent var names
> runqemu: support mutiple qemus running when nfs
> runqemu: fixes for slirp, network device and hostfwd
> qemuboot.bbclass: add blank lines in comments
>
> meta/classes/qemuboot.bbclass | 34 ++++++--
> meta/conf/machine/include/qemuboot-x86.inc | 1 -
> meta/conf/machine/qemuarm64.conf | 1 -
> scripts/runqemu | 133 ++++++++++++++++++++++-------
> scripts/runqemu-export-rootfs | 21 ++---
> 5 files changed, 140 insertions(+), 50 deletions(-)
>
^ permalink raw reply
* Re: [PATCH V2 0/8] Fixes for eSDK and testsdkext
From: Robert Yang @ 2016-12-21 6:20 UTC (permalink / raw)
To: Burton, Ross; +Cc: OE-core
In-Reply-To: <CAJTo0LbWYxOFm578U4c=c=Dy0ChF-VehMk3pUB3kAT-puCntFA@mail.gmail.com>
Hi Ross,
I rebased and tested again it in the repo:
git://git.openembedded.org/openembedded-core-contrib rbt/eSDK
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/eSDK
Robert Yang (8):
populate_sdk_ext.bbclass: break the long lines
populate_sdk_ext.bbclass: install multilib SDKs
oeqa/sdkext/devtool.py: remove sources before run test cases
oe-publish-sdk: make cmd easier to read
oe-publish-sdk: add pyshtables.py to .gitignore
oeqa/oetest.py: add hasLockedSig()
oeqa/sdkext/devtool.py: skip a testcase when no libxml2
oe/copy_buildsystem.py: add SDK_LAYERS_EXCLUDE_PATTERN
// Robert
On 12/20/2016 11:41 PM, Burton, Ross wrote:
> This doesn't apply to master since Josh's getVar() changes landed, can you
> please rebase?
>
> Ross
>
> On 14 December 2016 at 07:24, Robert Yang <liezhi.yang@windriver.com
> <mailto:liezhi.yang@windriver.com>> wrote:
>
> * V2
> 1) Fix Paul's comments:
> - Drop "don't reset when the test is failed"
> - Update bug id for "oe-publish-sdk: add pyshtables.py to .gitignore"
> - Split "install multilib targets as populate_sdk does" into 2 commits:
> "break the long lines"
> "install multilib SDKs"
> 2) Use shorter subject lines
>
> * V1
> Initial version
>
> // Robert
>
> The following changes since commit 4e412234c37efec42b3962c11d44903c0c58c92e:
>
> libpcap: Disable exposed bits of WinPCAP remote capture support
> (2016-12-13 22:47:35 +0000)
>
> are available in the git repository at:
>
> git://git.openembedded.org/openembedded-core-contrib
> <http://git.openembedded.org/openembedded-core-contrib> rbt/eSDK
>
> http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/eSDK
> <http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/eSDK>
>
> Robert Yang (8):
> populate_sdk_ext.bbclass: break the long lines
> populate_sdk_ext.bbclass: install multilib SDKs
> oeqa/sdkext/devtool.py: remove sources before run test cases
> oe-publish-sdk: make cmd easier to read
> oe-publish-sdk: add pyshtables.py to .gitignore
> oeqa/oetest.py: add hasLockedSig()
> oeqa/sdkext/devtool.py: skip a testcase when no libxml2
> oe/copy_buildsystem.py: add SDK_LAYERS_EXCLUDE_PATTERN
>
> meta/classes/populate_sdk_ext.bbclass | 63 ++++++++++++++++++++++++-----------
> meta/lib/oe/copy_buildsystem.py | 18 ++++++++++
> meta/lib/oeqa/oetest.py | 13 ++++++++
> meta/lib/oeqa/sdkext/devtool.py | 8 ++++-
> scripts/oe-publish-sdk | 19 +++++++++--
> 5 files changed, 98 insertions(+), 23 deletions(-)
>
> --
> 2.10.2
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> <mailto:Openembedded-core@lists.openembedded.org>
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
> <http://lists.openembedded.org/mailman/listinfo/openembedded-core>
>
>
^ permalink raw reply
* [PATCH 5/5] hdparm: 9.48 -> 9.50
From: Robert Yang @ 2016-12-21 6:17 UTC (permalink / raw)
To: openembedded-core
In-Reply-To: <cover.1482300982.git.liezhi.yang@windriver.com>
Add 0001-Makefile-use-weak-assignment-for-LDFALGS.patch to fix issues like:
ERROR: hdparm-9.50-r0 do_package: QA Issue: File '/sbin/hdparm.hdparm' from hdparm was already stripped, this will prevent future debugging! [already-stripped]
ERROR: hdparm-9.50-r0 do_package: Fatal QA errors found, failing task.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
...-Makefile-use-weak-assignment-for-LDFALGS.patch | 30 ++++++++++++++++++++++
.../hdparm/{hdparm_9.48.bb => hdparm_9.50.bb} | 8 +++---
2 files changed, 35 insertions(+), 3 deletions(-)
create mode 100644 meta/recipes-extended/hdparm/hdparm/0001-Makefile-use-weak-assignment-for-LDFALGS.patch
rename meta/recipes-extended/hdparm/{hdparm_9.48.bb => hdparm_9.50.bb} (80%)
diff --git a/meta/recipes-extended/hdparm/hdparm/0001-Makefile-use-weak-assignment-for-LDFALGS.patch b/meta/recipes-extended/hdparm/hdparm/0001-Makefile-use-weak-assignment-for-LDFALGS.patch
new file mode 100644
index 00000000000..f74da5f18c9
--- /dev/null
+++ b/meta/recipes-extended/hdparm/hdparm/0001-Makefile-use-weak-assignment-for-LDFALGS.patch
@@ -0,0 +1,30 @@
+From 9532fbaade3b08cef936723a6a5adf191881edbf Mon Sep 17 00:00:00 2001
+From: Robert Yang <liezhi.yang@windriver.com>
+Date: Mon, 19 Dec 2016 22:36:16 -0800
+Subject: [PATCH] Makefile: use weak assignment for LDFALGS
+
+So that it can use LDFLAGS from env vars.
+
+Upstream-Status: Pending
+
+Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
+---
+ Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index 05a1f78..60b67d9 100644
+--- a/Makefile
++++ b/Makefile
+@@ -15,7 +15,7 @@ STRIP ?= strip
+
+ CFLAGS := -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs $(CFLAGS)
+
+-LDFLAGS = -s
++LDFLAGS ?= -s
+ #LDFLAGS = -s -static
+ INSTALL = install
+ INSTALL_DATA = $(INSTALL) -m 644
+--
+2.10.2
+
diff --git a/meta/recipes-extended/hdparm/hdparm_9.48.bb b/meta/recipes-extended/hdparm/hdparm_9.50.bb
similarity index 80%
rename from meta/recipes-extended/hdparm/hdparm_9.48.bb
rename to meta/recipes-extended/hdparm/hdparm_9.50.bb
index cd85776cf8f..d1f10027cc9 100644
--- a/meta/recipes-extended/hdparm/hdparm_9.48.bb
+++ b/meta/recipes-extended/hdparm/hdparm_9.50.bb
@@ -20,10 +20,12 @@ FILES_wiper = "${bindir}/wiper.sh"
RDEPENDS_wiper = "bash gawk stat"
-SRC_URI = "${SOURCEFORGE_MIRROR}/hdparm/${BP}.tar.gz "
+SRC_URI = "${SOURCEFORGE_MIRROR}/hdparm/${BP}.tar.gz \
+ file://0001-Makefile-use-weak-assignment-for-LDFALGS.patch \
+"
-SRC_URI[md5sum] = "213efdbe7471fad3408198918e164354"
-SRC_URI[sha256sum] = "ce97b4a71cb04146f54cf6f69787e7f97ddfda9836dc803b459d3b3df3a4fbee"
+SRC_URI[md5sum] = "d380062ad6c4b40076736efbb640f1f5"
+SRC_URI[sha256sum] = "0892b44bd817c251264a24f6ecbbb010958033e0395d2030f25f1c5608ac780e"
EXTRA_OEMAKE = '-e MAKEFLAGS= STRIP="echo"'
--
2.11.0.rc2.dirty
^ permalink raw reply related
* [PATCH 4/5] guile: 2.0.12 -> 2.0.13
From: Robert Yang @ 2016-12-21 6:17 UTC (permalink / raw)
To: openembedded-core
In-Reply-To: <cover.1482300982.git.liezhi.yang@windriver.com>
Remove 0002-Recognize-nios2-as-compilation-target.patch which is already
in the source.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
...002-Recognize-nios2-as-compilation-target.patch | 32 ----------------------
.../guile/{guile_2.0.12.bb => guile_2.0.13.bb} | 5 ++--
2 files changed, 2 insertions(+), 35 deletions(-)
delete mode 100644 meta/recipes-devtools/guile/files/0002-Recognize-nios2-as-compilation-target.patch
rename meta/recipes-devtools/guile/{guile_2.0.12.bb => guile_2.0.13.bb} (95%)
diff --git a/meta/recipes-devtools/guile/files/0002-Recognize-nios2-as-compilation-target.patch b/meta/recipes-devtools/guile/files/0002-Recognize-nios2-as-compilation-target.patch
deleted file mode 100644
index 8e847477043..00000000000
--- a/meta/recipes-devtools/guile/files/0002-Recognize-nios2-as-compilation-target.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 76155065c70b5ab65c6c805423183b360141db84 Mon Sep 17 00:00:00 2001
-From: Marek Vasut <marex@denx.de>
-Date: Thu, 28 Jan 2016 04:46:23 +0100
-Subject: [PATCH] Recognize nios2 as compilation target
-
-Signed-off-by: Marek Vasut <marex@denx.de>
-Upstream-Status: Submitted [ http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22480 ]
----
- module/system/base/target.scm | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/module/system/base/target.scm b/module/system/base/target.scm
---- a/module/system/base/target.scm
-+++ b/module/system/base/target.scm
-@@ -65,7 +65,7 @@
- (cond ((string-match "^i[0-9]86$" cpu)
- (endianness little))
- ((member cpu '("x86_64" "ia64"
-- "powerpcle" "powerpc64le" "mipsel" "mips64el" "sh4"))
-+ "powerpcle" "powerpc64le" "mipsel" "mips64el" "sh4" "nios2"))
- (endianness little))
- ((member cpu '("sparc" "sparc64" "powerpc" "powerpc64" "spu"
- "mips" "mips64" "m68k" "s390x"))
-@@ -108,7 +108,7 @@
-
- ((string-match "64$" cpu) 8)
- ((string-match "64_?[lbe][lbe]$" cpu) 8)
-- ((member cpu '("sparc" "powerpc" "mips" "mipsel" "m68k" "sh4")) 4)
-+ ((member cpu '("sparc" "powerpc" "mips" "mipsel" "m68k" "sh4" "nios2")) 4)
- ((member cpu '("s390x")) 8)
- ((string-match "^arm.*" cpu) 4)
- (else (error "unknown CPU word size" cpu)))))
diff --git a/meta/recipes-devtools/guile/guile_2.0.12.bb b/meta/recipes-devtools/guile/guile_2.0.13.bb
similarity index 95%
rename from meta/recipes-devtools/guile/guile_2.0.12.bb
rename to meta/recipes-devtools/guile/guile_2.0.13.bb
index d2fe511ae40..dd38b479931 100644
--- a/meta/recipes-devtools/guile/guile_2.0.12.bb
+++ b/meta/recipes-devtools/guile/guile_2.0.13.bb
@@ -22,11 +22,10 @@ SRC_URI = "${GNU_MIRROR}/guile/guile-${PV}.tar.xz \
file://arm_aarch64.patch \
file://workaround-ice-ssa-corruption.patch \
file://libguile-Makefile.am-hook.patch \
- file://0002-Recognize-nios2-as-compilation-target.patch \
"
-SRC_URI[md5sum] = "081fdf80cd3a76f260a2a0d87f773d6b"
-SRC_URI[sha256sum] = "de8187736f9b260f2fa776ed39b52cb74dd389ccf7039c042f0606270196b7e9"
+SRC_URI[md5sum] = "d50bbb19672b72aa1e1c96e8f024bf00"
+SRC_URI[sha256sum] = "3744f2addc282a0de627aaef048f062982b44564d54ac31ff5217972529ed88b"
inherit autotools gettext pkgconfig texinfo
BBCLASSEXTEND = "native"
--
2.11.0.rc2.dirty
^ permalink raw reply related
* [PATCH 3/5] quilt: 0.64 -> 0.65
From: Robert Yang @ 2016-12-21 6:17 UTC (permalink / raw)
To: openembedded-core
In-Reply-To: <cover.1482300982.git.liezhi.yang@windriver.com>
* Removed install.patch since it is already in the patch.
* Fix indent for file://test.sh
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
.../quilt/{quilt-native_0.64.bb => quilt-native_0.65.bb} | 0
meta/recipes-devtools/quilt/quilt.inc | 7 +++----
meta/recipes-devtools/quilt/quilt/install.patch | 13 -------------
.../recipes-devtools/quilt/{quilt_0.64.bb => quilt_0.65.bb} | 0
4 files changed, 3 insertions(+), 17 deletions(-)
rename meta/recipes-devtools/quilt/{quilt-native_0.64.bb => quilt-native_0.65.bb} (100%)
delete mode 100644 meta/recipes-devtools/quilt/quilt/install.patch
rename meta/recipes-devtools/quilt/{quilt_0.64.bb => quilt_0.65.bb} (100%)
diff --git a/meta/recipes-devtools/quilt/quilt-native_0.64.bb b/meta/recipes-devtools/quilt/quilt-native_0.65.bb
similarity index 100%
rename from meta/recipes-devtools/quilt/quilt-native_0.64.bb
rename to meta/recipes-devtools/quilt/quilt-native_0.65.bb
diff --git a/meta/recipes-devtools/quilt/quilt.inc b/meta/recipes-devtools/quilt/quilt.inc
index 512b798d735..9cf7bac5eed 100644
--- a/meta/recipes-devtools/quilt/quilt.inc
+++ b/meta/recipes-devtools/quilt/quilt.inc
@@ -5,14 +5,13 @@ LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
SRC_URI = "${SAVANNAH_GNU_MIRROR}/quilt/quilt-${PV}.tar.gz \
- file://install.patch \
file://run-ptest \
file://Makefile \
- file://test.sh \
+ file://test.sh \
"
-SRC_URI[md5sum] = "fc0310db5868a0873d602d4332a76d43"
-SRC_URI[sha256sum] = "c4bfd3282214a288e8d3e921ae4d52e73e24c4fead72b5446752adee99a7affd"
+SRC_URI[md5sum] = "c67ba0228f5b7b8bbe469474661f92d6"
+SRC_URI[sha256sum] = "f6cbc788e5cbbb381a3c6eab5b9efce67c776a8662a7795c7432fd27aa096819"
inherit autotools-brokensep ptest
diff --git a/meta/recipes-devtools/quilt/quilt/install.patch b/meta/recipes-devtools/quilt/quilt/install.patch
deleted file mode 100644
index e2a7af6550e..00000000000
--- a/meta/recipes-devtools/quilt/quilt/install.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Upstream-Status: Pending
-
---- quilt-0.47/Makefile.in 2008-12-31 19:09:13.000000000 +0000
-+++ quilt-0.47/Makefile.in.orig 2008-08-21 13:21:32.000000000 +0100
-@@ -13,7 +13,7 @@
- mandir := @mandir@
- localedir := $(datadir)/locale
- emacsdir := $(datadir)/emacs/site-lisp
--etcdir := $(subst /usr/etc,/etc,$(prefix)/etc)
-+etcdir := @sysconfdir@
-
- INSTALL := @INSTALL@
- POD2MAN := @POD2MAN@
diff --git a/meta/recipes-devtools/quilt/quilt_0.64.bb b/meta/recipes-devtools/quilt/quilt_0.65.bb
similarity index 100%
rename from meta/recipes-devtools/quilt/quilt_0.64.bb
rename to meta/recipes-devtools/quilt/quilt_0.65.bb
--
2.11.0.rc2.dirty
^ permalink raw reply related
* [PATCH 2/5] mklibs-native: 0.1.41 -> 0.1.43
From: Robert Yang @ 2016-12-21 6:17 UTC (permalink / raw)
To: openembedded-core
In-Reply-To: <cover.1482300982.git.liezhi.yang@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
.../mklibs/{mklibs-native_0.1.41.bb => mklibs-native_0.1.43.bb} | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
rename meta/recipes-devtools/mklibs/{mklibs-native_0.1.41.bb => mklibs-native_0.1.43.bb} (71%)
diff --git a/meta/recipes-devtools/mklibs/mklibs-native_0.1.41.bb b/meta/recipes-devtools/mklibs/mklibs-native_0.1.43.bb
similarity index 71%
rename from meta/recipes-devtools/mklibs/mklibs-native_0.1.41.bb
rename to meta/recipes-devtools/mklibs/mklibs-native_0.1.43.bb
index 4cf1a5cfe2b..e2444da36d4 100644
--- a/meta/recipes-devtools/mklibs/mklibs-native_0.1.41.bb
+++ b/meta/recipes-devtools/mklibs/mklibs-native_0.1.43.bb
@@ -6,7 +6,7 @@ LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://debian/copyright;md5=98d31037b13d896e33890738ef01af64"
DEPENDS = "python-native"
-SRC_URI = "http://snapshot.debian.org/archive/debian/20160207T221625Z/pool/main/m/${BPN}/${BPN}_${PV}.tar.xz \
+SRC_URI = "http://snapshot.debian.org/archive/debian-debug/20161123T150725Z/pool/main/m/${BPN}/${BPN}_${PV}.tar.xz \
file://ac_init_fix.patch\
file://fix_STT_GNU_IFUNC.patch\
file://sysrooted-ldso.patch \
@@ -15,9 +15,11 @@ SRC_URI = "http://snapshot.debian.org/archive/debian/20160207T221625Z/pool/main/
file://fix_cross_compile.patch \
"
-SRC_URI[md5sum] = "6b2979876a611717df3d49e7f9cf291d"
-SRC_URI[sha256sum] = "058c7349f8ec8a03b529c546a95cd6426741bd819f1e1211f499273eb4bf5d89"
+SRC_URI[md5sum] = "39b08a173454e5210ab3f598e94179bf"
+SRC_URI[sha256sum] = "6f0cf24ade13fff76e943c003413d85c3e497c984c95c1ecea1c9731ca86f13c"
UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/m/mklibs/"
inherit autotools gettext native pythonnative
+
+S = "${WORKDIR}/${BPN}"
--
2.11.0.rc2.dirty
^ permalink raw reply related
* [PATCH 1/5] debianutils: 4.8 -> 4.8.1
From: Robert Yang @ 2016-12-21 6:17 UTC (permalink / raw)
To: openembedded-core
In-Reply-To: <cover.1482300982.git.liezhi.yang@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
.../debianutils/{debianutils_4.8.bb => debianutils_4.8.1.bb} | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
rename meta/recipes-support/debianutils/{debianutils_4.8.bb => debianutils_4.8.1.bb} (86%)
diff --git a/meta/recipes-support/debianutils/debianutils_4.8.bb b/meta/recipes-support/debianutils/debianutils_4.8.1.bb
similarity index 86%
rename from meta/recipes-support/debianutils/debianutils_4.8.bb
rename to meta/recipes-support/debianutils/debianutils_4.8.1.bb
index d969fd3c9af..54c74e097c0 100644
--- a/meta/recipes-support/debianutils/debianutils_4.8.bb
+++ b/meta/recipes-support/debianutils/debianutils_4.8.1.bb
@@ -3,13 +3,14 @@ SECTION = "base"
LICENSE = "GPLv2 & SMAIL_GPL"
LIC_FILES_CHKSUM = "file://debian/copyright;md5=f01a5203d50512fc4830b4332b696a9f"
-SRC_URI = "http://snapshot.debian.org/archive/debian/20160629T224408Z/pool/main/d/${BPN}/${BPN}_${PV}.tar.xz"
+SRC_URI = "http://snapshot.debian.org/archive/debian/20161118T033019Z/pool/main/d/${BPN}/${BPN}_${PV}.tar.xz"
# the package is taken from snapshots.debian.org; that source is static and goes stale
# so we check the latest upstream from a directory that does get updated
UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/d/${BPN}/"
-SRC_URI[md5sum] = "66a37e5ff17be431319bd0b43e9a46b5"
-SRC_URI[sha256sum] = "afa95bbe6b6fd3ef3c0c838b2d7232f09fabeff593ca4b5583cffa6748567ee2"
+
+SRC_URI[md5sum] = "44083fc66164746880dffd30d62d054b"
+SRC_URI[sha256sum] = "2c395c0bdcfe89de30828b1d25cc5549ded5225a6d3625fbcb2cc0881ef5f026"
inherit autotools update-alternatives
--
2.11.0.rc2.dirty
^ permalink raw reply related
* [PATCH 0/5] Packages Upgrade
From: Robert Yang @ 2016-12-21 6:17 UTC (permalink / raw)
To: openembedded-core
The following changes since commit 5e21afc9395060b489156d3f90505a372b713f37:
Revert "selftest/wic: extending test coverage for WIC script options" (2016-12-20 17:06:01 +0000)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib rbt/pu
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/pu
Robert Yang (5):
debianutils: 4.8 -> 4.8.1
mklibs-native: 0.1.41 -> 0.1.43
quilt: 0.64 -> 0.65
guile: 2.0.12 -> 2.0.13
hdparm: 9.48 -> 9.50
...002-Recognize-nios2-as-compilation-target.patch | 32 ----------------------
.../guile/{guile_2.0.12.bb => guile_2.0.13.bb} | 5 ++--
...bs-native_0.1.41.bb => mklibs-native_0.1.43.bb} | 8 ++++--
.../{quilt-native_0.64.bb => quilt-native_0.65.bb} | 0
meta/recipes-devtools/quilt/quilt.inc | 7 ++---
meta/recipes-devtools/quilt/quilt/install.patch | 13 ---------
.../quilt/{quilt_0.64.bb => quilt_0.65.bb} | 0
...-Makefile-use-weak-assignment-for-LDFALGS.patch | 30 ++++++++++++++++++++
.../hdparm/{hdparm_9.48.bb => hdparm_9.50.bb} | 8 ++++--
.../{debianutils_4.8.bb => debianutils_4.8.1.bb} | 7 +++--
10 files changed, 49 insertions(+), 61 deletions(-)
delete mode 100644 meta/recipes-devtools/guile/files/0002-Recognize-nios2-as-compilation-target.patch
rename meta/recipes-devtools/guile/{guile_2.0.12.bb => guile_2.0.13.bb} (95%)
rename meta/recipes-devtools/mklibs/{mklibs-native_0.1.41.bb => mklibs-native_0.1.43.bb} (71%)
rename meta/recipes-devtools/quilt/{quilt-native_0.64.bb => quilt-native_0.65.bb} (100%)
delete mode 100644 meta/recipes-devtools/quilt/quilt/install.patch
rename meta/recipes-devtools/quilt/{quilt_0.64.bb => quilt_0.65.bb} (100%)
create mode 100644 meta/recipes-extended/hdparm/hdparm/0001-Makefile-use-weak-assignment-for-LDFALGS.patch
rename meta/recipes-extended/hdparm/{hdparm_9.48.bb => hdparm_9.50.bb} (80%)
rename meta/recipes-support/debianutils/{debianutils_4.8.bb => debianutils_4.8.1.bb} (86%)
--
2.11.0.rc2.dirty
^ permalink raw reply
* [PATCH 2/2] opkg-utils: warn if update-alternatives finds priority conflict
From: Chen Qi @ 2016-12-21 4:32 UTC (permalink / raw)
To: openembedded-core
In-Reply-To: <cover.1482294710.git.Qi.Chen@windriver.com>
If multiple providers for a utility have the same alternatives priority,
which one would be chosen is determined by which one is installed later.
Our alternatives system should be able to detect such problem and warn users
so that potential problems could be avoided.
Modify update-alternatives to warn users when detecting multiple providers
with the same priority.
[YOCTO #8314]
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
...rnatives-warn-when-multiple-providers-hav.patch | 26 ++++++++++++++++++++++
meta/recipes-devtools/opkg-utils/opkg-utils_git.bb | 3 ++-
2 files changed, 28 insertions(+), 1 deletion(-)
create mode 100644 meta/recipes-devtools/opkg-utils/opkg-utils/0001-update-alternatives-warn-when-multiple-providers-hav.patch
diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils/0001-update-alternatives-warn-when-multiple-providers-hav.patch b/meta/recipes-devtools/opkg-utils/opkg-utils/0001-update-alternatives-warn-when-multiple-providers-hav.patch
new file mode 100644
index 0000000..afce1e1
--- /dev/null
+++ b/meta/recipes-devtools/opkg-utils/opkg-utils/0001-update-alternatives-warn-when-multiple-providers-hav.patch
@@ -0,0 +1,26 @@
+Subject: update-alternatives: warn when multiple providers have the same priority
+
+Upstream-Status: Pending
+
+Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
+---
+ update-alternatives | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/update-alternatives b/update-alternatives
+index ca01d5d..ffad853 100644
+--- a/update-alternatives
++++ b/update-alternatives
+@@ -90,6 +90,9 @@ add_alt() {
+ local path="$2"
+ local priority="$3"
+ remove_alt $name $path
++ if grep -qw "$priority" $ad/$name; then
++ echo "Warn: update-alternatives: $name has multiple providers with the same priority, please check $ad/$name for details"
++ fi
+ echo "$path $priority" >> $ad/$name
+ }
+
+--
+2.8.3
+
diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
index 19a852e..7b01bfc 100644
--- a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
+++ b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
@@ -10,7 +10,8 @@ PROVIDES += "${@bb.utils.contains('PACKAGECONFIG', 'update-alternatives', 'virtu
SRCREV = "3ffece9bf19a844edacc563aa092fd1fbfcffeee"
PV = "0.3.2+git${SRCPV}"
-SRC_URI = "git://git.yoctoproject.org/opkg-utils"
+SRC_URI = "git://git.yoctoproject.org/opkg-utils \
+ file://0001-update-alternatives-warn-when-multiple-providers-hav.patch"
SRC_URI_append_class-native = " file://tar_ignore_error.patch"
S = "${WORKDIR}/git"
--
1.9.1
^ permalink raw reply related
* [PATCH 1/2] package_manager: default to have scriptlet output captured in log
From: Chen Qi @ 2016-12-21 4:32 UTC (permalink / raw)
To: openembedded-core
In-Reply-To: <cover.1482294710.git.Qi.Chen@windriver.com>
We need to have scriptlet output captured in log. If we don't do so,
some useful information from scriptlets (especially postinstall script)
would be missing. In case a script has a warning message but it does not
necessarily have to fail, the message should be captured.
Opkg has already done that. Change for rpm and dpkg so that scriptlet
output is captured and no warning message is missing.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
meta/lib/oe/package_manager.py | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index e557473..6892106 100644
--- a/meta/lib/oe/package_manager.py
+++ b/meta/lib/oe/package_manager.py
@@ -669,11 +669,11 @@ class RpmPM(PackageManager):
self.install_dir_path = os.path.join(self.target_rootfs, self.install_dir_name)
self.rpm_cmd = bb.utils.which(os.getenv('PATH'), "rpm")
self.smart_cmd = bb.utils.which(os.getenv('PATH'), "smart")
- # 0 = default, only warnings
- # 1 = --log-level=info (includes information about executing scriptlets and their output)
+ # 0 = --log-level=warning, only warnings
+ # 1 = --log-level=info (includes information about executing scriptlets and their output), default
# 2 = --log-level=debug
# 3 = --log-level=debug plus dumps of scriplet content and command invocation
- self.debug_level = int(d.getVar('ROOTFS_RPM_DEBUG') or "0")
+ self.debug_level = int(d.getVar('ROOTFS_RPM_DEBUG') or "1")
self.smart_opt = ["--log-level=%s" %
("warning" if self.debug_level == 0 else
"info" if self.debug_level == 1 else
@@ -2025,7 +2025,8 @@ class DpkgPM(OpkgDpkgPM):
bb.note("Executing %s for package: %s ..." %
(control_script.name.lower(), pkg_name))
subprocess.check_output([p_full, control_script.argument],
- stderr=subprocess.STDOUT)
+ stderr=subprocess.STDOUT).decode("utf-8")
+ bb.note(output)
except subprocess.CalledProcessError as e:
bb.note("%s for package %s failed with %d:\n%s" %
(control_script.name, pkg_name, e.returncode,
--
1.9.1
^ permalink raw reply related
* [PATCH 0/2] warn when ALTERNATIVE_PRIORITY are the same
From: Chen Qi @ 2016-12-21 4:32 UTC (permalink / raw)
To: openembedded-core
The following changes since commit 5e21afc9395060b489156d3f90505a372b713f37:
Revert "selftest/wic: extending test coverage for WIC script options" (2016-12-20 17:06:01 +0000)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib ChenQi/BUG8314
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/BUG8314
Chen Qi (2):
package_manager: default to have scriptlet output captured in log
opkg-utils: warn if update-alternatives finds priority conflict
meta/lib/oe/package_manager.py | 9 ++++----
...rnatives-warn-when-multiple-providers-hav.patch | 26 ++++++++++++++++++++++
meta/recipes-devtools/opkg-utils/opkg-utils_git.bb | 3 ++-
3 files changed, 33 insertions(+), 5 deletions(-)
create mode 100644 meta/recipes-devtools/opkg-utils/opkg-utils/0001-update-alternatives-warn-when-multiple-providers-hav.patch
--
1.9.1
^ permalink raw reply
* Re: bug with dpkg-native and sstate-cache mirrors
From: Anders Oleson @ 2016-12-21 3:45 UTC (permalink / raw)
To: openembedded-core
In-Reply-To: <CAKTo2Em1Lcs19L0M=WpGOJv3aQkQLJuetFsgm6nq_0sVix1X3A@mail.gmail.com>
Should I open a bug report for this?
Does this make sense and does it sound like a problem?
Are you interested in a patch or fixes? I see some activity with dpkg,
so I know there's a maintainer out there?
On Fri, Dec 16, 2016 at 11:31 AM, Anders Oleson <anders@openpuma.org> wrote:
> I originally posted this here:
> https://lists.yoctoproject.org/pipermail/yocto/2016-December/033542.html.
> Apologies, I did not know to report OE core issues here.
>
> Also, following Jussi's advice I started reading the submission
> guidelines and I posted the patch to dpkg itself to their list to see
> if it was something that could be upstreamed. Led to a good discussion
> here: https://lists.debian.org/debian-dpkg/2016/12/msg00013.html.
> While this was an expedient way to fix my problem, it probably isn't
> the best way forward as a real change to dpkg. They have offered to
> look at submissions to fix what I think is the true root cause - the
> non-override-able, hard-coded CONFIGDIR.
>
> Problem description:
> 1. user "joe" clones the build repo, ex. poky from Yocto and builds
> everything, ex. core-system-minimal completely clean build from
> scratch. The local.conf is set to use package_deb for our system.
> 2. "joe" is the build master and then publishes the resultant
> "sstate-cache" in a shared directory to be used as a mirror for the
> other users. Makes the sstate-cache-mirror directory read-only, etc.
> 3. "joe" deletes the build directory creates a new one and tests the
> build in a new directory which works fine and runs quickly using the
> sstate-cache-mirror.
> 3. user "bob" clones a similar revision and builds using the
> SSTATE_MIRROR pointing at the mirror.
> 4. During "do_rootfs" dpkg (dpkg-native) fails with the message:
> dpkg: error: error opening configuration directory
> '/home/net/joe/work/sysgen-mrp/build/tmp/sysroots/x86_64-linux/etc/dpkg/dpkg.cfg.d':
> Permission denied
> E: Sub-process dpkg returned an error code (2)
>
> What happened is that in dpkg-native, the CONFIGDIR is compiled in and
> hard-coded to the failing path. dpkg does not currently have a way to
> override this at runtime in the same way as --instdir and --admindir.
> So dpkg is still looking for config files user "joes" directory which
> may:
> - have wrong permissions
> - be missing or parent dirs missing
> - contain malicious garbage because "joe" wants to screw with "bob" :)
> - any/all of the above (we had a combination)
>
> Normally /etc/dpkg/dpkg.d is empty for the native sysroot, so our
> quick fix was to modify dpkg to just ignore ANY error reading that
> directory and pretend it was empty (which for Yocto builds it was
> anyway). This was preferable to removing the whole package from the
> SSTATE_MIRROR to force rebuilds in each work directory. See the patch
> I posted to the Yocto list linked above. Debian dpkg developers don't
> want to remove those checks and that seems advisable.
>
> So that leaves two options that I can see (is there an easier/better fix?):
> - we can carry a patch to dpkg-native similar to what I posted. For
> Yocto/OE it probably is good enough, at least if we limit it to
> dpkg-native
> - add something like a --configdir command line switch to dpkg so that
> we can point it toward the proper sysroot rather than use the compiled
> in default
>
> I'd actually prefer the second option because, for one thing, it would
> eliminate the baked in paths that contain user names, etc. I'd suggest
> that if we pass in --configdir we should configure/compile dpkg-native
> with the default paths pointing to neutral, constant, invalid paths to
> avoid leaking build specific information into sstate and to catch
> errors.
>
> Does this sound like I'm on the right track or like something that
> could be included? I'd like to fix this so that it doesn't sneak up on
> someone else.
>
> I'm willing to take a hack at it and test it in the scenario where
> this bit us. It would involve steps:
> 1. develop a patch to dpkg to add the option
> 2. develop a patch for OE to change the configure for dpkg-native
> 3. a patch for OE to pass --configdir to dpkg in all the right places.
> I could use help to insure I find them all.
>
> Thanks,
>
> Anders
>
> error log below:
> ----------------------
> ERROR: system-image-1.0-r0 do_rootfs: Unable to install packages.
> Command '/home/local/MrProductName/mrp-system/build/tmp/sysroots/x86_64-linux/usr/bin/apt-get
> install --force-yes --allow-unauthenticated bash run-postinsts
> packagegroup-core-eclipse-debug mrp-ofp dosfstools apt e2fsprogs dpkg
> packagegroup-core-boot' returned 100:
> Reading package lists...
> Building dependency tree...
> The following extra packages will be installed:
> base-files base-passwd busybox busybox-hwclock busybox-syslog busybox-udhcpc
> ca-certificates debianutils debianutils-run-parts e2fsprogs-badblocks
> e2fsprogs-e2fsck e2fsprogs-mke2fs eudev gdbserver init-ifupdown initscripts
> initscripts-functions kernel-4.4.26-yocto-standard kernel-module-uvesafb
> libblkid1 libbz2-1 libc6 libc6-thread-db libcom-err2 libcrypto1.0.0 libcurl4
> libe2p2 libext2fs2 libgcc1 libgmp10 libgnutls30 libidn11 libkmod2 liblzma5
> libperl5 libss2 libssl1.0.0 libstdc++6 libtinfo5 libuuid1 libz1
> modutils-initscripts ncurses-terminfo-base netbase nettle
> openssh-sftp-server openssl-conf perl sysvinit sysvinit-inittab
> sysvinit-pidof tcf-agent udev-cache update-alternatives-opkg update-rc.d
> v86d xz
> Suggested packages:
> ncurses-terminfo
> The following NEW packages will be installed:
> apt mrp-ofp base-files base-passwd bash busybox busybox-hwclock
> busybox-syslog busybox-udhcpc ca-certificates debianutils
> debianutils-run-parts dosfstools dpkg e2fsprogs e2fsprogs-badblocks
> e2fsprogs-e2fsck e2fsprogs-mke2fs eudev gdbserver init-ifupdown initscripts
> initscripts-functions kernel-4.4.26-yocto-standard kernel-module-uvesafb
> libblkid1 libbz2-1 libc6 libc6-thread-db libcom-err2 libcrypto1.0.0 libcurl4
> libe2p2 libext2fs2 libgcc1 libgmp10 libgnutls30 libidn11 libkmod2 liblzma5
> libperl5 libss2 libssl1.0.0 libstdc++6 libtinfo5 libuuid1 libz1
> modutils-initscripts ncurses-terminfo-base netbase nettle
> openssh-sftp-server openssl-conf packagegroup-core-boot
> packagegroup-core-eclipse-debug perl run-postinsts sysvinit sysvinit-inittab
> sysvinit-pidof tcf-agent udev-cache update-alternatives-opkg update-rc.d
> v86d xz
> 0 upgraded, 66 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0 B/7850 kB of archives.
> After this operation, 0 B of additional disk space will be used.
> WARNING: The following packages cannot be authenticated!
> libc6 libgcc1 libstdc++6 liblzma5 libz1 libgmp10 nettle libidn11 libgnutls30
> libcurl4 update-alternatives-opkg libtinfo5 base-files bash run-postinsts
> libperl5 perl xz libbz2-1 dpkg debianutils-run-parts debianutils apt mrp-ofp
> base-passwd busybox busybox-hwclock busybox-syslog busybox-udhcpc
> ca-certificates dosfstools libcom-err2 libss2 libuuid1 libblkid1 libe2p2
> libext2fs2 e2fsprogs-badblocks e2fsprogs e2fsprogs-e2fsck e2fsprogs-mke2fs
> libkmod2 eudev gdbserver netbase init-ifupdown initscripts-functions
> initscripts kernel-4.4.26-yocto-standard kernel-module-uvesafb
> libc6-thread-db libcrypto1.0.0 libssl1.0.0 modutils-initscripts
> ncurses-terminfo-base openssh-sftp-server openssl-conf v86d sysvinit-pidof
> sysvinit-inittab sysvinit packagegroup-core-boot tcf-agent
> packagegroup-core-eclipse-debug udev-cache update-rc.d
> Authentication warning overridden.
> dpkg: error: error opening configuration directory
> '/home/net/joe/work/sysgen-mrp/build/tmp/sysroots/x86_64-linux/etc/dpkg/dpkg.cfg.d':
> Permission denied
> E: Sub-process dpkg returned an error code (2)
>
> ERROR: system-image-1.0-r0 do_rootfs: Function failed: do_rootfs
> ERROR: Logfile of failure stored in:
> /home/local/MrProductName/mrp-system/build/tmp/work/qemux86-hbdc-linux/system-image/1.0-r0/temp/log.do_rootfs.31848
> ERROR: Task 9 (/home/local/MrProductName/mrp-system/poky/../meta-system/recipes-core/images/system-image.bb,
> do_rootfs) failed with exit code '1'
^ permalink raw reply
* [PATCH] file: 5.28 -> 5.29
From: Huang Qiyu @ 2016-12-21 10:37 UTC (permalink / raw)
To: openembedded-core
Upgrade file from 5.28 to 5.29.
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
---
meta/recipes-devtools/file/{file_5.28.bb => file_5.29.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-devtools/file/{file_5.28.bb => file_5.29.bb} (96%)
diff --git a/meta/recipes-devtools/file/file_5.28.bb b/meta/recipes-devtools/file/file_5.29.bb
similarity index 96%
rename from meta/recipes-devtools/file/file_5.28.bb
rename to meta/recipes-devtools/file/file_5.29.bb
index e64a89c..29af874 100644
--- a/meta/recipes-devtools/file/file_5.28.bb
+++ b/meta/recipes-devtools/file/file_5.29.bb
@@ -19,7 +19,7 @@ SRC_URI = "git://github.com/file/file.git \
file://0001-Add-P-prompt-into-Usage-info.patch \
"
-SRCREV = "3c521817322a6bf5160cfeb09b9145ccde587b2a"
+SRCREV = "015b0cdce1a0abb68ab99510e7fc8d2f77e8ec77"
S = "${WORKDIR}/git"
inherit autotools
--
2.7.4
^ permalink raw reply related
* Re: [PATCH V2 0/8] Fixes for eSDK and testsdkext
From: Robert Yang @ 2016-12-21 1:48 UTC (permalink / raw)
To: akuster808, Burton, Ross; +Cc: OE-core
In-Reply-To: <15e9ceff-a480-1cb4-1375-58cbbb2258d1@gmail.com>
On 12/21/2016 09:41 AM, akuster808 wrote:
>
>
> On 12/20/2016 07:41 AM, Burton, Ross wrote:
>> This doesn't apply to master since Josh's getVar() changes landed, can you
>> please rebase?
>
> Would this appropriate for Morty in its current version?
Hi Armin,
These patches should be considered as enhancement (support multilib + eSDK),
I'm leaning to not backport to morty.
// Robert
> - Armin
>>
>> Ross
>>
>> On 14 December 2016 at 07:24, Robert Yang <liezhi.yang@windriver.com
>> <mailto:liezhi.yang@windriver.com>> wrote:
>>
>> * V2
>> 1) Fix Paul's comments:
>> - Drop "don't reset when the test is failed"
>> - Update bug id for "oe-publish-sdk: add pyshtables.py to .gitignore"
>> - Split "install multilib targets as populate_sdk does" into 2 commits:
>> "break the long lines"
>> "install multilib SDKs"
>> 2) Use shorter subject lines
>>
>> * V1
>> Initial version
>>
>> // Robert
>>
>> The following changes since commit 4e412234c37efec42b3962c11d44903c0c58c92e:
>>
>> libpcap: Disable exposed bits of WinPCAP remote capture support
>> (2016-12-13 22:47:35 +0000)
>>
>> are available in the git repository at:
>>
>> git://git.openembedded.org/openembedded-core-contrib
>> <http://git.openembedded.org/openembedded-core-contrib> rbt/eSDK
>>
>> http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/eSDK
>> <http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/eSDK>
>>
>> Robert Yang (8):
>> populate_sdk_ext.bbclass: break the long lines
>> populate_sdk_ext.bbclass: install multilib SDKs
>> oeqa/sdkext/devtool.py: remove sources before run test cases
>> oe-publish-sdk: make cmd easier to read
>> oe-publish-sdk: add pyshtables.py to .gitignore
>> oeqa/oetest.py: add hasLockedSig()
>> oeqa/sdkext/devtool.py: skip a testcase when no libxml2
>> oe/copy_buildsystem.py: add SDK_LAYERS_EXCLUDE_PATTERN
>>
>> meta/classes/populate_sdk_ext.bbclass | 63
>> ++++++++++++++++++++++++-----------
>> meta/lib/oe/copy_buildsystem.py | 18 ++++++++++
>> meta/lib/oeqa/oetest.py | 13 ++++++++
>> meta/lib/oeqa/sdkext/devtool.py | 8 ++++-
>> scripts/oe-publish-sdk | 19 +++++++++--
>> 5 files changed, 98 insertions(+), 23 deletions(-)
>>
>> --
>> 2.10.2
>>
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> <mailto:Openembedded-core@lists.openembedded.org>
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>> <http://lists.openembedded.org/mailman/listinfo/openembedded-core>
>>
>>
>>
>>
>
^ permalink raw reply
* Re: [PATCH V2 0/8] Fixes for eSDK and testsdkext
From: akuster808 @ 2016-12-21 1:41 UTC (permalink / raw)
To: Burton, Ross, Robert Yang; +Cc: OE-core
In-Reply-To: <CAJTo0LbWYxOFm578U4c=c=Dy0ChF-VehMk3pUB3kAT-puCntFA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2659 bytes --]
On 12/20/2016 07:41 AM, Burton, Ross wrote:
> This doesn't apply to master since Josh's getVar() changes landed, can
> you please rebase?
Would this appropriate for Morty in its current version?
- Armin
>
> Ross
>
> On 14 December 2016 at 07:24, Robert Yang <liezhi.yang@windriver.com
> <mailto:liezhi.yang@windriver.com>> wrote:
>
> * V2
> 1) Fix Paul's comments:
> - Drop "don't reset when the test is failed"
> - Update bug id for "oe-publish-sdk: add pyshtables.py to
> .gitignore"
> - Split "install multilib targets as populate_sdk does" into
> 2 commits:
> "break the long lines"
> "install multilib SDKs"
> 2) Use shorter subject lines
>
> * V1
> Initial version
>
> // Robert
>
> The following changes since commit
> 4e412234c37efec42b3962c11d44903c0c58c92e:
>
> libpcap: Disable exposed bits of WinPCAP remote capture support
> (2016-12-13 22:47:35 +0000)
>
> are available in the git repository at:
>
> git://git.openembedded.org/openembedded-core-contrib
> <http://git.openembedded.org/openembedded-core-contrib> rbt/eSDK
> http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/eSDK
> <http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/eSDK>
>
> Robert Yang (8):
> populate_sdk_ext.bbclass: break the long lines
> populate_sdk_ext.bbclass: install multilib SDKs
> oeqa/sdkext/devtool.py: remove sources before run test cases
> oe-publish-sdk: make cmd easier to read
> oe-publish-sdk: add pyshtables.py to .gitignore
> oeqa/oetest.py: add hasLockedSig()
> oeqa/sdkext/devtool.py: skip a testcase when no libxml2
> oe/copy_buildsystem.py: add SDK_LAYERS_EXCLUDE_PATTERN
>
> meta/classes/populate_sdk_ext.bbclass | 63
> ++++++++++++++++++++++++-----------
> meta/lib/oe/copy_buildsystem.py | 18 ++++++++++
> meta/lib/oeqa/oetest.py | 13 ++++++++
> meta/lib/oeqa/sdkext/devtool.py | 8 ++++-
> scripts/oe-publish-sdk | 19 +++++++++--
> 5 files changed, 98 insertions(+), 23 deletions(-)
>
> --
> 2.10.2
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> <mailto:Openembedded-core@lists.openembedded.org>
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
> <http://lists.openembedded.org/mailman/listinfo/openembedded-core>
>
>
>
>
[-- Attachment #2: Type: text/html, Size: 4827 bytes --]
^ permalink raw reply
* Re: [PATCH 2/3] libxml2: fix CVE-2016-4658 Disallow namespace nodes in XPointer points and ranges
From: akuster808 @ 2016-12-21 1:38 UTC (permalink / raw)
To: Ahsan, Noor, Burton, Ross
Cc: Andrej Valek, Larson, Chris,
openembedded-core@lists.openembedded.org
In-Reply-To: <0e43b6ba2a2f48a4aac664939ffd027a@svr-ies-mbx-01.mgc.mentorg.com>
[-- Attachment #1: Type: text/plain, Size: 904 bytes --]
On 12/20/2016 01:06 AM, Ahsan, Noor wrote:
>
> Armin Kuster,
>
> Can you merge this on morty branch?
>
yep. its sitting in my stagging.
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=akuster/morty-next&id=ef5b3d9a69b6a807abb6b3e997128d484728e9ed
-armin
> Noor
>
> *From:*Burton, Ross [mailto:ross.burton@intel.com]
> *Sent:* Friday, December 16, 2016 12:33 AM
> *To:* Ahsan, Noor <Noor_Ahsan@mentor.com>
> *Cc:* Andrej Valek <andrej.valek@siemens.com>;
> openembedded-core@lists.openembedded.org
> *Subject:* Re: [OE-core] [PATCH 2/3] libxml2: fix CVE-2016-4658
> Disallow namespace nodes in XPointer points and ranges
>
> On 15 December 2016 at 19:05, Ahsan, Noor <Noor_Ahsan@mentor.com
> <mailto:Noor_Ahsan@mentor.com>> wrote:
>
> Can we merge this on morty branch as well?
>
>
> Yes, if you ping the morty maintainer.
>
> Ross
>
>
>
[-- Attachment #2: Type: text/html, Size: 5688 bytes --]
^ permalink raw reply
* Re: [PATCH v2 0/4] selftest/wic: extending test coverage for WIC script options
From: Jair Gonzalez @ 2016-12-20 22:04 UTC (permalink / raw)
To: ed.bartosh; +Cc: openembedded-core
In-Reply-To: <20161220130651.GA16237@linux.intel.com>
> -----Original Message-----
> From: Ed Bartosh [mailto:ed.bartosh@linux.intel.com]
> Sent: Tuesday, December 20, 2016 7:07 AM
> To: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia@linux.intel.com>
> Cc: openembedded-core@lists.openembedded.org
> Subject: Re: [OE-core] [PATCH v2 0/4] selftest/wic: extending test
coverage
> for WIC script options
>
> On Mon, Dec 19, 2016 at 03:07:30PM -0600, Jair Gonzalez wrote:
> > Changed in V2:
> >
> > The original patch was splitted and updated according to the
discussion on:
> > http://lists.openembedded.org/pipermail/openembedded-core/2016-
> Decembe
> > r/130131.html
> > NOTE: The WKS_FILE entry deletion was ommitted from this patch set as
> > it was introduced on the first patch by mistake.
> >
> > The following changes since commit
> 573c646d4cc62dcd0c230381df4940bdf314d495:
> >
> > bitbake: BBHandler: use with instead of open/close (2016-12-16
> > 10:23:24 +0000)
> >
> > are available in the git repository at:
> >
> > git://git.yoctoproject.org/poky-contrib jairglez/wictest
> >
> > http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=jairglez/wict
> > est
> >
> > Jair Gonzalez (4):
> > selftest/wic: adding Testopia ID numbers to test cases missing it
> > selftest/wic: code cleanup
> > selftest/wic: reorganizing test methods by functionality
> > selftest/wic: extending test coverage for WIC script options
> >
> > meta/lib/oeqa/selftest/wic.py | 370
> > +++++++++++++++++++++++++++---------------
> > 1 file changed, 238 insertions(+), 132 deletions(-)
> >
>
> Thank you for the updated patchset!
> It looks good to me.
>
> BTW, did you measure its impact on the test run time?
>
> --
> Regards,
> Ed
Hi Ed,
Thanks. Regarding the impact, I tested it on my local machine after cleaning
the cache, sstate-cache, downloads and tmp directories, and the difference
between them was about 130 seconds after I applied my commits:
Before:
Ran 28 tests in 4446.939s
After:
Ran 39 tests in 4578.604s
Difference:
131.665s
I also tried with a source repository with existing cache and the difference
was about 70 seconds:
Before:
Ran 28 tests in 272.170s
After:
Ran 39 tests in 339.637s
Difference:
67.467s
Regards,
Jair
^ permalink raw reply
* Re: [Openembedded-architecture] Deprecating hddimg/isoimg
From: Mark Hatle @ 2016-12-20 21:10 UTC (permalink / raw)
To: Saul Wold, openembedded-architecture, OpenEmbedded List; +Cc: Yocto Discussion
In-Reply-To: <1482265407.12532.55.camel@linux.intel.com>
On 12/20/16 2:23 PM, Saul Wold wrote:
>
> Folks,
>
> For years we have wanted to get rid of the hddimg/iso type, we now have
> the WIC tool integrated into OE-Core such that we can build properly
> partitioned disk images.
No objection to getting rid of them, but I would love to see them replace with
one or more sample WIC configurations that resulted in -exactly- the same behavior.
--Mark
> Historically the hddimg was a single FAT filesystem that contained
> boot-loader, the kernel and a rootfs.img file for booting Intel Arch
> machines. This has a 4G limit due to the FAT limitations and we are
> starting to see this limit hit more frequently.
>
> Are there any other usages out there that we are not aware of?
>
> Any reasons that this should not get deprecated at this time?
>
> Sau!
>
> _______________________________________________
> Openembedded-architecture mailing list
> Openembedded-architecture@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-architecture
>
^ permalink raw reply
* Re: $50 bounty for an OE recipe for libfilesys-smbclient-perl. seriously.
From: Burton, Ross @ 2016-12-20 20:47 UTC (permalink / raw)
To: Robert P. J. Day; +Cc: OE Core mailing list
In-Reply-To: <alpine.LFD.2.20.1612201321490.5281@localhost.localdomain>
[-- Attachment #1: Type: text/plain, Size: 819 bytes --]
On 20 December 2016 at 18:32, Robert P. J. Day <rpjday@crashcourse.ca>
wrote:
> really, i just don't have time to mess with this anymore and i'm
> more than happy to pay someone $50 CAD (interac transfer) to provide
> me with a proper recipe and essential patches for the perl module
> Filesys-SmbClient-3.2 here:
>
FWIW I had a quick look at this. I'm certainly no perl guru and can barely
understand it, but it does *so much* wrong that if you really need this
then it would be easier to just rewrite the makefile.pl from scratch. Once
you remove the hunting for the headers in the wrong place, it then invokes
an autoconf script... which needs to be passed the right options.
Do you really need this module? It's not been updated for many years, so
surely there's something better.
Ross
[-- Attachment #2: Type: text/html, Size: 1342 bytes --]
^ permalink raw reply
* Deprecating hddimg/isoimg
From: Saul Wold @ 2016-12-20 20:23 UTC (permalink / raw)
To: openembedded-architecture, OpenEmbedded List; +Cc: Yocto Discussion
Folks,
For years we have wanted to get rid of the hddimg/iso type, we now have
the WIC tool integrated into OE-Core such that we can build properly
partitioned disk images.
Historically the hddimg was a single FAT filesystem that contained
boot-loader, the kernel and a rootfs.img file for booting Intel Arch
machines. This has a 4G limit due to the FAT limitations and we are
starting to see this limit hit more frequently.
Are there any other usages out there that we are not aware of?
Any reasons that this should not get deprecated at this time?
Sau!
^ permalink raw reply
* $50 bounty for an OE recipe for libfilesys-smbclient-perl. seriously.
From: Robert P. J. Day @ 2016-12-20 18:32 UTC (permalink / raw)
To: OE Core mailing list
really, i just don't have time to mess with this anymore and i'm
more than happy to pay someone $50 CAD (interac transfer) to provide
me with a proper recipe and essential patches for the perl module
Filesys-SmbClient-3.2 here:
http://search.cpan.org/~alian/Filesys-SmbClient-3.2/
the fundamental issue seems to be that the source for that module is
simply not set up for cross-compilation -- the Makefile.PL file would
suggest that:
sub find_path {
my $ext = ($_[0]=~m!\.h$! ? "include" : ( $ENV{HOSTTYPE}=~m!x86_64! ? "lib64" : "lib"));
my $defaultsDir = { "/usr" => 1,
"/usr/local" => 1,
"/usr/local/samba" => 1,
"/usr/local/samba3" => 1 };
... etc etc ...
and when i throw together an absolutely boilerplate recipe for that
module along the lines of what i did for dozens of others, i get:
| I search in: /home/rpjday/oe/builds/qemuarm/tmp/sysroots-uninative/x86_64-linux/usr/include
| /home/rpjday/oe/builds/qemuarm/tmp/sysroots/x86_64-linux/usr/perl-native/include
| /home/rpjday/oe/dist/layers/poky/scripts/include
| /home/rpjday/oe/builds/qemuarm/tmp/sysroots/x86_64-linux/usr/arm-poky-linux-gnueabi/include
| /home/rpjday/oe/builds/qemuarm/tmp/sysroots/qemuarm/usr/crossscripts/include
| /home/rpjday/oe/builds/qemuarm/tmp/sysroots/x86_64-linux/usr/s/include
| /home/rpjday/oe/builds/qemuarm/tmp/sysroots/x86_64-linux/usr/include
| /home/rpjday/oe/builds/qemuarm/tmp/sysroots/x86_64-linux/s/include
| /home/rpjday/oe/builds/qemuarm/tmp/sysroots/x86_64-linux/include
| /home/rpjday/oe/dist/layers/poky/scripts/include
| /home/rpjday/oe/dist/layers/poky/bitbake/include
| /home/rpjday/oe/dist/bb/bin/include
| /home/rpjday/oe/dist/bb/bin/include
| /usr/local/s/include
| /usr/s/include
| /home/rpjday/.local/include
| /home/rpjday/include
| /usr/local/include
| /usr/local/samba3/include
| /usr/include
| /usr/local/samba/include
| Where can I find libsmbclient.h ? []
*************************************************************
| ** WHAT !!!!
| ** I Can't find /libsmbclient.h : No such file or directory.
... and same problem looking for libsmbclient.so.
using the latest poky checkout, i built a perfectly reasonable
core-image-minimal for qemuarm, and it boots and runs, and i've added
samba to it so that one can find libsmbclient.so here under
tmp/sysroots/:
$ find . -name libsmbclient.so*
./qemuarm/usr/lib/libsmbclient.so.0.2.3
./qemuarm/usr/lib/libsmbclient.so.0
./qemuarm/usr/lib/libsmbclient.so
$
but when i try to bitbake that smbclient recipe, i get the errors
above. anyway, what little i still know about perl modules, it looks
pretty clear that the source for that module doesn't understand
cross-compilation, so if anyone wants to collect, get me something
that builds under OE. thank you kindly.
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
^ permalink raw reply
* Re: [PATCH v6 0/5] wic: bugfixes & --fixed-size support, tests, oeqa: enhancements
From: Maciej Borzęcki @ 2016-12-20 18:27 UTC (permalink / raw)
To: Ed Bartosh
Cc: Maciej Borzecki, Patches and discussions about the oe-core layer
In-Reply-To: <20161220140412.GA16406@linux.intel.com>
On Tue, Dec 20, 2016 at 3:04 PM, Ed Bartosh <ed.bartosh@linux.intel.com> wrote:
> On Mon, Dec 19, 2016 at 12:20:56PM +0100, Maciej Borzecki wrote:
>> v6 of a patch series previously posted here [1].
>>
>> Changes since v5:
>>
>> * `oe-selftest: enforce en_US.UTF-8 locale` was merged to master, hence it's no
>> longer part of this series
>>
>> * rebased on top of master (d0d260b0b85790ceb136dd6b0445e8e33d038f5e)
>>
>
> The patchset looks good to me. Thank you.
>
> Couple of questions:
> - did you test if Lars' change
> https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=db08ffee0ad1451f3bf710f4d1b623938ba9aefb
> works with your patchset?
Yes. The series was rebased on top of
d0d260b0b85790ceb136dd6b0445e8e33d038f5e, which includes Lars' patch.
The tests passed on all MACHINES I've used (though I'm not sure if
scenario addressed in that patch is covered by relevant test cases).
I believe I have also hit a weird bug in BitbakeVars._parse_line() while
testing with this patch and meta-mender. I Hope you can confirm it.
From a quick investigation I have determined that _parse_line() may
interpret arbitrary lines that are of 'key=value' format as legitimate
bitbake variables. In my case, IMAGE_CMD_sdimg defined in
mender-sdimg.bbclass includes the following piece:
IMAGE_CMD_sdimg() {
...
REMAINING_SIZE=$(expr ${MENDER_STORAGE_TOTAL_SIZE_MB} - \
${MENDER_BOOT_PART_SIZE_MB} - \
${MENDER_DATA_PART_SIZE_MB} - \
${MENDER_PARTITIONING_OVERHEAD_MB} - \
$boot_env_size_mb)
ROOTFS_SIZE=$(expr $REMAINING_SIZE / 2)
...
}
This will obviously be seen in `bitbake -e output`. Looking at code
here:
https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/scripts/lib/wic/utils/oe/misc.py?id=db08ffee0ad1451f3bf710f4d1b623938ba9aefb#n151
the line will be split at '=', then whitespace will be stripped from
both key and value. So a line (taken from bitbake -e):
ROOTFS_SIZE=\$(expr \$REMAINING_SIZE / 2)
Will define a variable ROOTFS_SIZE with value '\\$(expr \\$REMAINING_SIZE / 2)'.
It's a pure coincidence that Lars' patch queries ROOTFS_SIZE which also
appears in bitbake -e output under exactly the same name.
IMO, when parsing env output, we should expect variable name to start
right at the beginning of a line, IOW skip the line if key[0].isspace() == True
>
> - Regarding oe-selftest fixes, wich machine did you run oe-selftest on?
> It looks to me that a lot of test cases can be run on your machine
> if we use another wks.
I've run it on beaglebone, vexpress-qemu, qemux86 and qemuarm. Agree
with your observation though. I think that at least these TCs could be
made machine agnostic:
- test_build_artifacts
- test_build_image_name
- test_compress_*
- test_gpt_image
- test_wic_image_type
- test_wrong_compressor
- test_rootfs_*
>
>> [1]. http://lists.openembedded.org/pipermail/openembedded-core/2016-November/129187.html
>>
>> Maciej Borzecki (5):
>> oeqa/utils/commands.py: allow use of binaries from native sysroot
>> wic: add --fixed-size wks option
>> wic: selftest: avoid COMPATIBLE_HOST issues
>> wic: selftest: do not assume bzImage kernel image
>> wic: selftest: add tests for --fixed-size partition flags
>>
>> meta/lib/oeqa/selftest/wic.py | 117 +++++++++++++++++++++++++++++++--
>> meta/lib/oeqa/utils/commands.py | 9 ++-
>> scripts/lib/wic/help.py | 14 +++-
>> scripts/lib/wic/imager/direct.py | 2 +-
>> scripts/lib/wic/ksparser.py | 41 ++++++++++--
>> scripts/lib/wic/partition.py | 88 +++++++++++++++----------
>> scripts/lib/wic/utils/partitionedfs.py | 2 +-
>> 7 files changed, 224 insertions(+), 49 deletions(-)
>
Regards,
--
Maciej Borzecki
RnDity
^ permalink raw reply
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox