Re: [m-c-s][PATCH] consul: don't build with the '-linkshared' option
Bruce Ashfield
On Tue, Apr 2, 2019 at 9:36 PM Mark Asselstine
<mark.asselstine@...> wrote: Agreed, and this works for me as well. Merged. Bruce
-- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
|
|
[meta-virt][m-c-s][PATCH 1/1] libibverbs: do not try to build for arm 32 bit or any mips
Joe Slater
arch.h does not contain macros for 32 bit arm or any mips arch.
Signed-off-by: Joe Slater <joe.slater@...> --- recipes-extended/libibverbs/libibverbs_1.2.1.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/recipes-extended/libibverbs/libibverbs_1.2.1.bb b/recipes-extended/libibverbs/libibverbs_1.2.1.bb index dd74522..2becf35 100644 --- a/recipes-extended/libibverbs/libibverbs_1.2.1.bb +++ b/recipes-extended/libibverbs/libibverbs_1.2.1.bb @@ -29,3 +29,7 @@ do_install_append() { PROVIDES = "virtual/libibverbs" RPROVIDES_${PN} = "virtual/libibverbs" + +# We can build for arm64 +COMPATIBLE_HOST_mipsarch = "none" +COMPATIBLE_HOST_arm = "none" -- 2.7.4
|
|
[PATCH] container-base: Allow building with a specific kernel binding
Jason Wessel
The oe-core layer sets a variable which intends that linux-dummy is
set for container building. This commit would allow you to have a specific kernel and board setup as well as generate multiple containers by turrning off the linux-dummy check found in: oe-core/meta/classes/image-container.bbclass Signed-off-by: Jason Wessel <jason.wessel@...> --- recipes-extended/images/container-base.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes-extended/images/container-base.bb b/recipes-extended/images/container-base.bb index 3e636ca..434239a 100644 --- a/recipes-extended/images/container-base.bb +++ b/recipes-extended/images/container-base.bb @@ -20,6 +20,9 @@ IMAGE_INSTALL = " \ netbase \ " +# Allow build with or without a specific kernel +IMAGE_CONTAINER_NO_DUMMY = "1" + # Workaround /var/volatile for now ROOTFS_POSTPROCESS_COMMAND += "rootfs_fixup_var_volatile ; " rootfs_fixup_var_volatile () { -- 2.18.1
|
|
Issues with 50cdecc sysvinit-inittab_xen.inc: fix hypervisor console
Filipe Rinaldi
Hi,
With regards commit "50cdecc sysvinit-inittab_xen.inc: fix hypervisor console"...
We are having issues with this patch. When using start_getty (a wrapper to getty) it will first check if the console device is a "serial" device driver [1]. It then fails because hvc0 is a "system" device, not a "serial" [2].
Any thoughts?
Cheers, Filipe
|
|
[m-c-s][PATCH] consul: don't build with the '-linkshared' option
Mark Asselstine
We are currently seeing the following error:
type..eUfRrckI: missing section for relocation target type..FEeY9FdU ... This is similar to the reported issues http://www.lyddzz.com/github_/golang/go/issues/30768 and https://github.com/hashicorp/consul/issues/5486 (but this one appears to be a report of 'our' issue so isn't really valid) The go.bbclass currently completes 2 builds (if GO_DYNLINK is set), one without '-linkshared' and one with. The '--linkshared' option is marked as experimental (https://golang.org/cmd/link/ -- "-linkshared Link against installed Go shared libraries (experimental)"). By setting GO_LINKSHARED prior to inheriting go.bbclass we can overwrite the default compile behavior and only perform the build without the '-linkshared' option. This shouldn't change the functionality of consul and we can revert to the default behavior when the issues have been addressed. Signed-off-by: Mark Asselstine <mark.asselstine@...> --- recipes-connectivity/consul/consul_git.bb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/recipes-connectivity/consul/consul_git.bb b/recipes-connectivity/consul/consul_git.bb index f9fb236..ab78cbd 100644 --- a/recipes-connectivity/consul/consul_git.bb +++ b/recipes-connectivity/consul/consul_git.bb @@ -13,6 +13,11 @@ S = "${WORKDIR}/git" RDEPENDS_${PN}-dev_append = " bash" +# Temporarily workaround an issue with GO 1.12.1 +# http://www.lyddzz.com/github_/golang/go/issues/30768 +# Disable experimental use of '-linkshared'. +GO_LINKSHARED = "" + inherit systemd go # Besides the hosts specified in goarch, we do not build for mips. -- 2.7.4
|
|
Re: Help: consul do_compile failed after go upgrade to v1.12.
Mark Asselstine
On Mon, Mar 18, 2019 at 11:38 PM Bruce Ashfield
<bruce.ashfield@...> wrote: The issue is we are often overwriting GOROOT when we should not be. Actually the go.bbclass is doing this when it should not be. This is covered in detail here: https://dave.cheney.net/2013/06/14/you-dont-need-to-set-goroot-really As describe GOROOT is already properly set in our cross compiled go tool and should not be overwritten. We can see this patch by doing the equivalent of 'go env GOROOT' in a devshell (replacing go with the full cross go toolname). By overwriting GOROOT we are getting a mixmatch of std pkgs as well I am not quite sure what tools are used as the GOROOT is used to define two other paths: $GOROOT/pkg/tool/$GOOS_$GOARCH and $GOROOT/pkg/$GOOS_$GOARCH and $GOROOT/pkg/tool/$GOOS_$GOARCH simply doesn't exist. I still need to do some investigation around this but I am able to reproduce the issue and I am able to resolve the issue by not setting GOROOT. Once I am satisfied with my findings I will send something out, at this point it looks like a patch to oe-core's go.bbclass. MarkA
|
|
Re: [PATCH] sysvinit-inittab_xen.inc: fix hypervisor console
Bruce Ashfield
On Sat, Mar 23, 2019 at 12:12 PM Manjukumar Matha
<manjukumar.harthikote-matha@...> wrote: merged. Bruce
-- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
|
|
Re: [PATCH] criu: upgrade to 3.11
Bruce Ashfield
merged
toggle quoted messageShow quoted text
Bruce
On Fri, Mar 22, 2019 at 2:09 AM Dengke Du <dengke.du@...> wrote:
--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
|
|
Re: [m-c-s][PATCH 1/2] libibverbs: upgrade to 1.2.1
Bruce Ashfield
merged (both 1 and 2 in the series).
toggle quoted messageShow quoted text
Bruce
On Thu, Mar 21, 2019 at 10:14 PM Dengke Du <dengke.du@...> wrote:
--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
|
|
[PATCH] sysvinit-inittab_xen.inc: fix hypervisor console
Manju kumar
This commit switches over to using existing SERIAL_CONSOLES mechanism
for hvc0 inittab entry generation. This then results in /bin/start_getty wrapper being used, which avoids the getty failure seen when running a xen capable rootfs natively on linux. Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@...> --- recipes-core/sysvinit/sysvinit-inittab_xen.inc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/recipes-core/sysvinit/sysvinit-inittab_xen.inc b/recipes-core/sysvinit/sysvinit-inittab_xen.inc index 9d0589c..4d56806 100644 --- a/recipes-core/sysvinit/sysvinit-inittab_xen.inc +++ b/recipes-core/sysvinit/sysvinit-inittab_xen.inc @@ -1,4 +1 @@ -do_install_append() { - echo "" >> ${D}${sysconfdir}/inittab - echo "X0:12345:respawn:/sbin/getty 115200 hvc0" >> ${D}${sysconfdir}/inittab -} +SERIAL_CONSOLES_append = "${@bb.utils.contains('DISTRO_FEATURES', 'xen', ' 115200;hvc0', '', d)}" -- 2.7.4
|
|
[PATCH] criu: upgrade to 3.11
Dengke Du <dengke.du@...>
Remove the following patch, because the 3.11 version already contain it.
0001-kdat-Don-t-open-run-criu.kdat-if-doesn-t-exists.patch Signed-off-by: Dengke Du <dengke.du@...> --- recipes-containers/criu/criu_git.bb | 5 ++- ...on-t-open-run-criu.kdat-if-doesn-t-exists.patch | 42 ---------------------- 2 files changed, 2 insertions(+), 45 deletions(-) delete mode 100644 recipes-containers/criu/files/0001-kdat-Don-t-open-run-criu.kdat-if-doesn-t-exists.patch diff --git a/recipes-containers/criu/criu_git.bb b/recipes-containers/criu/criu_git.bb index 123f6a3..c6981c9 100644 --- a/recipes-containers/criu/criu_git.bb +++ b/recipes-containers/criu/criu_git.bb @@ -13,15 +13,14 @@ EXCLUDE_FROM_WORLD = "1" LIC_FILES_CHKSUM = "file://COPYING;md5=412de458544c1cb6a2b512cd399286e2" -SRCREV = "c49eab368a68682475c4e693258246e04232e6d2" -PV = "3.10+git${SRCPV}" +SRCREV = "c74b83cd49c00589c0c0468ba5fe685b67fdbd0a" +PV = "3.11+git${SRCPV}" SRC_URI = "git://github.com/xemul/criu.git;protocol=git \ file://0001-criu-Fix-toolchain-hardcode.patch \ file://0002-criu-Skip-documentation-install.patch \ file://0001-criu-Change-libraries-install-directory.patch \ file://lib-Makefile-overwrite-install-lib-to-allow-multiarc.patch \ - file://0001-kdat-Don-t-open-run-criu.kdat-if-doesn-t-exists.patch \ " COMPATIBLE_HOST = "(x86_64|arm|aarch64).*-linux" diff --git a/recipes-containers/criu/files/0001-kdat-Don-t-open-run-criu.kdat-if-doesn-t-exists.patch b/recipes-containers/criu/files/0001-kdat-Don-t-open-run-criu.kdat-if-doesn-t-exists.patch deleted file mode 100644 index 805f799..0000000 --- a/recipes-containers/criu/files/0001-kdat-Don-t-open-run-criu.kdat-if-doesn-t-exists.patch +++ /dev/null @@ -1,42 +0,0 @@ -From b9760919eb3f805dd3d2af5692b49cba9c468595 Mon Sep 17 00:00:00 2001 -From: "Hongzhi.Song" <hongzhi.song@...> -Date: Mon, 26 Nov 2018 02:39:59 -0500 -Subject: [PATCH] kdat: Don't open /run/criu.kdat if doesn't exists - -When CRIU is called for a first time and the /run/criu.kdat file does -not exists, the following warning is shown: - Warn (criu/kerndat.c:847): Can't load /run/criu.kdat - -This patch is replacing this warning with a more appropriate debug -message. - File /run/criu.kdat does not exist - -Signed-off-by: Radostin Stoyanov <rstoyanov1@...> -Signed-off-by: Andrei Vagin <avagin@...> - -Upstream-Status: Backport [https://github.com/checkpoint-restore/criu/commit/868de91a099c00f099d8a41557d660d173f72521] - -Signed-off-by: Hongzhi.Song <hongzhi.song@...> ---- - criu/kerndat.c | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/criu/kerndat.c b/criu/kerndat.c -index 8cb5690..9fb475c 100644 ---- a/criu/kerndat.c -+++ b/criu/kerndat.c -@@ -789,7 +789,10 @@ static int kerndat_try_load_cache(void) - - fd = open(KERNDAT_CACHE_FILE, O_RDONLY); - if (fd < 0) { -- pr_warn("Can't load %s\n", KERNDAT_CACHE_FILE); -+ if(ENOENT == errno) -+ pr_debug("File %s does not exist\n", KERNDAT_CACHE_FILE); -+ else -+ pr_warn("Can't load %s\n", KERNDAT_CACHE_FILE); - return 1; - } - --- -2.8.1 - -- 2.7.4
|
|
[m-c-s][PATCH 2/2] librdmacm: upgrade to 1.1.0
Dengke Du <dengke.du@...>
Signed-off-by: Dengke Du <dengke.du@...>
--- ...libdl.patch => 0001-librdmacm-needs-libdl.patch} | 21 ++++++++++++++++----- .../{librdmacm_1.0.17.bb => librdmacm_1.1.0.bb} | 6 +++--- 2 files changed, 19 insertions(+), 8 deletions(-) rename recipes-extended/librdmacm/files/{librdmacm-needs-libdl.patch => 0001-librdmacm-needs-libdl.patch} (52%) rename recipes-extended/librdmacm/{librdmacm_1.0.17.bb => librdmacm_1.1.0.bb} (86%) diff --git a/recipes-extended/librdmacm/files/librdmacm-needs-libdl.patch b/recipes-extended/librdmacm/files/0001-librdmacm-needs-libdl.patch similarity index 52% rename from recipes-extended/librdmacm/files/librdmacm-needs-libdl.patch rename to recipes-extended/librdmacm/files/0001-librdmacm-needs-libdl.patch index bf15bea..8e62f4b 100644 --- a/recipes-extended/librdmacm/files/librdmacm-needs-libdl.patch +++ b/recipes-extended/librdmacm/files/0001-librdmacm-needs-libdl.patch @@ -1,15 +1,23 @@ +From d2c39b265f397256482154ad7807260b347176fb Mon Sep 17 00:00:00 2001 +From: Dengke Du <dengke.du@...> +Date: Thu, 21 Mar 2019 15:58:32 +0800 +Subject: [PATCH] librdmacm needs libdl + Librdmacm links against libibverbs, and the current version of libibverbs uses dlopen(), so librdmacm must also link against libdl. Upstream-Status: Pending Signed-off-by: Donn Seeley <donn.seeley@...> +Signed-off-by: Dengke Du <dengke.du@...> --- - configure.in | 2 ++ + configure.ac | 2 ++ 1 file changed, 2 insertions(+) ---- a/configure.in -+++ b/configure.in +diff --git a/configure.ac b/configure.ac +index 4a43995..2a7f4b9 100644 +--- a/configure.ac ++++ b/configure.ac @@ -39,6 +39,8 @@ AC_CHECK_SIZEOF(long) dnl Checks for libraries AC_CHECK_LIB(pthread, pthread_mutex_init, [], @@ -17,5 +25,8 @@ Signed-off-by: Donn Seeley <donn.seeley@...> +AC_CHECK_LIB(dl, dlsym, [], + AC_MSG_ERROR([dlsym() not found. librdmacm requires libdl.])) if test "$disable_libcheck" != "yes"; then - AC_CHECK_LIB(ibverbs, ibv_get_device_list, [], - AC_MSG_ERROR([ibv_get_device_list() not found. librdmacm requires libibverbs.])) + AC_CHECK_LIB(ibverbs, ibv_cmd_open_xrcd, [], + AC_MSG_ERROR([ibv_cmd_open_xrcd() not found. librdmacm requires libibverbs 1.1.8 or later.])) +-- +2.7.4 + diff --git a/recipes-extended/librdmacm/librdmacm_1.0.17.bb b/recipes-extended/librdmacm/librdmacm_1.1.0.bb similarity index 86% rename from recipes-extended/librdmacm/librdmacm_1.0.17.bb rename to recipes-extended/librdmacm/librdmacm_1.1.0.bb index 0ece665..30a0c94 100644 --- a/recipes-extended/librdmacm/librdmacm_1.0.17.bb +++ b/recipes-extended/librdmacm/librdmacm_1.1.0.bb @@ -16,10 +16,10 @@ DEPENDS = "virtual/libibverbs" # Repo is at http://git.openfabrics.org/git?p=~shefty/librdmacm.git SRC_URI = "https://www.openfabrics.org/downloads/rdmacm/${BPN}-${PV}.tar.gz \ - file://librdmacm-needs-libdl.patch" + file://0001-librdmacm-needs-libdl.patch" -SRC_URI[md5sum] = "da6fad887e9c24cb01b74b75f8449cb1" -SRC_URI[sha256sum] = "9381e1bf2c7079fc257b8eee74e731d3e7eec70e539bb4245084a7b05aeecb2a" +SRC_URI[md5sum] = "9459e523002978ef6e7b852e01d8b29e" +SRC_URI[sha256sum] = "8f10848d4810585d6d70b443abc876c1db8df5e9b8b07e095c7e6eaf4ac380c5" inherit autotools -- 2.7.4
|
|
[m-c-s][PATCH 1/2] libibverbs: upgrade to 1.2.1
Dengke Du <dengke.du@...>
Signed-off-by: Dengke Du <dengke.du@...>
--- .../libibverbs/{libibverbs_1.1.7.bb => libibverbs_1.2.1.bb} | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) rename recipes-extended/libibverbs/{libibverbs_1.1.7.bb => libibverbs_1.2.1.bb} (83%) diff --git a/recipes-extended/libibverbs/libibverbs_1.1.7.bb b/recipes-extended/libibverbs/libibverbs_1.2.1.bb similarity index 83% rename from recipes-extended/libibverbs/libibverbs_1.1.7.bb rename to recipes-extended/libibverbs/libibverbs_1.2.1.bb index e7e8d65..dd74522 100644 --- a/recipes-extended/libibverbs/libibverbs_1.1.7.bb +++ b/recipes-extended/libibverbs/libibverbs_1.2.1.bb @@ -9,11 +9,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7c557f27dd795ba77cc419dddc656b51" # Official repo is at git://git.kernel.org/pub/scm/libs/infiniband/libibverbs.git SRC_URI = "https://www.openfabrics.org/downloads/verbs/${BPN}-${PV}.tar.gz" -SRC_URI[md5sum] = "5aea59e4766ae4548419010ac84032ff" -SRC_URI[sha256sum] = "31b4114bf32d41c9fc81a862ec5febed1e982975f21fa177ea9c7516c9064690" +SRC_URI[md5sum] = "1544ebb89d861ce84057ab43dfcd22a0" +SRC_URI[sha256sum] = "c352a7f24e9a9d30ea74faa35d1b721d78d770506a0c03732e3132b7c85ac330" inherit autotools +DEPENDS = "libnl pkgconfig-native" PACKAGES += "${PN}-utils" FILES_${PN} = "${sysconfdir} ${libdir}/*.so.*" FILES_${PN}-utils = "${bindir}" -- 2.7.4
|
|
Re: [meta-cloud-services][PATCH] glusterfs: fix installed-vs-shipped qa issue
Bruce Ashfield
merged.
toggle quoted messageShow quoted text
Bruce
On Thu, Mar 21, 2019 at 4:43 AM <kai.kang@...> wrote:
--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
|
|
Re: [PATCH] docker: update 18.09.0 -> 18.09.2
Bruce Ashfield
On Mon, Mar 18, 2019 at 9:13 PM Hongzhi, Song
<hongzhi.song@...> wrote: FYI: I just pushed the following commits to master-next of meta-virt: d19fda3 docker: consolidate common depends/options 9e4957d docker: fixup redepends and clean rsuggests 1c424ca docker-ce: fixup redepends and clean rsuggests 9ce802c containerd: remove docker/lxc RRECOMMENDS ceae7b6 docker-runc: drop docker RRECOMMENDS 2890f19 docker: uprev docker/moby to 18.09.3 7bddcb3 docker-ce: update to 18.09.3 I'm letting them soak overnight, and will push them on Friday. Bruce
-- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
|
|
[meta-cloud-services][PATCH] glusterfs: fix installed-vs-shipped qa issue
kai
From: Kai Kang <kai.kang@...>
Fix installed-vs-shipped qa issue of glusterfs: | ERROR: glusterfs-5.4-r0 do_package: QA Issue: glusterfs: Files/directories were installed but not shipped in any package: | /usr/libexec/glusterfs/mount-shared-storage.sh Signed-off-by: Kai Kang <kai.kang@...> --- recipes-extended/glusterfs/glusterfs.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-extended/glusterfs/glusterfs.inc b/recipes-extended/glusterfs/glusterfs.inc index 17aaf75..5843d7c 100644 --- a/recipes-extended/glusterfs/glusterfs.inc +++ b/recipes-extended/glusterfs/glusterfs.inc @@ -152,6 +152,7 @@ FILES_${PN} = "${libdir}/glusterfs/${PV}/auth \ ${libexecdir}/glusterfs/events \ ${libexecdir}/glusterfs/glusterfind \ ${libexecdir}/glusterfs/gfind_missing_files \ + ${libexecdir}/glusterfs/mount-shared-storage.sh \ ${libexecdir}/glusterfs/peer_mountbroker.py \ ${libexecdir}/glusterfs/peer_eventsapi.py \ ${libexecdir}/glusterfs/peer_mountbroker \ -- 2.20.0
|
|
Re: [PATCH] netns: change build target to 'build' instead of 'static'
Mark Asselstine
On Wed, Mar 20, 2019 at 2:41 PM Bruce Ashfield <bruce.ashfield@...> wrote:
Thanks Bruce. I will be sure to follow up with the list when I circle around and get any more findings. I do believe there is value in fully static images so we haven't heard the last word on this yet. MarkA
|
|
Re: [PATCH] irqbalance: uprev to v1.5.0
Bruce Ashfield
merged.
toggle quoted messageShow quoted text
Bruce
On Wed, Mar 20, 2019 at 2:34 AM Hongzhi.Song <hongzhi.song@...> wrote:
--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
|
|
Re: [PATCH] docker: Set the same COMPATIBLE_HOST as containerd-opencontainers.
Bruce Ashfield
merged
toggle quoted messageShow quoted text
Bruce
On Tue, Mar 19, 2019 at 4:46 AM Robert Yang <liezhi.yang@...> wrote:
--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
|
|
Re: [PATCH] notary: uprev to v0.6.1
Bruce Ashfield
merged
toggle quoted messageShow quoted text
Bruce
On Tue, Mar 19, 2019 at 3:06 AM Hongzhi.Song <hongzhi.song@...> wrote:
--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
|
|