Re: [OE-core] [PATCH 2/4] autotools/libtool: Drop libtool sysroot patch as not needed

2024-06-03 Thread Christopher Larson
ysroot > -+sysroot=$with_libtool_sysroot > - AC_SUBST([sysroot]) > - AC_OUTPUT(Makefile) > - _ATEOF > -@@ -50997,7 +50997,7 @@ AM_INIT_AUTOMAKE([foreign]) > - AC_PROG_CC > - AC_CONFIG_SRCDIR([prog.c]) > - LT_INIT > --sysroot=$with_sysroot > -+sysroot=$with_libtool_sysroot > - AC_S

Re: [OE-core] [PATCH 2/3] shadow: Add PW_SUBDIR

2023-11-15 Thread Christopher Larson
do, I am just not sure on the overall patch submission procedure and > what OW in general thinks. https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status  in the new contributor guide covers it pretty well now. -- Christopher Larson chris_lar...@mentor.com, chr

Re: [OE-core] [PATCH v8 3/8] image-combined-dbg: make this the default

2023-11-15 Thread Christopher Larson
how IMAGE_GEN_DEBUGFS relates. -- Christopher Larson chris_lar...@mentor.com, chris.lar...@siemens.com, kerg...@gmail.com Principal Software Engineer, Embedded Linux Solutions, Siemens Digital Industries Software On Nov 15, 2023 at 7:21 AM -0700, Adrian Freihofer , wrote: > On Mon, 2023-11

Re: [OE-core] [PATCH] package: split strip cmd when ccache is used

2023-10-31 Thread Christopher Larson
lse > > # kernel module > > if elftype & 16: > > That looks very like a hack/workaround rather than a real fix. The > packaging code shouldn't know/care about ccache. > > Should we always be splitting strip? > > Cheers, > >

Re: [OE-core] image.bbclass question

2023-08-02 Thread Christopher Larson
x27;' > > > It seems to looking for the ONLY images being built are the exact same > as the INITRAMFS_FSTYPES... Shouldn't that be more of an intersection > check? If any of the INITRAMFS_FSTYPES are in the IMAGE_FSTYPES, then > check the size? > > Or

Re: [OE-core] [PATCH 1/6] libx11: remove unused patch and FILESEXTRAPATHS

2023-05-24 Thread Christopher Larson
- icb->call = True; >> > - callback( display, client_data, NULL ); >> > --- >> > -2.34.1 >> > - >> > diff --git a/meta/recipes-graphics/xorg-lib/libx11_1.8.4.bb >> b/meta/recipes-graphics/xorg-lib/libx11_1.8.4.bb >> > index 7831b4986a..9058c1844e 100644 >

Re: [OE-core] [PATCH] at: Change where files are modified

2023-01-11 Thread Christopher Larson
N} = "atd.service" > > -do_configure:prepend() { > - cp -f ${WORKDIR}/posixtm.[ch] ${S} > +do_patch:append() { > +bb.build.exec_func('copy_posix_files', d) > +} > + > +copy_posix_files() { > + cp -f ${WORKDIR}/posixtm.[ch] ${S} > } >

Re: [OE-core] [PATCH 1/8] package: Switch debug source handling to use prefix map

2022-08-16 Thread Christopher Larson
T) > +except subprocess.CalledProcessError: > +# Can "fail" if internal headers/transient sources are > attempted > +pass > + # cpio seems to have a bug with -lL together and symbolic > links are just copied, not dereferenced. > +

Re: [OE-core] [PATCH] distrooverrides.bbclass: use IMAGE_CLASSES

2022-08-16 Thread Christopher Larson
TURES_OVERRIDES += "my-feature" > # > # Beware that this part of OVERRIDES changes during parsing, so usage > -- > 2.17.1 > > > > > -- Christopher Larson chris_lar...@mentor.com, chris.lar...@siemens.com, kerg...@gmail.com Principal Software Engineer, Embedded

Re: [OE-core][PATCH] openssl: extract legacy provider module to a separate package

2022-04-29 Thread Christopher Larson
3/* ${libdir}/ossl-modules/" > > > FILES:${PN}:append:class-nativesdk = " > ${SDKPATHNATIVE}/environment-setup.d/openssl.sh" > > > > > > CONFFILES:openssl-conf = "${sysconfdir}/ssl/openssl.cnf" > > > > > > -RRECOMMENDS:libcrypto

Re: [OE-core] [PATCH v2] license: add 'any_incompatible' function

2022-04-22 Thread Christopher Larson
onal to build, only optional to install, so this approach is not viable. I'm still submitting v3 of this to get the job done for now. Thanks for your thoughts, though, I actually agree that your idea is a better method, it just doesn't work with bitbake as it stands today! -- Christoph

Re: [OE-core] [PATCH v2] license: add 'any_incompatible' function

2022-04-13 Thread Christopher Larson
t: den 13 april 2022 19:45 > > To: Christopher Larson ; > openembedded-core@lists.openembedded.org > > Cc: Christopher Larson > > Subject: Re: [OE-core] [PATCH v2] license: add 'any_incompatible' > function > > > > On Wed, 2022-04-13 at 16:00 +, Christopher

Re: [OE-core] [PATCH v2] license: add 'any_incompatible' function

2022-04-13 Thread Christopher Larson
It’s just an example, but you’re right, I’ll change to a better one. Thanks! -- Christopher Larson chris_lar...@mentor.com, chris.lar...@siemens.com, kerg...@gmail.com Principal Software Engineer, Embedded Linux Solutions, Siemens Digital Industries Software On Apr 13, 2022, 10:44 AM -0700

[OE-core] [PATCH] license: add 'any_incompatible' function

2022-04-13 Thread Christopher Larson
ample: RDEPENDS_${PN} += "${@'dbench' if not any_incompatible(d, 'dbench', 'GPL-3.0-only') else ''}" Signed-off-by: Christopher Larson --- meta/classes/license.bbclass | 38 +++ .../packagegroups/packagegroup-base.bb

[OE-core] [PATCH v2] license: add 'any_incompatible' function

2022-04-13 Thread Christopher Larson
ample: RDEPENDS_${PN} += "${@'dbench' if not any_incompatible(d, 'dbench', 'GPL-3.0-only') else ''}" Signed-off-by: Christopher Larson --- meta/classes/license.bbclass | 38 +++ .../packagegroups/packagegroup-base.

Re: [OE-core] [PATCH] license: add 'any_incompatible' function

2022-04-13 Thread Christopher Larson
On Mon, Apr 11, 2022 at 9:14 AM Christopher Larson via lists.openembedded.org wrote: > This function returns True if any of the specified packages are skipped > due to > incompatible license. > > License exceptions are obeyed. The user may specify the package's license

[OE-core] [PATCH] license: add 'any_incompatible' function

2022-04-11 Thread Christopher Larson
ample: RDEPENDS_${PN} += "${@'dbench' if not any_incompatible(d, 'dbench', 'GPL-3.0-only') else ''}" Signed-off-by: Christopher Larson --- meta/classes/license.bbclass | 37 1 file changed, 37 insertions(+) d

Re: [OE-core] [PATCH] runqemu: preload uninative libraries when host gl drivers are in use

2022-02-04 Thread Christopher Larson
n['LIBGL_DRIVERS_PATH'] = dripath.decode('utf-8').strip() > +uninative_path = os.path.dirname(self.get("UNINATIVE_LOADER")) > +preload_items = ['libdl.so.2', 'librt.so.1', 'libpthread.so.0'] > +preload_pa

Re: [OE-core] [PATCH] strace: show test suite log on failure

2021-10-21 Thread Christopher Larson
dy ../ptest > -su nobody -c "make -B -C tests -k test-suite.log" > +su nobody -c "make -B -C tests -k test-suite.log" || cat > tests/test-suite.log > -- > 2.25.1 > > > > > -- Christopher Larson kergoth at gmail dot com Founder - BitBake, OpenEmbedde

[OE-core] [dunfell backport request] layer.conf: fix syntax error in PATH setting

2021-09-01 Thread Christopher Larson
Hey Steve, I'd like to request that this commit be cherry-picked to dunfell: 2e753a12cf layer.conf: fix syntax error in PATH setting This issue is generating syntax warnings/errors from python which can be concerning to customers. Thanks! -- Christopher Larson kergoth at gmail do

Re: [OE-core] [PATCH] gcc-runtime: do_check should execute before do_build

2021-07-30 Thread Christopher Larson
t; > } > -addtask check after do_compile do_populate_sysroot > +addtask check after do_compile do_populate_sysroot before do_build > > -- > 2.25.1 > > > > > -- Christopher Larson kergoth at gmail dot com Founder - BitBake, OpenEmbedded, OpenZaurus Senior Software Enginee

Re: [OE-core] [PATCH] selftest/fetch: Avoid occasional selftest failure from poor temp file name choice

2021-06-04 Thread Christopher Larson
oject.org/mirror/so > class Dependencies(OESelftestTestCase): > def write_recipe(self, content): > f = tempfile.NamedTemporaryFile(mode="wt", suffix=".bb") > +while "_" in f.name: > +f = tempfile.NamedTemporaryFile(mode="wt&q

Re: [OE-core] [PATCH] buildhistory: add missing vardepsexcludes

2021-03-30 Thread Christopher Larson
On Tue, Mar 30, 2021 at 10:27 AM Christopher Larson via lists.openembedded.org wrote: > For POPULATE_SDK_POST_TARGET_COMMAND, POPULATE_SDK_POST_HOST_COMMAND, and > SDK_POSTPROCESS_COMMAND, the appropriate entries were added to > vardepvalueexclude, but we want them in vardepsexclud

[OE-core] [PATCH] buildhistory: add missing vardepsexcludes

2021-03-30 Thread Christopher Larson
For POPULATE_SDK_POST_TARGET_COMMAND, POPULATE_SDK_POST_HOST_COMMAND, and SDK_POSTPROCESS_COMMAND, the appropriate entries were added to vardepvalueexclude, but we want them in vardepsexclude as well. Signed-off-by: Christopher Larson --- meta/classes/buildhistory.bbclass | 3 +++ 1 file

[OE-core] [PATCH] image,populate_sdk_base: move 'func' flag setting for sdk command vars

2021-03-25 Thread Christopher Larson
ate_sdk or populate_sdk_base directly, so move it to the latter. [YOCTO #13998] Signed-off-by: Christopher Larson --- meta/classes/image.bbclass | 2 +- meta/classes/populate_sdk_base.bbclass | 7 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/meta/classes/image

Re: [OE-core] any *compelling* reasons to whitelist env vars for an OE build?

2021-03-25 Thread Christopher Larson
d mark are right, i was being a bit too draconian -- being > able to select MACHINE and DISTRO on the bitbake invocation line are > obvious benefits. > > just to refresh my memory, what is it that identifies the env vars > that are by default passed through without any need for ext

Re: [OE-core] [PATCH] libxcrypt: fix sporadic failures in nativesdk-libxcrypt-compat

2021-03-18 Thread Christopher Larson
Nevermind, of course it is. Ignore me. On Thu, Mar 18, 2021 at 2:22 PM Christopher Larson wrote: > If it's been reported upstream, is Inappropriate the correct upstream > status here? > > On Thu, Mar 18, 2021 at 3:57 AM Alexander Kanavin > wrote: > >> Sig

Re: [OE-core] [PATCH] libxcrypt: fix sporadic failures in nativesdk-libxcrypt-compat

2021-03-18 Thread Christopher Larson
t;http://github.com/besser82/libxcrypt.git;branch=$%7BSRCBRANCH%7D> \ > + file://0001-configure.ac-do-not-use-compute-symver-floor.patch > \ > + " > SRCREV = "94d84f92ca123d851586016c4678eb1f21c19029" > SRCBRANCH ?= "develop" > > --

Re: [OE-core] [poky-contrib][PATCH 3/4] package.bbclass: Add handle_qa_error check

2021-03-12 Thread Christopher Larson
computedpkglics[pkg].update(computedlics[f]) > > +if not found: > > + bb.warn("%s not in %s" % (f, str(filemap))) > > > > -# Displays warnings for licenses found in the recipes and > not sources > > -

Re: [OE-core] [PATCH v2] toolchain-scripts.bbclass: customize prompt string for SDKs

2021-02-25 Thread Christopher Larson
There is no way with this patch to prevent it from mucking with the prompt at all. Setting that variable to the empty string will just empty the prompt instead. > On Feb 25, 2021, at 6:57 PM, Kai wrote: > >  > On 2/25/21 11:29 PM, Christopher Larson wrote: >> Are we sure we

Re: [OE-core] [PATCH v2] toolchain-scripts.bbclass: customize prompt string for SDKs

2021-02-25 Thread Christopher Larson
7fbf7..6075749a5e 100644 > --- a/meta/conf/bitbake.conf > +++ b/meta/conf/bitbake.conf > @@ -422,6 +422,7 @@ PKGDATA_DIR = "${TMPDIR}/pkgdata/${MACHINE}" > > SDK_NAME_PREFIX ?= "oecore" > SDK_NAME = "${SDK_NAME_PREFIX}-${SDK_ARCH}-${TU

Re: [OE-core] [PATCH 1/2] classes: Introduce intermediate-deploy.bbclass

2021-01-14 Thread Christopher Larson
work with dash? I believe this is bashism. > > > > I think so since on my host I have "/bin/sh -> dash". > This is not a bashism, but is POSIX. See https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_02 at the end of the parameter e

Re: [OE-core] [PATCH 3/4] busybox: Run mdev as daemon

2020-12-17 Thread Christopher Larson
Afaik, running a daemon in foreground mode and instructing start-stop-daemon to background it is common practice if the daemon doesn’t support writing a pidfile itself, so start-stop-daemon can handle it itself. Without using foregrounded process + -b, it wouldn’t know the resulting process id.

[OE-core] [PATCH 2/2] uboot-extlinux-config: exclude OVERRIDES from do_create_extlinux_config vardeps

2020-12-10 Thread Christopher Larson
From: Christopher Larson This function is primarily *appending* configuration entries to the overrides, it only gets it to ensure it's set at all, so doesn't belong in the vardeps. Having a dependency on OVERRIDES means you cannot use a bbclass like distrooverrides without ch

[OE-core] [PATCH 0/2] Exclude OVERRIDES from vardeps for a couple funcs

2020-12-10 Thread Christopher Larson
using this class. Christopher Larson (2): grub-efi-cfg: exclude OVERRIDES from build_efi_cfg vardeps uboot-extlinux-config: exclude OVERRIDES from do_create_extlinux_config vardeps meta/classes/grub-efi-cfg.bbclass | 1 + meta/classes/uboot-extlinux-config.bbclass | 1 + 2 files

[OE-core] [PATCH 1/2] grub-efi-cfg: exclude OVERRIDES from build_efi_cfg vardeps

2020-12-10 Thread Christopher Larson
From: Christopher Larson This function is primarily *appending* configuration entries to the overrides, it only gets it to ensure it's set at all, so doesn't belong in the vardeps. Having a dependency on OVERRIDES means you cannot use a bbclass like distrooverrides without ch

Re: [OE-core] [PATCH 1/4] staging: Ensure cleaned dependencies are added

2020-09-28 Thread Christopher Larson
() { > bbtasks = e.tasklist > for task in bbtasks: > deps = d.getVarFlag(task, "depends") > -if deps and "populate_sysroot" in deps: > +if task == "do_configure" or deps and "populate_sysroot" in deps: >

Re: [OE-core] [PATCH] oe-setup-builddir: create conf/multiconfig/ from TEMPLATECONF

2020-09-16 Thread Christopher Larson
IR/conf/local.conf" > +if [ -d "$OECOREMULTICONF" ]; then > +cp -af -t "$BUILDDIR/conf" "$OECOREMULTICONF" > +fi > SHOWYPDOC=yes > fi > > -- > 2.25.1 > > > > -- Christopher Larson kergoth at gmail dot com Fou

Re: [OE-core] [PATCHv3 1/8] license.bbclass: Introduce AVAILABLE_LICENSES that lists all licenses

2020-08-21 Thread Christopher Larson
) > > > > -# Verify that a package with an SPDX license (from > SRC_DISTRIBUTE_LICENSES) > > +# Verify that a package with an SPDX license (from > AVAILABLE_LICENSES) > > # cannot be built when INCOMPATIBLE_LICENSE contains an alias (in > > # SPDXLICENSEMAP) o

Re: [OE-core] How to install individual -lic packages

2020-07-09 Thread Christopher Larson
hen - Registergericht: Amtsgericht München - > Handelsregisternummer: HRA 57918 > Persönlich haftender Gesellschafter: Arnold & Richter Cine Technik GmbH > Sitz: München - Registergericht: Amtsgericht München - > Handelsregisternummer: HRB 54477 > Geschäftsführer: Dr. Michael Neuhäuser;

Re: [OE-core] [PATCH] RFC wic: Support .wks files for multiple machines

2020-04-24 Thread Christopher Larson
; +else: > +img = image > +cmd += " %s" % img > > log_level = logger.getEffectiveLevel() > logger.setLevel(logging.INFO) > -ret, lines = _exec_cmd(cmd) >

Re: [OE-core] any value in a single variable setting for "don't use busybox"?

2020-04-23 Thread Christopher Larson
= > Robert P. J. Day Ottawa, Ontario, CANADA > http://crashcourse.ca > > Twitter: http://twitter.com/rpjday > LinkedIn: http://

Re: [OE-core] why does oe-buildenv-internal check for -z "$BDIR"?

2020-04-18 Thread Christopher Larson
On Apr 18, 2020, 1:10 PM -0700, Robert P. J. Day , wrote: > On Sat, 18 Apr 2020, Peter Kjellerstedt wrote: > > > > -Original Message- > > > From: openembedded-core@lists.openembedded.org > > c...@lists.openembedded.org> On Behalf Of Robert P. J. Day > > > Sent: den 18 april 2020 19:24 > >

Re: [OE-core] [PATCH] module.bbclass: swap AR and LD order

2020-01-24 Thread Christopher Larson
\ > + CC="${KERNEL_CC}" AR="${KERNEL_AR}" LD="${KERNEL_LD}" \ >O=${STAGING_KERNEL_BUILDDIR} \ >KBUILD_EXTRA_SYMBOLS="${KBUILD_EXTRA_SYMBOLS}" \ > ${MAKE_TARGETS} > -- > 2.23

[OE-core] [PATCHv2 2/3] dosfstools: fix CP437 error from `dosfsck -l`

2019-11-26 Thread Christopher Larson
From: Christopher Larson Fix this error seen when using dosfsck -l to list fs contents: CP437: Invalid argument Signed-off-by: Christopher Larson --- meta/recipes-devtools/dosfstools/dosfstools_4.1.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-devtools/dosfstools

[OE-core] [PATCHv2 1/3] acpica: correct flex/bison deps, add explicit m4-native dep

2019-11-26 Thread Christopher Larson
From: Christopher Larson This project doesn't require target flex or bison, just the natives, and it uses m4 explicitly in its configuration. Signed-off-by: Christopher Larson --- meta/recipes-extended/acpica/acpica_20191018.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[OE-core] [PATCHv2 3/3] libcap-ng: add pthread library if header is found

2019-11-26 Thread Christopher Larson
From: Christopher Larson If the pthread.h header is found, make sure library containing "pthread_atfork" is added to the list of libraries against which to link. On some hosts (e.g. openSUSE 15.1) "-lpthread" needs to be explicitly added in order for the code to compile co

Re: [OE-core] [PATCH 3/3] libcap-ng: fix built failure with some external toolchains due to missing pthread

2019-11-26 Thread Christopher Larson
Testing with https://github.com/stevegrubb/libcap-ng/pull/10 + HAVE_PTHREAD_H conditional now. Thanks. On Nov 25, 2019, 3:27 PM -0700, Khem Raj , wrote: > On Mon, Nov 25, 2019 at 2:13 PM Christopher Larson wrote: > > > > From: Christopher Larson > > > > The libcap-ng

Re: [OE-core] [PATCH 3/3] libcap-ng: fix built failure with some external toolchains due to missing pthread

2019-11-25 Thread Christopher Larson
*definitely* not a threading expert :) On Nov 25, 2019, 3:27 PM -0700, Khem Raj , wrote: > On Mon, Nov 25, 2019 at 2:13 PM Christopher Larson wrote: > > > > From: Christopher Larson > > > > The libcap-ng build doesn't pass -pthread and can fail to link. > > > >

Re: [OE-core] [PATCH 2/3] dosfstools: fix CP437 error from `dosfsck -l`

2019-11-25 Thread Christopher Larson
Good call, no idea how I missed that one. On Nov 25, 2019, 3:28 PM -0700, Khem Raj , wrote: > On Mon, Nov 25, 2019 at 2:12 PM Christopher Larson wrote: > > > > From: Christopher Larson > > > > Fix this error seen when using dosfsck -l to list fs contents: >

[OE-core] [PATCH 3/3] libcap-ng: fix built failure with some external toolchains due to missing pthread

2019-11-25 Thread Christopher Larson
From: Christopher Larson The libcap-ng build doesn't pass -pthread and can fail to link. Signed-off-by: Christopher Larson --- meta/recipes-support/libcap-ng/libcap-ng.inc | 1 + .../libcap-ng/revert-pthread_atfork-fix.patch | 56 ++ 2 files change

[OE-core] [PATCH 2/3] dosfstools: fix CP437 error from `dosfsck -l`

2019-11-25 Thread Christopher Larson
From: Christopher Larson Fix this error seen when using dosfsck -l to list fs contents: CP437: Invalid argument Signed-off-by: Christopher Larson --- meta/recipes-devtools/dosfstools/dosfstools_4.1.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-devtools/dosfstools

[OE-core] [PATCH 1/3] acpica: correct flex/bison deps, add explicit m4-native dep

2019-11-25 Thread Christopher Larson
From: Christopher Larson This project doesn't require target flex or bison, just the natives, and it uses m4 explicitly in its configuration. Signed-off-by: Christopher Larson --- meta/recipes-extended/acpica/acpica_20191018.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [OE-core] [PATCH 13/13] man-pages: correct the SRC_URI

2019-11-19 Thread Christopher Larson
The whole point of having PV in the filename is ensuring it won’t change out from under us. If they’re modifying files in place that’s going to cause us headaches whether we pull from archive or not due to checksum changes. On Nov 19, 2019, 9:46 AM -0700, Alexander Kanavin , wrote: > > On Tue, 1

Re: [OE-core] [RFC PATCH 2/2] license_image.bbclass: check and reject packages which have incompatible licenses

2019-10-09 Thread Christopher Larson
if error_msg not in result.output: > +raise AssertionError(result.output) > + > +def test_bash_or_license(self): > +self.write_config(self.default_config() + > '\nLICENSE_append_pn-bash = " | SomeLicense"') > + > +bitbake('core-

Re: [OE-core] [PATCH 4/8] ffmpeg: don't rely on configure to correctly detect ARM vfp or neon

2019-09-16 Thread Christopher Larson
This seems like something that could do with a ‘why’ in the commit message and/or comments, to me. On Sep 16, 2019, 12:25 PM -0700, Andre McCurdy , wrote: > Signed-off-by: Andre McCurdy > --- > meta/recipes-multimedia/ffmpeg/ffmpeg_4.2.bb | 11 ++- > 1 file changed, 10 insertions(+), 1 del

Re: [OE-core] [PATCH] base.bbclass: add named SRCREVs to the sstate hash

2019-05-08 Thread Christopher Larson
hash > +if dkey not in (d.getVarFlag("do_fetch", "vardeps") or > '').split(): > +d.appendVarFlag("do_fetch", "vardeps", " > {}".format(dkey)) > > set_packagetriplet(d) > > --

Re: [OE-core] [PATCH 1/2] go.bbclass: Export GOARM

2019-03-14 Thread Christopher Larson
Good to know, thanks. Possibly something to improve in bitbake at some point in the future. On Thu, Mar 14, 2019 at 11:32 AM Mark Asselstine < mark.asselst...@windriver.com> wrote: > On Wednesday, March 13, 2019 3:40:18 PM EDT Christopher Larson wrote: > > How would bitbake respon

Re: [OE-core] [PATCH 1/2] go.bbclass: Export GOARM

2019-03-13 Thread Christopher Larson
t; +export GOARM > + > DEPENDS_GOLANG_class-target = "virtual/${TUNE_PKGARCH}-go > virtual/${TARGET_PREFIX}go-runtime" > DEPENDS_GOLANG_class-native = "go-native" > DEPENDS_GOLANG_class-nativesdk = "virtual/${TARGET_PREFIX}go-crosssdk > virtual/${TARGET_PREFIX

[OE-core] [PATCH 2/4] oe.scriptutils: add logger_setup_filters

2019-03-04 Thread Christopher Larson
From: Christopher Larson This function sets up the default bb.msg formatter and log filters, which by default sends ERROR messages to stderr rather than stdout. Signed-off-by: Christopher Larson --- scripts/lib/scriptutils.py | 15 +++ 1 file changed, 15 insertions(+) diff --git

[OE-core] [PATCH 3/4] recipetool, devtool: set up the logging filters

2019-03-04 Thread Christopher Larson
From: Christopher Larson We want errors going to stderr, the way they do in bitbake itself. Signed-off-by: Christopher Larson --- scripts/devtool| 2 ++ scripts/recipetool | 2 ++ 2 files changed, 4 insertions(+) diff --git a/scripts/devtool b/scripts/devtool index 0e578c0de3..de1847eef3

[OE-core] [PATCH 1/4] oe.scriptutils: enable color in a more flexible way

2019-03-04 Thread Christopher Larson
From: Christopher Larson Rather than recreating handlers and forcing them, iterate over the handlers and enable color on ones we can handle. This makes it easier to handle color properly when we introduce the bb.msg default log filters. Signed-off-by: Christopher Larson --- scripts/lib

[OE-core] [PATCH 4/4] oe.scriptutils: also send WARNING to stderr

2019-03-04 Thread Christopher Larson
From: Christopher Larson stderr isn't just for errors, but anything out of band. It's highly unlikely that warning messages are anything but out of band, which makes scripting our tools more troublesome, since the script calling it has to filter out the warnings from stdout to ge

[OE-core] [PATCH 0/4] Improve logger setup in devtool/recipetool/scriptutils

2019-03-04 Thread Christopher Larson
From: Christopher Larson This improves logger setup in devtool and recipetool to send ERRORs to stderr, the way bitbake itself does, and also sends WARNINGs there, as those are essentially out of band as well. This makes it easier to script with devtool and recipetool, as any *real* subcommand

Re: [OE-core] [PATCH 3/3] libc-package.bbclass: Add a progress meter for the package task

2019-02-17 Thread Christopher Larson
m.write("all: %s\n\n" % " ".join(commands.keys())) > + i = 1 > +total = len(commands) > for cmd in commands: > for i, cmd in enumerate(commands): -- Christopher Larson kergoth at gmail dot com Founder - BitBake, OpenEmbedded, OpenZaurus Se

Re: [OE-core] [PATCH] bitbake.conf: reset default value of DEBUG_PREFIX_MAP

2019-01-17 Thread Christopher Larson
You also aren’t “resetting” anything, I’d suggest clarifying the summary as well. On Thu, Jan 17, 2019 at 8:19 AM Christopher Larson wrote: > The commit message doesn’t match what you’re actually doing. "Specifying > -fdebug-prefix-map is equivalent to specifying all the individual &

Re: [OE-core] [PATCH] bitbake.conf: reset default value of DEBUG_PREFIX_MAP

2019-01-17 Thread Christopher Larson
T}= \ > + -ffile-prefix-map=${STAGING_DIR_NATIVE}= \ > " > DEBUG_FLAGS ?= "-g -feliminate-unused-debug-types ${DEBUG_PREFIX_MAP}" > > -- > 2.20.0 > > -- > ___________ > Openembedded-core mailing list >

Re: [OE-core] [PATCH 5/6] base.bbclass: Add comments for gcc links to ccache

2018-12-12 Thread Christopher Larson
> Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core > -- Christopher Larson kergoth at gmail dot com Founder - BitBake, OpenEmbedded, OpenZaurus Se

Re: [OE-core] [PATCH 1/5] RFC image_types.bbclass: add image size limit for tar image type

2018-11-29 Thread Christopher Larson
I tried that too but got inconsisten results. > I know it's bad but it was easier for me to add this new test than to > figure > out what's wrong with current yocto image size checks. Hence RFC. > > -Mikko > > > Cheers, > > > > Richard > -- >

Re: [OE-core] [bitbake-devel] difference between DEPLOYDIR vs D

2018-11-14 Thread Christopher Larson
aight into D? > > Thank you, > > Davis > -- > ___ > bitbake-devel mailing list > bitbake-de...@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/bitbake-devel > -- Christopher Larson kergoth at gmail dot com Founder - BitBake

Re: [OE-core] [PATCH] npm.bbclass: allow overriding NPM_INSTALL_DEV

2018-10-23 Thread Christopher Larson
TARGET_ARCH'), d)}" > -NPM_INSTALL_DEV = "0" > +NPM_INSTALL_DEV ?= "0" > > npm_do_compile() { > # Copy in any additionally fetched modules > -- > 2.7.4 > > -- > ___ > Openembedded-core mailing li

Re: [OE-core] [PATCH] python3: enable profile optimized builds

2018-08-23 Thread Christopher Larson
te object should be > reusable between target/native/nativesdk too as long as we had the same > python patchset (which I know we don't for native). > > Anyone fancy such a challenge? We should probably have a bug open for > this at least... > > Cheers, > > Richard > > -- &g

Re: [OE-core] [bitbake-devel] how to store a modification of a bbclass in the poky layer in my own layer.

2018-08-17 Thread Christopher Larson
embedded/meta-python " > BBLAYERS += " ${BSPDIR}/sources/meta-openembedded/meta-filesystems " > BBLAYERS += " ${BSPDIR}/sources/meta-qt5 " > BBLAYERS += " ${BSPDIR}/sources/meta-hon-grip " > BBLAYERS += " ${BSPDIR}/sources/meta-java " &g

Re: [OE-core] [bitbake-devel] how to store a modification of a bbclass in the poky layer in my own layer.

2018-08-17 Thread Christopher Larson
orce --no-archive --prefix=%s \ > --inputfile=%s/i18n/locales/%s --charmap=%s %s" \ > % (treedir, datadir, locale, encoding, name) > -- > ___ > bitbake-dev

Re: [OE-core] [PATCH] oe-run-native: Add *-native directories under STAGING_BINDIR_NATIVE to PATH environment variable

2018-08-16 Thread Christopher Larson
OOT/usr/bin:$OECORE_NATIVE_SYSROOT/bin:$OECORE_NATIVE_SYSROOT/usr/sbin:$OECORE_NATIVE_SYSROOT/sbin:$(find > $OECORE_NATIVE_SYSROOT/usr/bin/*-native -maxdepth 1 -type d -printf ":%p") > If I'm reading this right, this will leave an empty entry in PATH if no

Re: [OE-core] [PATCHv2 0/4] Pull postinst-intercepts from BBPATH

2018-08-15 Thread Christopher Larson
On Fri, Jul 27, 2018 at 10:24 AM Christopher Larson wrote: > From: Christopher Larson > > These are the bits to allow us to pull intercepts from BBPATH. This is > kept > as a separate class, as it's needed by both image construction and sdk > construction, the latter to

[OE-core] [PATCHv2 3/4] image.bbclass: inherit and use image-postinst-intercepts

2018-07-27 Thread Christopher Larson
From: Christopher Larson Signed-off-by: Christopher Larson --- meta/classes/image.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index c3e73676dca..c0f6ffe31d4 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes

[OE-core] [PATCHv2 4/4] populate_sdk_base.bbclass: inherit and use image-postinst-intercepts

2018-07-27 Thread Christopher Larson
From: Christopher Larson Signed-off-by: Christopher Larson --- meta/classes/populate_sdk_base.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass index 7ffaf84a45d..c456c52866a 100644

[OE-core] [PATCHv2 2/4] image-postinst-intercepts.bbclass: add class

2018-07-27 Thread Christopher Larson
From: Christopher Larson This class sets POSTINST_INTERCEPTS and POSTINST_INTERCEPTS_CHECKSUMS, to allow us to pull intercepts from BBPATH. This is kept as a separate class, as it's needed by both image construction and sdk construction, the latter to support meta-toolchain & simila

[OE-core] [PATCHv2 1/4] oe.package_manager: support loading intercepts from multiple paths

2018-07-27 Thread Christopher Larson
From: Christopher Larson - if POSTINST_INTERCEPTS is set, use the listed intercept files, or - if POSTINST_INTERCEPTS_PATH is set, load from the listed paths, or - if POSTINST_INTERCEPTS_DIR is set, load from it (for compatibility), or - load from ${COREBASE}/meta/postinst-intercepts Signed-off

[OE-core] [PATCHv2 0/4] Pull postinst-intercepts from BBPATH

2018-07-27 Thread Christopher Larson
From: Christopher Larson These are the bits to allow us to pull intercepts from BBPATH. This is kept as a separate class, as it's needed by both image construction and sdk construction, the latter to support meta-toolchain & similar recipes. The following changes sin

Re: [OE-core] [PATCH 16/16] pax-utils: remove

2018-07-27 Thread Christopher Larson
; - > -PACKAGECONFIG ??= "" > - > -PACKAGECONFIG[libcap] = "--with-caps, --without-caps, libcap" > -PACKAGECONFIG[libseccomp] = "--with-seccomp, --without-seccomp, > libseccomp" > -PACKAGECONFIG[pyelftools] = "--with-python, --without-python,, pyelftools

Re: [OE-core] [PATCH] relocate_sdk.py: remove hardcoded SDK path

2018-07-17 Thread Christopher Larson
> > else: > > -new_prefix = sys.argv[1].encode() > > - new_dl_path = sys.argv[2].encode() > > +new_prefix = sys.argv[2].encode() > > +new_dl_path = sys.argv[3].encode() > > + > > +executables_list = sys.argv[4:] > > > > -execut

Re: [OE-core] [PATCH] python-setuptools.inc: avoid using += with an over-ride

2018-07-03 Thread Christopher Larson
think you're good, most likely it's still fine to remove it, but I wanted to clarify, as there *are* times when this is a useful thing to do. -- Christopher Larson kergoth at gmail dot com Founder - BitBake, OpenEmbedded, OpenZaurus Senior Software Engineer, Mentor Graphics -- _

Re: [OE-core] [PATCH] dhcp: update 4.4.1

2018-06-29 Thread Christopher Larson
On Fri, Jun 29, 2018 at 1:40 PM akuster808 wrote: > > > On 06/29/2018 08:13 AM, Christopher Larson wrote: > > > > On Sun, Jun 24, 2018 at 11:43 AM Armin Kuster > wrote: > >> include several CVE fixes. >> CVE: CVE-2018-5733 >> CVE: CVE-2018-5732

Re: [OE-core] [PATCH] dhcp: update 4.4.1

2018-06-29 Thread Christopher Larson
able-libtool \ > " > > +#Enable shared libs per dhcp README > +do_configure () { > + cd ${S} > + cp configure.ac+lt configure.ac > +autoreconf -i > + ./configure ${CONFIGUREOPTS} ${EXTRA_OECONF} > + automake > 1. Why ru

Re: [OE-core] [OE-Core][PATCH 1/2] image: Set COREBASE as the git directory for timestamp

2018-06-28 Thread Christopher Larson
he > ${COREBASE}/meta/conf/bitbake.conf file. > That's a good idea, but I'd suggest using bb.utils.which() to locate conf/bibake.conf rather than hardcoding that path. -- Christopher Larson kergoth at gmail dot com Founder

Re: [OE-core] [PATCH 1/6] oe.scriptutils.run_editor: ditch the error-prone argument quoting

2018-06-27 Thread Christopher Larson
On Wed, Jun 27, 2018 at 5:52 AM Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > On Fri, 2018-06-22 at 02:07 +0500, Christopher Larson wrote: > > From: Christopher Larson > > > > Rather than trying to construct a string by quoting the files in an > &g

Re: [OE-core] [PATCH 3/5] bbpath-intercepts.bbclass: add class

2018-06-22 Thread Christopher Larson
On Fri, Jun 22, 2018 at 8:10 AM Christopher Larson wrote: > > > On Fri, Jun 22, 2018 at 12:42 AM Richard Purdie < > richard.pur...@linuxfoundation.org> wrote: > >> On Fri, 2018-06-22 at 02:08 +0500, Christopher Larson wrote: >> > From: Christoph

Re: [OE-core] [PATCH] systemd: quote SYSTEMD_SERVICE in prerm and postinst

2018-06-22 Thread Christopher Larson
> fi > > - systemctl $OPTS disable ${SYSTEMD_SERVICE} > + systemctl $OPTS disable "${SYSTEMD_SERVICE}" > fi > } > > -- > 2.17.1 > > -- > ___

Re: [OE-core] [PATCH 3/5] bbpath-intercepts.bbclass: add class

2018-06-22 Thread Christopher Larson
On Fri, Jun 22, 2018 at 12:42 AM Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > On Fri, 2018-06-22 at 02:08 +0500, Christopher Larson wrote: > > From: Christopher Larson > > > > This class sets POSTINST_INTERCEPTS and > > POSTINST_INTERCEPTS_C

Re: [OE-core] [PATCH 6/6] perf: drop the rdep on man

2018-06-22 Thread Christopher Larson
On Fri, Jun 22, 2018 at 12:36 AM Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > On Fri, 2018-06-22 at 02:07 +0500, Christopher Larson wrote: > > From: Christopher Larson > > > > It's not common practice to make -doc rdep on man when man page

[OE-core] [PATCH 3/5] bbpath-intercepts.bbclass: add class

2018-06-21 Thread Christopher Larson
From: Christopher Larson This class sets POSTINST_INTERCEPTS and POSTINST_INTERCEPTS_CHECKSUMS, to allow us to pull intercepts from BBPATH. This is kept as a separate class, as it's needed by both image construction and sdk construction, the latter to support meta-toolchain & simila

[OE-core] [PATCH 5/5] populate_sdk_base.bbclass: inherit and use bbpath-intercepts

2018-06-21 Thread Christopher Larson
From: Christopher Larson Signed-off-by: Christopher Larson --- meta/classes/populate_sdk_base.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass index 3da350747e2..8b576e1bfde 100644

[OE-core] [PATCH 2/5] oe.package_manager: support loading intercepts from multiple paths

2018-06-21 Thread Christopher Larson
From: Christopher Larson - if POSTINST_INTERCEPTS is set, use the listed intercept files, or - if POSTINST_INTERCEPTS_PATH is set, load from the listed paths, or - if POSTINST_INTERCEPTS_DIR is set, load from it (for compatibility), or - load from ${COREBASE}/meta/postinst-intercepts Signed-off

[OE-core] [PATCH] recipetool: add 'edit' subcommand

2018-06-21 Thread Christopher Larson
From: Christopher Larson This edits the recipe and any bbappends for the specified target. Signed-off-by: Christopher Larson --- scripts/lib/recipetool/edit.py | 54 ++ 1 file changed, 54 insertions(+) create mode 100644 scripts/lib/recipetool/edit.py

[OE-core] [PATCH 4/5] image.bbclass: inherit and use bbpath-intercepts

2018-06-21 Thread Christopher Larson
From: Christopher Larson Signed-off-by: Christopher Larson --- meta/classes/image.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 2247b305da8..29bd716f8d3 100644 --- a/meta/classes/image.bbclass +++ b

[OE-core] [PATCH 0/5] Pull postinst-intercepts from BBPATH

2018-06-21 Thread Christopher Larson
From: Christopher Larson These are the bits to allow us to pull intercepts from BBPATH. This is kept as a separate class, as it's needed by both image construction and sdk construction, the latter to support meta-toolchain & similar recipes. The following changes sin

[OE-core] [PATCH 0/6] A few misc fixes from meta-mentor-staging

2018-06-21 Thread Christopher Larson
From: Christopher Larson The following changes since commit 83c9405df5748744ef673ac8757bb89d7050ad8d: alsa-tools: rewrite packaging (2018-06-15 11:18:15 +0100) are available in the git repository at: g...@github.com:kergoth/openembedded-core.git misc-fixes for you to fetch changes up to

[OE-core] [PATCH 2/2] rng-tools: start earlier in the boot process

2018-06-21 Thread Christopher Larson
From: Christopher Larson Entropy is needed earlier in the boot process in some cases, for example connman can require it, and rgd doesn't require much, so move it earlier in the boot process, 03 for sysvinit, and before sysinit for systemd. Signed-off-by: Christopher Larson --- meta/re

  1   2   3   4   5   6   7   8   9   10   >