Re: [OE-core] [PATCH] systemd: fix firmware path to match linux-firmware
On Mon, Mar 23, 2015 at 8:18 AM, Jonathan Liu net...@gmail.com wrote: Signed-off-by: Jonathan Liu net...@gmail.com --- meta/recipes-core/systemd/systemd_219.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/systemd/systemd_219.bb b/meta/recipes-core/systemd/systemd_219.bb index 5ecdda9..f2d3c13 100644 --- a/meta/recipes-core/systemd/systemd_219.bb +++ b/meta/recipes-core/systemd/systemd_219.bb @@ -112,7 +112,7 @@ EXTRA_OECONF = --with-rootprefix=${rootprefix} \ --enable-split-usr \ --without-python \ --with-sysvrcnd-path=${sysconfdir} \ - --with-firmware-path=${rootlibdir}/firmware \ + --with-firmware-path=/lib/firmware \ Seems like the fix should be done in linux-firmware, not here. -- Otavio Salvador O.S. Systems http://www.ossystems.com.brhttp://code.ossystems.com.br Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] systemd: fix firmware path to match linux-firmware
Signed-off-by: Jonathan Liu net...@gmail.com --- meta/recipes-core/systemd/systemd_219.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/systemd/systemd_219.bb b/meta/recipes-core/systemd/systemd_219.bb index 5ecdda9..f2d3c13 100644 --- a/meta/recipes-core/systemd/systemd_219.bb +++ b/meta/recipes-core/systemd/systemd_219.bb @@ -112,7 +112,7 @@ EXTRA_OECONF = --with-rootprefix=${rootprefix} \ --enable-split-usr \ --without-python \ --with-sysvrcnd-path=${sysconfdir} \ - --with-firmware-path=${rootlibdir}/firmware \ + --with-firmware-path=/lib/firmware \ # uclibc does not have NSS EXTRA_OECONF_append_libc-uclibc = --disable-myhostname -- 2.3.3 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] oeqa/selftest: New auto bitbake test for poky tiny.
Hi Ross, I am viewing this as a build test for the poky-tiny image, that checks if the build was fine by booting it and checking that it booted fine and checking that it’s indeed a tiny, rather than a runtime test. From: Burton, Ross [mailto:ross.bur...@intel.com] Sent: Monday, March 23, 2015 12:39 PM To: Musat, George L Cc: OE-core Subject: Re: [OE-core] [PATCH] oeqa/selftest: New auto bitbake test for poky tiny. On 23 March 2015 at 11:24, Lucian Musat george.l.mu...@intel.commailto:george.l.mu...@intel.com wrote: The test builds a poky-tiny image, boots it in background and tries to comunicate with it via serial. Would this be better as a test hooked into the usual post-build testimage support? Ross -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 3/6] mtd-utils: update to latest and fix static inlining
Hi Khem, On 27 February 2015 at 19:19, Khem Raj raj.k...@gmail.com wrote: use static storage class instead of extern for inline functions and remove duplicate definitions as a result There's now a master-next-1.9 branch to start collecting all the patches for when master un-freezes. This doesn't apply anymore, can you rebase and re-send? Ross -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] connman: only depend on xuser-account if ROOTLESS_X is set
* Copied from xserver-nodm-init. Signed-off-by: Andreas Oberritter o...@opendreambox.org --- meta/recipes-connectivity/connman/connman.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc index 1062641..e281e39 100644 --- a/meta/recipes-connectivity/connman/connman.inc +++ b/meta/recipes-connectivity/connman/connman.inc @@ -119,7 +119,7 @@ RDEPENDS_${PN} = \ ${@bb.utils.contains('PACKAGECONFIG', 'bluetooth', '${BLUEZ}', '', d)} \ ${@bb.utils.contains('PACKAGECONFIG', 'wifi','wpa-supplicant', '', d)} \ ${@bb.utils.contains('PACKAGECONFIG', '3g','ofono', '', d)} \ - xuser-account \ + ${@base_conditional('ROOTLESS_X', '1', 'xuser-account', '', d)} \ PACKAGES_DYNAMIC += ^${PN}-plugin-.* -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] package.bbclass: Add SYSTEMD_SERVICE to list of package specific variables
Changes to SYSTEMD_SERVICE should change the sstate checksum. To make that happen, it needs to be listed in the list of package specific variables, therefore add it. Signed-off-by: Andreas Oberritter o...@opendreambox.org --- meta/classes/package.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index fb0666d..03eefc2 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass @@ -1909,7 +1909,7 @@ python package_depchains() { # Since bitbake can't determine which variables are accessed during package # iteration, we need to list them here: -PACKAGEVARS = FILES RDEPENDS RRECOMMENDS SUMMARY DESCRIPTION RSUGGESTS RPROVIDES RCONFLICTS RBREAKS PKG ALLOW_EMPTY pkg_postinst pkg_postrm INITSCRIPT_NAME INITSCRIPT_PARAMS DEBIAN_NOAUTONAME ALTERNATIVE PKGE PKGV PKGR USERADD_PARAM GROUPADD_PARAM CONFFILES +PACKAGEVARS = FILES RDEPENDS RRECOMMENDS SUMMARY DESCRIPTION RSUGGESTS RPROVIDES RCONFLICTS RBREAKS PKG ALLOW_EMPTY pkg_postinst pkg_postrm INITSCRIPT_NAME INITSCRIPT_PARAMS DEBIAN_NOAUTONAME ALTERNATIVE PKGE PKGV PKGR USERADD_PARAM GROUPADD_PARAM CONFFILES SYSTEMD_SERVICE def gen_packagevar(d): ret = [] -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] libunwind: use xz, because it fails to detect liblzma provided by lzma
Signed-off-by: Andreas Oberritter o...@opendreambox.org --- meta/recipes-support/libunwind/libunwind.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-support/libunwind/libunwind.inc b/meta/recipes-support/libunwind/libunwind.inc index 6743b21..2a65631 100644 --- a/meta/recipes-support/libunwind/libunwind.inc +++ b/meta/recipes-support/libunwind/libunwind.inc @@ -8,7 +8,7 @@ SRC_URI = ${SAVANNAH_NONGNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz inherit autotools PACKAGECONFIG ??= -PACKAGECONFIG[lzma] = --enable-minidebuginfo,--disable-minidebuginfo,lzma +PACKAGECONFIG[lzma] = --enable-minidebuginfo,--disable-minidebuginfo,xz EXTRA_OECONF_arm = --enable-debug-frame EXTRA_OECONF_aarch64 = --enable-debug-frame -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] libav: fix floating dependency on libasound
Signed-off-by: Andreas Oberritter o...@opendreambox.org --- meta/recipes-multimedia/libav/libav.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-multimedia/libav/libav.inc b/meta/recipes-multimedia/libav/libav.inc index a2f0b81..cac836f 100644 --- a/meta/recipes-multimedia/libav/libav.inc +++ b/meta/recipes-multimedia/libav/libav.inc @@ -22,7 +22,7 @@ PROVIDES = ffmpeg ARM_INSTRUCTION_SET = arm -DEPENDS = zlib libogg yasm-native +DEPENDS = alsa-lib zlib libogg yasm-native INC_PR = r8 -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] python: fix cached config value for /dev/ptmx
Linux usually has /dev/ptmx, so set set it to yes. Signed-off-by: Andreas Oberritter o...@opendreambox.org --- meta/recipes-devtools/python/python_2.7.9.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python_2.7.9.bb b/meta/recipes-devtools/python/python_2.7.9.bb index 4087c2c..bc44c72 100644 --- a/meta/recipes-devtools/python/python_2.7.9.bb +++ b/meta/recipes-devtools/python/python_2.7.9.bb @@ -37,7 +37,7 @@ TARGET_CC_ARCH_append_armv6 = -D__SOFTFP__ TARGET_CC_ARCH_append_armv7a = -D__SOFTFP__ # The following is a hack until we drop ac_cv_sizeof_off_t from site files -EXTRA_OECONF += ${@bb.utils.contains('DISTRO_FEATURES', 'largefile', 'ac_cv_sizeof_off_t=8', '', d)} ac_cv_file__dev_ptmx=no ac_cv_file__dev_ptc=no +EXTRA_OECONF += ${@bb.utils.contains('DISTRO_FEATURES', 'largefile', 'ac_cv_sizeof_off_t=8', '', d)} ac_cv_file__dev_ptmx=yes ac_cv_file__dev_ptc=no do_configure_append() { rm -f ${S}/Makefile.orig -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] kernel-module-split.bbclass: Avoid bogus recommends for modules ending with -dev
Example: lirc-dev.ko - kernel-module-lirc-dev Signed-off-by: Andreas Oberritter o...@opendreambox.org --- meta/classes/kernel-module-split.bbclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/classes/kernel-module-split.bbclass b/meta/classes/kernel-module-split.bbclass index 32b8085..68a23f8 100644 --- a/meta/classes/kernel-module-split.bbclass +++ b/meta/classes/kernel-module-split.bbclass @@ -176,6 +176,9 @@ python split_kernel_module_packages () { rdepends[dep] = [] d.setVar('RDEPENDS_' + pkg, bb.utils.join_deps(rdepends, commasep=False)) +# Avoid automatic -dev recommendations for modules ending with -dev. +d.setVarFlag('RRECOMMENDS_' + pkg, 'nodeprrecs', 1) + module_deps = parse_depmod() module_regex = '^(.*)\.k?o$' module_pattern = 'kernel-module-%s' -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] libav: fix floating dependency on libasound
On 23 March 2015 at 17:41, Andreas Oberritter o...@opendreambox.org wrote: -DEPENDS = zlib libogg yasm-native +DEPENDS = alsa-lib zlib libogg yasm-native Wouldn't this be better as a PACKAGECONFIG? Ross -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 3/6] mtd-utils: update to latest and fix static inlining
On Mar 23, 2015, at 8:30 AM, Burton, Ross ross.bur...@intel.com wrote: Hi Khem, On 27 February 2015 at 19:19, Khem Raj raj.k...@gmail.com mailto:raj.k...@gmail.com wrote: use static storage class instead of extern for inline functions and remove duplicate definitions as a result There's now a master-next-1.9 branch to start collecting all the patches for when master un-freezes. This doesn't apply anymore, can you rebase and re-send? Please take them from contrib/kraj/master Ross -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] ca-certificates: clean up before do_compile()
Otherwise the script which converts mozilla certificates extracts each certificate twice. Signed-off-by: Andreas Oberritter o...@opendreambox.org --- meta/recipes-support/ca-certificates/ca-certificates_20141019.bb | 4 1 file changed, 4 insertions(+) diff --git a/meta/recipes-support/ca-certificates/ca-certificates_20141019.bb b/meta/recipes-support/ca-certificates/ca-certificates_20141019.bb index e5a4821..421b87e 100644 --- a/meta/recipes-support/ca-certificates/ca-certificates_20141019.bb +++ b/meta/recipes-support/ca-certificates/ca-certificates_20141019.bb @@ -29,6 +29,10 @@ EXTRA_OEMAKE = \ 'SBINDIR=${sbindir}' \ +do_compile_prepend() { +oe_runmake clean +} + do_install () { install -d ${D}${datadir}/ca-certificates \ ${D}${sysconfdir}/ssl/certs \ -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] valgrind: enable build for MIPS
Since 3.8.0, valgrind supports MIPS32. MIPS64 was added in 3.9.0. Signed-off-by: Andreas Oberritter o...@opendreambox.org --- meta/recipes-devtools/valgrind/valgrind_3.10.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/valgrind/valgrind_3.10.1.bb b/meta/recipes-devtools/valgrind/valgrind_3.10.1.bb index 365e968..bf80b16 100644 --- a/meta/recipes-devtools/valgrind/valgrind_3.10.1.bb +++ b/meta/recipes-devtools/valgrind/valgrind_3.10.1.bb @@ -29,7 +29,7 @@ SRC_URI = http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \ SRC_URI[md5sum] = 60ddae962bc79e7c95cfc4667245707f SRC_URI[sha256sum] = fa253dc26ddb661b6269df58144eff607ea3f76a9bcfe574b0c7726e1dfcb997 -COMPATIBLE_HOST = '(i.86|x86_64|powerpc|powerpc64).*-linux' +COMPATIBLE_HOST = '(i.86|x86_64|mips|powerpc|powerpc64).*-linux' COMPATIBLE_HOST_armv7a = 'arm.*-linux' inherit autotools ptest -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 3/6] mtd-utils: update to latest and fix static inlining
On 23 March 2015 at 17:35, Khem Raj raj.k...@gmail.com wrote: Please take them from contrib/kraj/master Great, thanks. Ross -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] pigz: fix alternatives handling, use symlinks, provide zcat
The installed unpigz is a hardlink to pigz. Signed-off-by: Andreas Oberritter o...@opendreambox.org --- meta/recipes-extended/pigz/pigz.inc | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/meta/recipes-extended/pigz/pigz.inc b/meta/recipes-extended/pigz/pigz.inc index b5caa95..c271f70 100644 --- a/meta/recipes-extended/pigz/pigz.inc +++ b/meta/recipes-extended/pigz/pigz.inc @@ -13,20 +13,26 @@ PROVIDES_class-native += gzip-native DEPENDS = zlib +inherit update-alternatives + do_install_class-target() { # Install files into /bin (FHS), which is typical place for gzip install -d ${D}${base_bindir} - install ${B}/pigz ${D}${base_bindir}/gzip - install ${B}/unpigz ${D}${base_bindir}/gunzip + install ${B}/pigz ${D}${base_bindir}/pigz + ln -nsf pigz ${D}${base_bindir}/unpigz + ln -nsf pigz ${D}${base_bindir}/pigzcat } do_install() { install -d ${D}${bindir} install ${B}/pigz ${D}${bindir}/gzip - install ${B}/unpigz ${D}${bindir}/gunzip + ln -nsf gzip ${D}${bindir}/gunzip + ln -nsf gzip ${D}${bindir}/zcat } -ALTERNATIVE_${PN} = gzip gunzip -ALTERNATIVE_LINK_NAME[gzip] = ${base_bindir}/gzip -ALTERNATIVE_LINK_NAME[gunzip] = ${base_bindir}/gunzip ALTERNATIVE_PRIORITY = 80 +ALTERNATIVE_${PN} = gunzip gzip zcat +ALTERNATIVE_LINK_NAME[gunzip] = ${base_bindir}/gunzip +ALTERNATIVE_LINK_NAME[gzip] = ${base_bindir}/gzip +ALTERNATIVE_LINK_NAME[zcat] = ${base_bindir}/zcat +ALTERNATIVE_TARGET = ${base_bindir}/pigz -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] kernel-module-split.bbclass: fix autoloading from postinst script
When using KERNEL_MODULE_AUTOLOAD, autoload was empty, causing modprobe None to get appended to the postinst script. Signed-off-by: Andreas Oberritter o...@opendreambox.org --- meta/classes/kernel-module-split.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/kernel-module-split.bbclass b/meta/classes/kernel-module-split.bbclass index 68a23f8..e1a70e6 100644 --- a/meta/classes/kernel-module-split.bbclass +++ b/meta/classes/kernel-module-split.bbclass @@ -148,7 +148,7 @@ python split_kernel_module_packages () { postinst = d.getVar('pkg_postinst_%s' % pkg, True) if not postinst: bb.fatal(pkg_postinst_%s not defined % pkg) -postinst += d.getVar('autoload_postinst_fragment', True) % autoload +postinst += d.getVar('autoload_postinst_fragment', True) % (autoload or basename) d.setVar('pkg_postinst_%s' % pkg, postinst) # Write out any modconf fragment -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 2/2] image.bbclass: Empty /var/volatile if it is a mount point
On Mon, Mar 23, 2015 at 5:28 PM, Randy Witt randy.e.w...@linux.intel.com wrote: If /var/volatile is a mount point it shouldn't contain any files before mount time. If files are there, they will no longer be able to be accessed once the tmpfs gets mounted at /var/volatile. why not use copy-bind when mounting it second time as tmpfs ? This problem can be seen for instance when systemd creates /var/volatile/log/journal as part of its package installation. It then assumes the journal is persistent even though /var/volatile/log/journal goes away shortly thereafter. This change makes sure that there are no files in /var/volatile if it is to be used as a mount point. [Yocto #7388] Signed-off-by: Randy Witt randy.e.w...@linux.intel.com --- meta/classes/image.bbclass | 16 1 file changed, 16 insertions(+) diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 89eb5f3..dfedf9d 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@ -181,6 +181,8 @@ POSTINST_LOGFILE ?= ${localstatedir}/log/postinstall.log SYSTEMD_DEFAULT_TARGET ?= '${@bb.utils.contains(IMAGE_FEATURES, x11-base, graphical.target, multi-user.target, d)}' ROOTFS_POSTPROCESS_COMMAND += '${@bb.utils.contains(DISTRO_FEATURES, systemd, set_systemd_default_target; , , d)}' +ROOTFS_POSTPROCESS_COMMAND += 'empty_var_volatile;' + # some default locales IMAGE_LINGUAS ?= de-de fr-fr en-gb @@ -377,6 +379,20 @@ set_systemd_default_target () { fi } +# If /var/volatile is not empty, we have seen problems where programs such as the +# journal make assumptions based on the contents of /var/volatile. The journal +# would then write to /var/volatile before it was mounted, thus hiding the +# items previously written. +# +# This change is to attempt to fix those types of issues in a way that doesn't +# affect users that may not be using /var/volatile. +empty_var_volatile () { + match=`awk '$1 !~ # $2 ~ /\/var\/volatile/{print $2}' ${IMAGE_ROOTFS}/etc/fstab 2 /dev/null` + if [ -n $match ]; then + find ${IMAGE_ROOTFS}/var/volatile -mindepth 1 -delete + fi +} + # Turn any symbolic /sbin/init link into a file remove_init_link () { if [ -h ${IMAGE_ROOTFS}/sbin/init ]; then -- 1.9.3 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] kernel-module-split.bbclass: fix autoloading from postinst script
On 23.03.2015 21:51, Bruce Ashfield wrote: On Mon, Mar 23, 2015 at 11:39 AM, Andreas Oberritter o...@opendreambox.org wrote: When using KERNEL_MODULE_AUTOLOAD, autoload was empty, causing modprobe None to get appended to the postinst script. I stared at this a bit and it looks right to me, but let me ask a question. Are you saying that KERNEL_MODULE_AUTOLOAD isn't working for anyone ? Or just in a specific configuration ? I don't have a build to check this at the moment, but I swear my autoloads were working! It already works on boot. This patch only fixes autoloading of modules installed from a package feed, i.e. modprobed by a postinst script. Regards, Andreas Bruce Signed-off-by: Andreas Oberritter o...@opendreambox.org --- meta/classes/kernel-module-split.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/kernel-module-split.bbclass b/meta/classes/kernel-module-split.bbclass index 68a23f8..e1a70e6 100644 --- a/meta/classes/kernel-module-split.bbclass +++ b/meta/classes/kernel-module-split.bbclass @@ -148,7 +148,7 @@ python split_kernel_module_packages () { postinst = d.getVar('pkg_postinst_%s' % pkg, True) if not postinst: bb.fatal(pkg_postinst_%s not defined % pkg) -postinst += d.getVar('autoload_postinst_fragment', True) % autoload +postinst += d.getVar('autoload_postinst_fragment', True) % (autoload or basename) d.setVar('pkg_postinst_%s' % pkg, postinst) # Write out any modconf fragment -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [oe-commits] Jonathan Liu : systemd: fix firmware path to match linux-firmware
On Mon, Mar 23, 2015 at 11:27:36AM +, g...@git.openembedded.org wrote: Module: openembedded-core.git Branch: master Commit: d3fcfe346b3472170641d9194243c4bbe06b8585 URL: http://git.openembedded.org/?p=openembedded-core.gita=commit;h=d3fcfe346b3472170641d9194243c4bbe06b8585 Author: Jonathan Liu net...@gmail.com Date: Mon Mar 23 22:18:46 2015 +1100 systemd: fix firmware path to match linux-firmware Signed-off-by: Jonathan Liu net...@gmail.com Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org --- meta/recipes-core/systemd/systemd_219.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/systemd/systemd_219.bb b/meta/recipes-core/systemd/systemd_219.bb index 5ecdda9..f2d3c13 100644 --- a/meta/recipes-core/systemd/systemd_219.bb +++ b/meta/recipes-core/systemd/systemd_219.bb @@ -112,7 +112,7 @@ EXTRA_OECONF = --with-rootprefix=${rootprefix} \ --enable-split-usr \ --without-python \ --with-sysvrcnd-path=${sysconfdir} \ - --with-firmware-path=${rootlibdir}/firmware \ + --with-firmware-path=/lib/firmware \ Is this false-possitive from QA check or is this change really ignored by systemd build? NOTE: recipe systemd-1_219+gitAUTOINC+a88abde721-r0: task do_configure: Started WARNING: QA Issue: systemd: configure was passed unrecognised options: --with-firmware-path [unknown-configure-option] NOTE: recipe systemd-1_219+gitAUTOINC+a88abde721-r0: task do_configure: Succeeded # uclibc does not have NSS EXTRA_OECONF_append_libc-uclibc = --disable-myhostname -- ___ Openembedded-commits mailing list openembedded-comm...@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-commits -- Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com signature.asc Description: Digital signature -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] libav: fix floating dependency on libasound
On 23.03.2015 16:48, Burton, Ross wrote: On 23 March 2015 at 17:41, Andreas Oberritter o...@opendreambox.org mailto:o...@opendreambox.org wrote: -DEPENDS = zlib libogg yasm-native +DEPENDS = alsa-lib zlib libogg yasm-native Wouldn't this be better as a PACKAGECONFIG? As far as I can tell there's no configure switch to disable alsa. I didn't care enough to patch libav's configure script, especially because it's not based on autotools. I'd say apply this simple patch first, then wait until someone wants to make the more complicated fix after the release. Regards, Andreas -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] dpkg: Don't move update-alternatives to sbindir
Debian, Ubuntu and opkg all have it in bindir. Signed-off-by: Andreas Oberritter o...@opendreambox.org --- meta/recipes-devtools/dpkg/dpkg.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc index 7df8efa..bbbd881 100644 --- a/meta/recipes-devtools/dpkg/dpkg.inc +++ b/meta/recipes-devtools/dpkg/dpkg.inc @@ -46,7 +46,6 @@ do_install_append () { rm ${D}${bindir}/update-alternatives sed -i -e 's|^#!.*${bindir}/perl-native.*/perl|#!/usr/bin/env nativeperl|' ${D}${bindir}/dpkg-* else - mv ${D}${bindir}/update-alternatives ${D}${sbindir} sed -i -e 's|^#!.*${bindir}/perl-native.*/perl|#!/usr/bin/env perl|' ${D}${bindir}/dpkg-* fi @@ -67,7 +66,7 @@ PROV_class-native = PROVIDES += ${PROV} PACKAGES =+ update-alternatives-dpkg -FILES_update-alternatives-dpkg = ${sbindir}/update-alternatives ${localstatedir}/lib/dpkg/alternatives ${sysconfdir}/alternatives +FILES_update-alternatives-dpkg = ${bindir}/update-alternatives ${localstatedir}/lib/dpkg/alternatives ${sysconfdir}/alternatives RPROVIDES_update-alternatives-dpkg += update-alternatives PACKAGES += ${PN}-perl -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] rootfs.py: Also uninstall update-alternatives and shadow for read-only-rootfs
This brings back commit d41097a970e9bfa553cd4bc3c9fad4b9073d7bd5, which got lost during transition from image.bbclass to rootfs.py. Signed-off-by: Andreas Oberritter o...@opendreambox.org --- meta/lib/oe/rootfs.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py index 4e4e6eb..6fb749f 100644 --- a/meta/lib/oe/rootfs.py +++ b/meta/lib/oe/rootfs.py @@ -190,6 +190,8 @@ class Rootfs(object): pkg = pkg_installed.split()[0] if pkg in [update-rc.d, base-passwd, +shadow, +update-alternatives, self.d.getVar(ROOTFS_BOOTSTRAP_INSTALL, True) ]: pkgs_to_remove.append(pkg) -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] update-alternatives.bbclass: alternatives should be removed in prerm
This behaviour matches dpkg's manpage and fixes deinstalling alternatives for programs needed by the postrm script, e.g. /bin/sh. Signed-off-by: Andreas Oberritter o...@opendreambox.org --- meta/classes/update-alternatives.bbclass | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meta/classes/update-alternatives.bbclass b/meta/classes/update-alternatives.bbclass index 4476ea6..2cb9825 100644 --- a/meta/classes/update-alternatives.bbclass +++ b/meta/classes/update-alternatives.bbclass @@ -222,16 +222,16 @@ python populate_packages_updatealternatives () { #bb.note('adding runtime requirement for update-alternatives for %s' % pkg) d.appendVar('RDEPENDS_%s' % pkg, ' ' + d.getVar('MLPREFIX') + provider) -bb.note('adding update-alternatives calls to postinst/postrm for %s' % pkg) +bb.note('adding update-alternatives calls to postinst/prerm for %s' % pkg) bb.note('%s' % alt_setup_links) postinst = d.getVar('pkg_postinst_%s' % pkg, True) or '#!/bin/sh\n' postinst += alt_setup_links d.setVar('pkg_postinst_%s' % pkg, postinst) bb.note('%s' % alt_remove_links) -postrm = d.getVar('pkg_postrm_%s' % pkg, True) or '#!/bin/sh\n' -postrm += alt_remove_links -d.setVar('pkg_postrm_%s' % pkg, postrm) +prerm = d.getVar('pkg_prerm_%s' % pkg, True) or '#!/bin/sh\n' +prerm += alt_remove_links +d.setVar('pkg_prerm_%s' % pkg, prerm) } python package_do_filedeps_append () { -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] oeqa/selftest: New auto bitbake test for poky tiny.
The test builds a poky-tiny image, boots it in background and tries to comunicate with it via serial. Signed-off-by: Lucian Musat george.l.mu...@intel.com --- meta/lib/oeqa/selftest/bbtests.py | 29 + 1 file changed, 29 insertions(+) diff --git a/meta/lib/oeqa/selftest/bbtests.py b/meta/lib/oeqa/selftest/bbtests.py index aeccbf5..6305550 100644 --- a/meta/lib/oeqa/selftest/bbtests.py +++ b/meta/lib/oeqa/selftest/bbtests.py @@ -3,6 +3,8 @@ import os import logging import re import shutil +import socket, select, signal, subprocess +import time import oeqa.utils.ftools as ftools from oeqa.selftest.base import oeSelfTest @@ -187,4 +189,31 @@ class BitbakeTests(oeSelfTest): self.assertEqual(result.status, 0) self.assertFalse(os.path.isfile(os.path.join(self.builddir, 'tmp/deploy/licenses/readline/generic_GPLv3'))) self.assertTrue(os.path.isfile(os.path.join(self.builddir, 'tmp/deploy/licenses/readline/generic_GPLv2'))) +ftools.remove_from_file(conf ,data) + +def test_boot_poky_tiny(self): +conf = os.path.join(self.builddir, 'conf/local.conf') +data = 'DISTRO = poky-tiny' +ftools.append_file(conf ,data) +bitbake('core-image-minimal') +result = runCmd('qemu-system-i386 -kernel tmp/deploy/images/qemux86/bzImage-qemux86.bin -initrd tmp/deploy/images/qemux86/core-image-minimal-qemux86.cpio.gz -append root=/dev/ram0 console=ttyS0 -nographic -serial unix:console.sock,server,nowait', bg=True, shell=True) +qemupid = result.pid +time.sleep(30) +clientsocket = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) +clientsocket.connect('console.sock') +clientsocket.sendall('uname -r\n') +data = '' +stopread = False +endtime = time.time()+5 +while time.time()endtime and not stopread: +sread, _, _ = select.select([clientsocket],[],[],5) +for sock in sread: +answer = sock.recv(1024) +if answer: +data += answer +else: +sock.close() +stopread = True +self.assertTrue(yocto-tiny in data, msg=Cannot detect poky tiny boot!) +subprocess.call(['pkill', '-9', '-P', str(qemupid)]) ftools.remove_from_file(conf ,data) \ No newline at end of file -- 2.1.0 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] oeqa/selftest: New auto bitbake test for poky tiny.
On 23 March 2015 at 11:24, Lucian Musat george.l.mu...@intel.com wrote: The test builds a poky-tiny image, boots it in background and tries to comunicate with it via serial. Would this be better as a test hooked into the usual post-build testimage support? Ross -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] systemd + run-postinsts.service
Hello! I'm using systemd from OE-core master to boot core-image-minimal. I'm seeing a boot failure where Run pending postinsts (aka run-postinsts.service) gets stuck during booting under very specific circumstances: 1. The package has a pkg_postinst_${PN} which (intentionally) failed during image building, thus delaying its execution to the first boot. 2. The package uses inherit systemd to enable its own systemd service. It seems to be systemctl start service name which is hanging, because I can reproduce the same behavior without systemd.bbclass in the following pkg_postinst: pkg_postinst_${PN} () { #!/bin/sh -e # Cannot run during image building... if [ x$D != x ]; then exit 1 fi # Do something on target during first boot. systemctl enable foobar systemctl start foobar # } It works without the last line. The actual recipe is a bit more complex, but I can try to create a dummy one if that would help. Any idea what could be causing this and, more importantly, how to fix it? -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [oe-commits] Jonathan Liu : fontcache.bbclass: prepend to PACKAGEFUNCS instead of appending
On Sat, Mar 21, 2015 at 03:55:04PM +0100, Martin Jansa wrote: On Sat, Mar 21, 2015 at 09:29:07AM +, Richard Purdie wrote: On Sat, 2015-03-21 at 03:11 +0100, Martin Jansa wrote: On Mon, Mar 16, 2015 at 05:42:36PM +, g...@git.openembedded.org wrote: Module: openembedded-core.git Branch: master Commit: f0e3db4eaacc32423934ce09b91bc619dc5dbd21 URL: http://git.openembedded.org/?p=openembedded-core.gita=commit;h=f0e3db4eaacc32423934ce09b91bc619dc5dbd21 Author: Jonathan Liu net...@gmail.com Date: Mon Mar 9 12:13:56 2015 +1100 fontcache.bbclass: prepend to PACKAGEFUNCS instead of appending Appending to PACKAGEFUNCS results in the font packages missing the postinst/postrm scripts and the fontconfig cache not being generated in /var/cache/fontconfig when creating images or installing font packages. This is because the package data has already been emitted by emit_pkgdata in PACKAGEFUNCS. Prepend to PACKAGEFUNCS to ensure add_fontcache_postinsts is executed before emit_pkgdata. It's not caused by this change, but fixing this issue revealed that fc-cache doesn't really work here. Every time the intercept_scripts/update_font_cache executes qemu it gets stuck eating a lot of cpu and memory until it dies. Is anyone alse seeing this behavior? WARNING: The postinstall intercept hook 'update_font_cache' failed (exit code: 137)! See log for details! WARNING: The postinstalls for the following packages will be postponed for first boot: liberation-fonts ERROR: The following packages could not be configured offline and rootfs is read-only: ['liberation-fonts'] ERROR: Function failed: do_rootfs bitbake 32618 98.8 67.1 11031512 10983420 pts/3 R+ 03:00 4:53 qemu-i386 -r 2.6.32 -L /OE/rootfs -E uD_LIBRARY_PATH=/OE/rootfs//usr/lib:/OE/rootfs//lib /OE/rootfs/usr/bin/fc-cache --sysroot=/OE/rootfs There are a couple of bugs in the bugzilla around this. One seemed to be related to circular symlinks in udev's ptest package which was supposedly fixed. The other claims to have been resolved by upgrading fontconfig to a version which doesn't have issues with circular paths. There is general confusion about how to reproduce the issue and what the real problem is though. Does your system have any recursive directory structures? I've tried to build a bit smaller image after sending the report and in that do_rootfs it finished successfully. I'll try to re-execute this to see if I get consistent results. The bigger image has only few more packages in it, so if this is the case and smaller always works while bigger always fails I should be able to quickly find out which package/file is causing this. I'll check the circular symlinks, I know there are some ptest packages in the bigger one. In my case it's reproducible by adding udev-ptest to image, more specifically having these 2 directories in rootfs: usr/lib/udev/ptest/test/sys/devices usr/lib/udev/ptest/test/sys/bus deleting them and re-triggering the qemu works. I can also confirm that it's not just lack of memory on the build machine. It triggers OOM killer after using 64GB as well as on machine with just 8GB. fc-bug/rootfs-broken$ time ../../../../sysroots/x86_64-linux/usr/bin/qemu-i386 -r 2.6.32 -L . -E LD_LIBRARY_PATH=usr/lib:lib usr/bin/fc-cache --sysroot=. ... OOM killer in an hour or 2 ... (this time I didn't get a log, because it killed almost everything else except qemu-i386 :) fc-bug/rootfs-broken$ cd .. fc-bug$ cp -ra rootfs-broken rootfs-broken-without-udev-ptest-bus-devices fc-bug$ cd rootfs-broken-without-udev-ptest-bus-devices fc-bug/rootfs-broken-without-udev-ptest-bus-devices$ rm -rf usr/lib/udev/ptest/test/sys/devices/ usr/lib/udev/ptest/test/sys/bus/ fc-bug/rootfs-broken-without-udev-ptest-bus-devices$ time ../../../../sysroots/x86_64-linux/usr/bin/qemu-i386 -r 2.6.32 -L . -E LD_LIBRARY_PATH=usr/lib:lib usr/bin/fc-cache --sysroot=. real0m30.424s user0m29.714s sys 0m0.548s Comparing strace shows the broken one to cycle a lot in directories like this: getdents(51, /* 8 entries */, 32768)= 248 openat(AT_FDCWD, //home/jenkins/anaconda/build-starfish-dizzy/build/BUILD/work/qemux86-starfish-linux/fc-bug/rootfs-broken/./usr/lib/udev/ptest/test/sys/dev/block/8:1/subsystem/loop2/bdi/subsystem/0:16/subsystem/0:16/subsystem/0:16/subsystem/0:16/subsystem/0:16/subsystem/0:16/subsystem/0:16/subsystem/0:16/subsystem/0:16/subsystem/0:16/subsystem/0:16/subsystem/0:16/subsystem/0:16/subsystem/0:16/subsystem/0:16/subsystem/0:16/subsystem/8:16/subsystem/8:0/power, O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 52 This issue forced me to finally set ulimit in my builds so that I can kill the right process a bit sooner (instead of waiting for it to eat e.g. 128GB) I'll try to create smaller reproducer and check newer fontconfig. Thanks I'd like to get to the
[OE-core] [PATCH] python: Fix PGEN linking errors
Parallel make races when linking PGEN affects target's python compilation as well, adds patch from python-native to modify the Makefile and avoid parallel make races, also updates upstream status Signed-off-by: Alejandro Hernandez alejandro.hernan...@linux.intel.com --- .../avoid_parallel_make_races_on_pgen.patch| 2 +- .../python/avoid_parallel_make_races_on_pgen.patch | 27 ++ meta/recipes-devtools/python/python_2.7.9.bb | 1 + 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-devtools/python/python/avoid_parallel_make_races_on_pgen.patch diff --git a/meta/recipes-devtools/python/python-native/avoid_parallel_make_races_on_pgen.patch b/meta/recipes-devtools/python/python-native/avoid_parallel_make_races_on_pgen.patch index 1a8f68e..5279e7c 100644 --- a/meta/recipes-devtools/python/python-native/avoid_parallel_make_races_on_pgen.patch +++ b/meta/recipes-devtools/python/python-native/avoid_parallel_make_races_on_pgen.patch @@ -1,4 +1,4 @@ -Upstream-Status: Inappropriate [embedded specific] +Upstream-Status: Pending Avoids parallel make races linking errors when making Parser/PGEN diff --git a/meta/recipes-devtools/python/python/avoid_parallel_make_races_on_pgen.patch b/meta/recipes-devtools/python/python/avoid_parallel_make_races_on_pgen.patch new file mode 100644 index 000..5279e7c --- /dev/null +++ b/meta/recipes-devtools/python/python/avoid_parallel_make_races_on_pgen.patch @@ -0,0 +1,27 @@ +Upstream-Status: Pending + +Avoids parallel make races linking errors when making Parser/PGEN + +- Implements Richard Purdie's idea + +Signed-Off-By: Richard Purdie richard.pur...@linuxfoundation.org +Signed-Off-By: Alejandro Hernandez alejandro.hernan...@linux.intel.com + +Index: Python-2.7.9/Makefile.pre.in +=== +--- Python-2.7.9.orig/Makefile.pre.in Python-2.7.9/Makefile.pre.in +@@ -610,12 +610,10 @@ Modules/grpmodule.o: $(srcdir)/Modules/g + + Modules/pwdmodule.o: $(srcdir)/Modules/pwdmodule.c $(srcdir)/Modules/posixmodule.h + +-$(GRAMMAR_H): $(GRAMMAR_INPUT) $(PGENSRCS) ++$(GRAMMAR_H): $(GRAMMAR_INPUT) $(PGENSRCS) $(PGEN) + @$(MKDIR_P) Include +- $(MAKE) $(PGEN) + $(PGEN) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C) + $(GRAMMAR_C): $(GRAMMAR_H) $(GRAMMAR_INPUT) $(PGENSRCS) +- $(MAKE) $(GRAMMAR_H) + touch $(GRAMMAR_C) + + $(PGEN): $(PGENOBJS) diff --git a/meta/recipes-devtools/python/python_2.7.9.bb b/meta/recipes-devtools/python/python_2.7.9.bb index 4087c2c..6d5b42a 100644 --- a/meta/recipes-devtools/python/python_2.7.9.bb +++ b/meta/recipes-devtools/python/python_2.7.9.bb @@ -25,6 +25,7 @@ SRC_URI += \ file://run-ptest \ file://parallel-makeinst-create-bindir.patch \ file://use_sysroot_ncurses_instead_of_host.patch \ + file://avoid_parallel_make_races_on_pgen.patch \ S = ${WORKDIR}/Python-${PV} -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH v2] python: Fix PGEN linking errors
Parallel make races when linking PGEN affects target's python compilation as well, adds patch from python-native to modify the Makefile and avoid parallel make races, also updates upstream status Signed-off-by: Alejandro Hernandez alejandro.hernan...@linux.intel.com --- .../avoid_parallel_make_races_on_pgen.patch| 2 +- .../python/avoid_parallel_make_races_on_pgen.patch | 27 ++ meta/recipes-devtools/python/python_2.7.9.bb | 1 + 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-devtools/python/python/avoid_parallel_make_races_on_pgen.patch diff --git a/meta/recipes-devtools/python/python-native/avoid_parallel_make_races_on_pgen.patch b/meta/recipes-devtools/python/python-native/avoid_parallel_make_races_on_pgen.patch index 1a8f68e..5279e7c 100644 --- a/meta/recipes-devtools/python/python-native/avoid_parallel_make_races_on_pgen.patch +++ b/meta/recipes-devtools/python/python-native/avoid_parallel_make_races_on_pgen.patch @@ -1,4 +1,4 @@ -Upstream-Status: Inappropriate [embedded specific] +Upstream-Status: Pending Avoids parallel make races linking errors when making Parser/PGEN diff --git a/meta/recipes-devtools/python/python/avoid_parallel_make_races_on_pgen.patch b/meta/recipes-devtools/python/python/avoid_parallel_make_races_on_pgen.patch new file mode 100644 index 000..e9bae32 --- /dev/null +++ b/meta/recipes-devtools/python/python/avoid_parallel_make_races_on_pgen.patch @@ -0,0 +1,27 @@ +Upstream-Status: Pending + +Avoids parallel make races linking errors when making Parser/PGEN + +- Implements Richard Purdie's idea + +Signed-Off-By: Richard Purdie richard.pur...@linuxfoundation.org +Signed-Off-By: Alejandro Hernandez alejandro.hernan...@linux.intel.com + +Index: Python-2.7.9/Makefile.pre.in +=== +--- Python-2.7.9.orig/Makefile.pre.in Python-2.7.9/Makefile.pre.in +@@ -611,12 +611,10 @@ Modules/grpmodule.o: $(srcdir)/Modules/g + + Modules/pwdmodule.o: $(srcdir)/Modules/pwdmodule.c $(srcdir)/Modules/posixmodule.h + +-$(GRAMMAR_H): $(GRAMMAR_INPUT) $(PGENSRCS) ++$(GRAMMAR_H): $(GRAMMAR_INPUT) $(PGENSRCS) $(PGEN) + @$(MKDIR_P) Include +- $(MAKE) $(PGEN) + $(HOSTPGEN) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C) + $(GRAMMAR_C): $(GRAMMAR_H) $(GRAMMAR_INPUT) $(PGENSRCS) +- $(MAKE) $(GRAMMAR_H) + touch $(GRAMMAR_C) + + $(PGEN): $(PGENOBJS) diff --git a/meta/recipes-devtools/python/python_2.7.9.bb b/meta/recipes-devtools/python/python_2.7.9.bb index 4087c2c..6d5b42a 100644 --- a/meta/recipes-devtools/python/python_2.7.9.bb +++ b/meta/recipes-devtools/python/python_2.7.9.bb @@ -25,6 +25,7 @@ SRC_URI += \ file://run-ptest \ file://parallel-makeinst-create-bindir.patch \ file://use_sysroot_ncurses_instead_of_host.patch \ + file://avoid_parallel_make_races_on_pgen.patch \ S = ${WORKDIR}/Python-${PV} -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] kernel-module-split.bbclass: fix autoloading from postinst script
On Mon, Mar 23, 2015 at 11:39 AM, Andreas Oberritter o...@opendreambox.org wrote: When using KERNEL_MODULE_AUTOLOAD, autoload was empty, causing modprobe None to get appended to the postinst script. I stared at this a bit and it looks right to me, but let me ask a question. Are you saying that KERNEL_MODULE_AUTOLOAD isn't working for anyone ? Or just in a specific configuration ? I don't have a build to check this at the moment, but I swear my autoloads were working! Bruce Signed-off-by: Andreas Oberritter o...@opendreambox.org --- meta/classes/kernel-module-split.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/kernel-module-split.bbclass b/meta/classes/kernel-module-split.bbclass index 68a23f8..e1a70e6 100644 --- a/meta/classes/kernel-module-split.bbclass +++ b/meta/classes/kernel-module-split.bbclass @@ -148,7 +148,7 @@ python split_kernel_module_packages () { postinst = d.getVar('pkg_postinst_%s' % pkg, True) if not postinst: bb.fatal(pkg_postinst_%s not defined % pkg) -postinst += d.getVar('autoload_postinst_fragment', True) % autoload +postinst += d.getVar('autoload_postinst_fragment', True) % (autoload or basename) d.setVar('pkg_postinst_%s' % pkg, postinst) # Write out any modconf fragment -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core -- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH v4] u-boot.inc: fix rename image error
On Sun, Mar 22, 2015 at 11:09 PM, b40...@freescale.com b40...@freescale.com wrote: Ping. -Original Message- From: Chunrong Guo [mailto:b40...@freescale.com] Sent: Wednesday, March 11, 2015 5:40 PM To: openembedded-core@lists.openembedded.org Cc: Liu Ting-B28495; Luo Zhenhua-B19537; Guo Chunrong-B40290; Guo Chunrong-B40290 Subject: [OE-core][PATCH v4] u-boot.inc: fix rename image error Resolve mismatch between U-Boot configs and uboot image name. The ${S}/${config}/u-boot-${type}.${UBOOT_SUFFIX} may alway be false and repeat compile or install so we need to check if ${type} match ${config} . Signed-off-by: Chunrong Guo b40...@freescale.com We are working in a deadline; I won't be able to test this until Wed. Sorry. Did you try this with meta-fsl-arm? -- Otavio Salvador O.S. Systems http://www.ossystems.com.brhttp://code.ossystems.com.br Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [oe-commits] Jonathan Liu : systemd: fix firmware path to match linux-firmware
On 23 March 2015 at 18:43, Martin Jansa martin.ja...@gmail.com wrote: WARNING: QA Issue: systemd: configure was passed unrecognised options: --with-firmware-path [unknown-configure-option] I for one don't see that. Do you happen to have that build to hand still? Actually seeing log.do_configure would be useful. Ross -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [oe-commits] Jonathan Liu : systemd: fix firmware path to match linux-firmware
On 03/23/2015 09:43 AM, Martin Jansa wrote: On Mon, Mar 23, 2015 at 11:27:36AM +, g...@git.openembedded.org wrote: Module: openembedded-core.git Branch: master Commit: d3fcfe346b3472170641d9194243c4bbe06b8585 URL: http://git.openembedded.org/?p=openembedded-core.gita=commit;h=d3fcfe346b3472170641d9194243c4bbe06b8585 Author: Jonathan Liu net...@gmail.com Date: Mon Mar 23 22:18:46 2015 +1100 systemd: fix firmware path to match linux-firmware Signed-off-by: Jonathan Liu net...@gmail.com Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org --- meta/recipes-core/systemd/systemd_219.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/systemd/systemd_219.bb b/meta/recipes-core/systemd/systemd_219.bb index 5ecdda9..f2d3c13 100644 --- a/meta/recipes-core/systemd/systemd_219.bb +++ b/meta/recipes-core/systemd/systemd_219.bb @@ -112,7 +112,7 @@ EXTRA_OECONF = --with-rootprefix=${rootprefix} \ --enable-split-usr \ --without-python \ --with-sysvrcnd-path=${sysconfdir} \ - --with-firmware-path=${rootlibdir}/firmware \ + --with-firmware-path=/lib/firmware \ Is this false-possitive from QA check or is this change really ignored by systemd build? Userspace firmware loading support was actually removed, but Jonathan added it back in: https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=814252efd028ec99a15303d9a551e950e49a6726 https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=4bd886fb0081954879aaa2f574f3c7f6ced745d5 NOTE: recipe systemd-1_219+gitAUTOINC+a88abde721-r0: task do_configure: Started WARNING: QA Issue: systemd: configure was passed unrecognised options: --with-firmware-path [unknown-configure-option] NOTE: recipe systemd-1_219+gitAUTOINC+a88abde721-r0: task do_configure: Succeeded # uclibc does not have NSS EXTRA_OECONF_append_libc-uclibc = --disable-myhostname -- ___ Openembedded-commits mailing list openembedded-comm...@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-commits -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] libav: fix floating dependency on libasound
On 23 March 2015 at 18:47, Andreas Oberritter o...@opendreambox.org wrote: As far as I can tell there's no configure switch to disable alsa. I didn't care enough to patch libav's configure script, especially because it's not based on autotools. I'd say apply this simple patch first, then wait until someone wants to make the more complicated fix after the release. Agreed :) Ross -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH v2] package.bbclass: Add SYSTEMD_SERVICE to list of package specific variables
Changes to SYSTEMD_SERVICE should change the sstate checksum. To make that happen, it needs to be listed in the list of package specific variables, therefore add it. Signed-off-by: Andreas Oberritter o...@opendreambox.org --- meta/classes/package.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 9f64ed7..5558d0d 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass @@ -1908,7 +1908,7 @@ python package_depchains() { # Since bitbake can't determine which variables are accessed during package # iteration, we need to list them here: -PACKAGEVARS = FILES RDEPENDS RRECOMMENDS SUMMARY DESCRIPTION RSUGGESTS RPROVIDES RCONFLICTS PKG ALLOW_EMPTY pkg_postinst pkg_postrm INITSCRIPT_NAME INITSCRIPT_PARAMS DEBIAN_NOAUTONAME ALTERNATIVE PKGE PKGV PKGR USERADD_PARAM GROUPADD_PARAM CONFFILES +PACKAGEVARS = FILES RDEPENDS RRECOMMENDS SUMMARY DESCRIPTION RSUGGESTS RPROVIDES RCONFLICTS PKG ALLOW_EMPTY pkg_postinst pkg_postrm INITSCRIPT_NAME INITSCRIPT_PARAMS DEBIAN_NOAUTONAME ALTERNATIVE PKGE PKGV PKGR USERADD_PARAM GROUPADD_PARAM CONFFILES SYSTEMD_SERVICE def gen_packagevar(d): ret = [] -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [oe-commits] Jonathan Liu : systemd: fix firmware path to match linux-firmware
On Mon, Mar 23, 2015 at 10:14:57AM -0700, Randy Witt wrote: On 03/23/2015 09:43 AM, Martin Jansa wrote: On Mon, Mar 23, 2015 at 11:27:36AM +, g...@git.openembedded.org wrote: Module: openembedded-core.git Branch: master Commit: d3fcfe346b3472170641d9194243c4bbe06b8585 URL: http://git.openembedded.org/?p=openembedded-core.gita=commit;h=d3fcfe346b3472170641d9194243c4bbe06b8585 Author: Jonathan Liu net...@gmail.com Date: Mon Mar 23 22:18:46 2015 +1100 systemd: fix firmware path to match linux-firmware Signed-off-by: Jonathan Liu net...@gmail.com Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org --- meta/recipes-core/systemd/systemd_219.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/systemd/systemd_219.bb b/meta/recipes-core/systemd/systemd_219.bb index 5ecdda9..f2d3c13 100644 --- a/meta/recipes-core/systemd/systemd_219.bb +++ b/meta/recipes-core/systemd/systemd_219.bb @@ -112,7 +112,7 @@ EXTRA_OECONF = --with-rootprefix=${rootprefix} \ --enable-split-usr \ --without-python \ --with-sysvrcnd-path=${sysconfdir} \ - --with-firmware-path=${rootlibdir}/firmware \ + --with-firmware-path=/lib/firmware \ Is this false-possitive from QA check or is this change really ignored by systemd build? Userspace firmware loading support was actually removed, but Jonathan added it back in: https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=814252efd028ec99a15303d9a551e950e49a6726 https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=4bd886fb0081954879aaa2f574f3c7f6ced745d5 Ah, sorry I see it now. meta-android adds --with-firmware-path and it was applied without these patches from Jonathan. So now it should be fine and I dont need to remove android firmware path tweak. Thanks for clarification and sorry for noise. NOTE: recipe systemd-1_219+gitAUTOINC+a88abde721-r0: task do_configure: Started WARNING: QA Issue: systemd: configure was passed unrecognised options: --with-firmware-path [unknown-configure-option] NOTE: recipe systemd-1_219+gitAUTOINC+a88abde721-r0: task do_configure: Succeeded # uclibc does not have NSS EXTRA_OECONF_append_libc-uclibc = --disable-myhostname -- ___ Openembedded-commits mailing list openembedded-comm...@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-commits -- Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com signature.asc Description: Digital signature -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] package.bbclass: Add SYSTEMD_SERVICE to list of package specific variables
On 23.03.2015 16:30, Andreas Oberritter wrote: Changes to SYSTEMD_SERVICE should change the sstate checksum. To make that happen, it needs to be listed in the list of package specific variables, therefore add it. Signed-off-by: Andreas Oberritter o...@opendreambox.org --- meta/classes/package.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index fb0666d..03eefc2 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass @@ -1909,7 +1909,7 @@ python package_depchains() { # Since bitbake can't determine which variables are accessed during package # iteration, we need to list them here: -PACKAGEVARS = FILES RDEPENDS RRECOMMENDS SUMMARY DESCRIPTION RSUGGESTS RPROVIDES RCONFLICTS RBREAKS PKG ALLOW_EMPTY pkg_postinst pkg_postrm INITSCRIPT_NAME INITSCRIPT_PARAMS DEBIAN_NOAUTONAME ALTERNATIVE PKGE PKGV PKGR USERADD_PARAM GROUPADD_PARAM CONFFILES +PACKAGEVARS = FILES RDEPENDS RRECOMMENDS SUMMARY DESCRIPTION RSUGGESTS RPROVIDES RCONFLICTS RBREAKS PKG ALLOW_EMPTY pkg_postinst pkg_postrm INITSCRIPT_NAME INITSCRIPT_PARAMS DEBIAN_NOAUTONAME ALTERNATIVE PKGE PKGV PKGR USERADD_PARAM GROUPADD_PARAM CONFFILES SYSTEMD_SERVICE def gen_packagevar(d): ret = [] This patch depends on another one I didn't send. Sorry, please ignore. Regards, Andreas -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 1/1] webkit-gtk: disable JIT for armv5/armv6
JIT for JS causes webkit to crash for ARM v5 and ARM v6 arch, so disable it for now. TODO: re-evaluate after webkit-gtk upgrade. Fixes [YOCTO #6931]. Signed-off-by: Cristian Iorga cristian.io...@intel.com --- meta/recipes-sato/webkit/webkit-gtk_1.8.3.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-sato/webkit/webkit-gtk_1.8.3.bb b/meta/recipes-sato/webkit/webkit-gtk_1.8.3.bb index 920e1a0..15c73cf 100644 --- a/meta/recipes-sato/webkit/webkit-gtk_1.8.3.bb +++ b/meta/recipes-sato/webkit/webkit-gtk_1.8.3.bb @@ -50,6 +50,8 @@ EXTRA_OECONF = \ ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', '--enable-webgl', '--disable-webgl', d)} \ UNICODE_CFLAGS=-D_REENTRANT \ +EXTRA_OECONF_append_armv5 = --disable-jit +EXTRA_OECONF_append_armv6 = --disable-jit #default unicode backend icu breaks in cross-compile when target and host are different endian type EXTRA_OECONF_append_powerpc = --with-unicode-backend=glib -- 2.1.0 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 0/1] Fix for YOCTO #6931
The following changes since commit 4bd886fb0081954879aaa2f574f3c7f6ced745d5: systemd: fix firmware path to match linux-firmware (2015-03-23 11:27:21 +) are available in the git repository at: git://git.yoctoproject.org/poky-contrib ciorga/YB6931 http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ciorga/YB6931 Cristian Iorga (1): webkit-gtk: disable JIT for armv5/armv6 meta/recipes-sato/webkit/webkit-gtk_1.8.3.bb | 2 ++ 1 file changed, 2 insertions(+) -- 2.1.0 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] package_deb: Fix rootfs generation in non Debian-based hosts
Since we have support of log checking in deb/ipk [1] rootfs generation in non Debian-based hosts fails because apt-ftparchive generates a warn when not find /etc/apt/apt.conf.d/ (available in Debian-based hosts). In order to fix, package_manager.py: DpkgPMIndexer add support for export APT_CONF to environment. [1] http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=86aec93902af2e2d7d73ca9a643707fcca45055c Signed-off-by: Aníbal Limón anibal.li...@linux.intel.com --- meta/lib/oe/package_manager.py | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py index c9a8084..395c0d01 100644 --- a/meta/lib/oe/package_manager.py +++ b/meta/lib/oe/package_manager.py @@ -169,7 +169,14 @@ class OpkgIndexer(Indexer): class DpkgIndexer(Indexer): +def __init__(self, d, deploy_dir, apt_conf_file=None): +self.apt_conf_file = apt_conf_file +Indexer.__init__(self, d, deploy_dir) + def write_index(self): +if not self.apt_conf_file is None: +os.environ['APT_CONFIG'] = self.apt_conf_file + pkg_archs = self.d.getVar('PACKAGE_ARCHS', True) if pkg_archs is not None: arch_list = pkg_archs.split() @@ -1507,7 +1514,7 @@ class DpkgPM(PackageManager): self._create_configs(archs, base_archs) -self.indexer = DpkgIndexer(self.d, self.deploy_dir) +self.indexer = DpkgIndexer(self.d, self.deploy_dir, self.apt_conf_file) This function will change a package's status in /var/lib/dpkg/status file. -- 1.8.4.5 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 1/2] Revert systemd: Fix the problem of an empty journal on boot
This reverts commit e75c95ceca34879698b1ea229a2101dc1ccc12fc. The fix was reported to cause long waits for some users. Signed-off-by: Randy Witt randy.e.w...@linux.intel.com --- meta/recipes-core/systemd/systemd/journald-volatile.conf | 6 -- meta/recipes-core/systemd/systemd_219.bb | 2 -- 2 files changed, 8 deletions(-) delete mode 100644 meta/recipes-core/systemd/systemd/journald-volatile.conf diff --git a/meta/recipes-core/systemd/systemd/journald-volatile.conf b/meta/recipes-core/systemd/systemd/journald-volatile.conf deleted file mode 100644 index b11e160..000 --- a/meta/recipes-core/systemd/systemd/journald-volatile.conf +++ /dev/null @@ -1,6 +0,0 @@ -# If /var/volatile is a mount point then make sure to mount it before -# the journal starts. This is because base-files creates a symlink -# /var/log - /var/volatile/log. And if the journal starts before the mount -# happens, the journal will appear empty until restarted. -[Unit] -After=var-volatile.mount diff --git a/meta/recipes-core/systemd/systemd_219.bb b/meta/recipes-core/systemd/systemd_219.bb index f2d3c13..43c4f95 100644 --- a/meta/recipes-core/systemd/systemd_219.bb +++ b/meta/recipes-core/systemd/systemd_219.bb @@ -51,7 +51,6 @@ SRC_URI = git://anongit.freedesktop.org/systemd/systemd;branch=master \ file://00-create-volatile.conf \ file://init \ file://run-ptest \ - file://journald-volatile.conf \ S = ${WORKDIR}/git @@ -153,7 +152,6 @@ do_install() { install -m 0644 ${WORKDIR}/*.rules ${D}${sysconfdir}/udev/rules.d/ install -m 0644 ${WORKDIR}/00-create-volatile.conf ${D}${sysconfdir}/tmpfiles.d/ - install -D -m 0644 ${WORKDIR}/journald-volatile.conf ${D}${systemd_unitdir}/system/systemd-journald.service.d/journald-volatile.conf if ${@bb.utils.contains('DISTRO_FEATURES','sysvinit','true','false',d)}; then install -d ${D}${sysconfdir}/init.d -- 1.9.3 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 2/2] image.bbclass: Empty /var/volatile if it is a mount point
If /var/volatile is a mount point it shouldn't contain any files before mount time. If files are there, they will no longer be able to be accessed once the tmpfs gets mounted at /var/volatile. This problem can be seen for instance when systemd creates /var/volatile/log/journal as part of its package installation. It then assumes the journal is persistent even though /var/volatile/log/journal goes away shortly thereafter. This change makes sure that there are no files in /var/volatile if it is to be used as a mount point. [Yocto #7388] Signed-off-by: Randy Witt randy.e.w...@linux.intel.com --- meta/classes/image.bbclass | 16 1 file changed, 16 insertions(+) diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 89eb5f3..dfedf9d 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@ -181,6 +181,8 @@ POSTINST_LOGFILE ?= ${localstatedir}/log/postinstall.log SYSTEMD_DEFAULT_TARGET ?= '${@bb.utils.contains(IMAGE_FEATURES, x11-base, graphical.target, multi-user.target, d)}' ROOTFS_POSTPROCESS_COMMAND += '${@bb.utils.contains(DISTRO_FEATURES, systemd, set_systemd_default_target; , , d)}' +ROOTFS_POSTPROCESS_COMMAND += 'empty_var_volatile;' + # some default locales IMAGE_LINGUAS ?= de-de fr-fr en-gb @@ -377,6 +379,20 @@ set_systemd_default_target () { fi } +# If /var/volatile is not empty, we have seen problems where programs such as the +# journal make assumptions based on the contents of /var/volatile. The journal +# would then write to /var/volatile before it was mounted, thus hiding the +# items previously written. +# +# This change is to attempt to fix those types of issues in a way that doesn't +# affect users that may not be using /var/volatile. +empty_var_volatile () { + match=`awk '$1 !~ # $2 ~ /\/var\/volatile/{print $2}' ${IMAGE_ROOTFS}/etc/fstab 2 /dev/null` + if [ -n $match ]; then + find ${IMAGE_ROOTFS}/var/volatile -mindepth 1 -delete + fi +} + # Turn any symbolic /sbin/init link into a file remove_init_link () { if [ -h ${IMAGE_ROOTFS}/sbin/init ]; then -- 1.9.3 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] systemd + run-postinsts.service
On 24/03/2015 8:57 AM, Patrick Ohly wrote: Hello! I'm using systemd from OE-core master to boot core-image-minimal. I'm seeing a boot failure where Run pending postinsts (aka run-postinsts.service) gets stuck during booting under very specific circumstances: 1. The package has a pkg_postinst_${PN} which (intentionally) failed during image building, thus delaying its execution to the first boot. 2. The package uses inherit systemd to enable its own systemd service. It seems to be systemctl start service name which is hanging, because I can reproduce the same behavior without systemd.bbclass in the following pkg_postinst: pkg_postinst_${PN} () { #!/bin/sh -e # Cannot run during image building... if [ x$D != x ]; then exit 1 fi # Do something on target during first boot. systemctl enable foobar systemctl start foobar # } It works without the last line. The actual recipe is a bit more complex, but I can try to create a dummy one if that would help. Any idea what could be causing this and, more importantly, how to fix it? I am not sure how well systemd works with executing systemctl to manipulate services from within a service that is starting... What is the definition of foobar.service? foobar.service may depend on other services/mounts/targets to start before it but since systemctl start is blocking, those dependencies may not be satisfied yet until sometime after run-postinsts.service which can result in a circular dependency deadlock. See DefaultDependencies, After, Before in http://www.freedesktop.org/software/systemd/man/systemd.unit.html. Things to try: 1. Refactor foobar.service and your image recipe to not require calling systemctl from within a systemd service 2. Change systemctl start foobar to systemctl start --no-block foobar to let the startup continue without waiting until foobar is started Regards, Jonathan -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH V2 3/3] uclibc: Revert systemd regressing patch from upsteam uclibc and uprev SRCREV
On March 20, 2015 7:36:49 PM GMT+01:00, Khem Raj raj.k...@gmail.com wrote: On Mar 20, 2015, at 6:07 AM, Bernhard Reutner-Fischer rep.dot@gmail.com wrote: On 12 September 2012 at 09:55, Khem Raj raj.k...@gmail.com wrote: This patch is causing systemd based systemd to not boot meta/recipes-core/uclibc/uclibc-git.inc|5 +- ...nt.c-wtent.c-move-functions-from-utxent.c.patch | 321 2 files changed, 324 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-core/uclibc/uclibc-git/0001-Revert-utent.c-wtent.c-move-functions-from-utxent.c.patch Khem, Do you remember what exactly this was fixing? I don't immediately see how reverting it makes sense.. Many thanks in advance for a hint or reproducer or instructions on how to reproduce! just remove the patch. System use to hard lock during boot. you will not miss it. Cannot reproduce this on current OE with qemux86-64 -smp 22 kvm nor qemumips (no smp as that just hangs before or early in the kernel) both sato images. Nevertheless I have reverted this now and will redo it piecemeal. Sounds more like a since fixed (?) systemd bug or something. Thanks, -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 0/2] Less intrusive journal fix
The following changes since commit 4bd886fb0081954879aaa2f574f3c7f6ced745d5: systemd: fix firmware path to match linux-firmware (2015-03-23 11:27:21 +) are available in the git repository at: git://git.yoctoproject.org/poky-contrib rewitt/empty-var-volatile for you to fetch changes up to 34642f136f3830f8de88f816b9818ce855f9f129: image.bbclass: Empty /var/volatile if it is a mount point (2015-03-23 16:53:45 -0700) Randy Witt (2): Revert systemd: Fix the problem of an empty journal on boot image.bbclass: Empty /var/volatile if it is a mount point meta/classes/image.bbclass | 16 meta/recipes-core/systemd/systemd/journald-volatile.conf | 6 -- meta/recipes-core/systemd/systemd_219.bb | 2 -- 3 files changed, 16 insertions(+), 8 deletions(-) delete mode 100644 meta/recipes-core/systemd/systemd/journald-volatile.conf -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH v4] u-boot.inc: fix rename image error
Hello Chunrong, On Wed, Mar 11, 2015 at 6:40 AM, Chunrong Guo b40...@freescale.com wrote: Resolve mismatch between U-Boot configs and uboot image name. The ${S}/${config}/u-boot-${type}.${UBOOT_SUFFIX} may alway be false and repeat compile or install so we need to check if ${type} match ${config} . Signed-off-by: Chunrong Guo b40...@freescale.com First I'd like to apologize for the delay in testing it. Thanks for your patience. I got some free time (waiting between builds) and decided to check this ... So build is working fine .. however we missed the version in the file. This is unfortunate because if you end building two versions in a roll in same deploy directory you cannot refer the old one, for example: otavio@centrium ~/src/ossystems/yocto/build % ls tmp/deploy/images/imx6qsabresd/u-boot* -l lrwxrwxrwx 1 otavio otavio 18 Mar 23 23:17 tmp/deploy/images/imx6qsabresd/u-boot.imx - u-boot-mfgtool.imx* lrwxrwxrwx 1 otavio otavio 18 Mar 23 23:17 tmp/deploy/images/imx6qsabresd/u-boot-imx6qsabresd.imx - u-boot-mfgtool.imx* -rwxr-xr-x 2 otavio otavio 379904 Mar 23 23:17 tmp/deploy/images/imx6qsabresd/u-boot-mfgtool.imx* -rwxr-xr-x 2 otavio otavio 379904 Mar 23 23:17 tmp/deploy/images/imx6qsabresd/u-boot-sd.imx* -- Otavio Salvador O.S. Systems http://www.ossystems.com.brhttp://code.ossystems.com.br Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH V2 3/3] uclibc: Revert systemd regressing patch from upsteam uclibc and uprev SRCREV
On Mon, Mar 23, 2015 at 4:28 PM, Bernhard Reutner-Fischer rep.dot@gmail.com wrote: On March 20, 2015 7:36:49 PM GMT+01:00, Khem Raj raj.k...@gmail.com wrote: On Mar 20, 2015, at 6:07 AM, Bernhard Reutner-Fischer rep.dot@gmail.com wrote: On 12 September 2012 at 09:55, Khem Raj raj.k...@gmail.com wrote: This patch is causing systemd based systemd to not boot meta/recipes-core/uclibc/uclibc-git.inc|5 +- ...nt.c-wtent.c-move-functions-from-utxent.c.patch | 321 2 files changed, 324 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-core/uclibc/uclibc-git/0001-Revert-utent.c-wtent.c-move-functions-from-utxent.c.patch Khem, Do you remember what exactly this was fixing? I don't immediately see how reverting it makes sense.. Many thanks in advance for a hint or reproducer or instructions on how to reproduce! just remove the patch. System use to hard lock during boot. you will not miss it. Cannot reproduce this on current OE with qemux86-64 -smp 22 kvm nor qemumips (no smp as that just hangs before or early in the kernel) both sato images. Nevertheless I have reverted this now and will redo it piecemeal. Sounds more like a since fixed (?) systemd bug or something. its possible, but before we put a lid on that try it on arm Thanks, -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core