Re: Additional hardening options
On Wed, Jan 26, 2022 at 1:17 PM Paul Eggleton
<bluelightning@bluelightning.org> wrote: That is good testimony, it will be good to know how this option impacts performance and does it work across architectures and libc's supported in OE.
|
|
Re: Additional hardening options
Alexander Kanavin
I guess you can submit a patch, and it can be taken for a spin on the autobuilder? Alex
On Wed, 26 Jan 2022 at 22:17, Paul Eggleton <bluelightning@...> wrote: On Wednesday, 26 January 2022 14:39:39 NZDT Paul Eggleton wrote:
|
|
Re: Additional hardening options
Paul Eggleton
On Wednesday, 26 January 2022 14:39:39 NZDT Paul Eggleton wrote:
Hi folksAnother quirk of this - with dunfell, the buildepoxy SDK test fails on Ubuntu 18.04 with -fstack-clash-protection because the version of meson in dunfell uses the same LDFLAGS value for both host and target, and host gcc doesn't support that option. Not sure what to do other than just filtering out the option from LDFLAGS in the test. Cheers Paul
|
|
Re: linux-firmware_20211216
On 1/26/22 10:10 AM, Khem Raj wrote:
On Wed, Jan 26, 2022 at 9:21 AM Rudolf J StreifThanks, Khem. I sent a patch to OE. --Thanks, Rudolf J Streif CEO/CTO ibeeto +1.855.442.3386 x700
|
|
Re: linux-firmware_20211216
On Wed, Jan 26, 2022 at 9:21 AM Rudolf J Streif
<rudolf.streif@ibeeto.com> wrote: seems an oversight. Thanks,
|
|
Re: build yocto 2.6 on Ubuntu 20.04
Bill Plunkett
It's been a while, but I was able to build yocto sumo (2.5) using https://github.com/crops/poky-container
On Wed, Jan 26, 2022 at 9:51 AM Alexander Kanavin <alex.kanavin@...> wrote:
|
|
Python3 app install best practice
Mauro Ziliani
Hi all
I'd like to install my python3 application in a custom folder with all local packages and data. The source code folder has this tree ./myapp/__main__.py ./package/__init__.py ./package/pkg.py I manage the application by myapp_1.0.bb recipe. I'd like the myapp_1.0.ipk package contains /home/apps/myapp/__main__.py /home/apps/package/__init__.py /home/apps/package/pkg.py I try setup.py and inherit setuptools3 in my myapp_git.bb but 'packages' is installed under python system folder. There is a way to customize the path of python package installation? MZ
|
|
linux-firmware_20211216
I got a question about the linux-firmware-bcm4373 package. The link
/lib/firmware/brcm/brcmfmac4373-sdio.clm_blob -> ../cypress/cyfmac4373-sdio.clm_blob is packaged into linux-firmware and not into linux-firmware-bcm4373. It's essentially not included in FILES:${PN}-bcm4373 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4373-sdio.bin \ ${nonarch_base_libdir}/firmware/brcm/brcmfmac4373.bin \ ${nonarch_base_libdir}/firmware/cypress/cyfmac4373-sdio.bin \ " which means it is automatically packaged as a "leftover" into linux-firmware. Is there a reason for that or is it simply an oversight? Thanks, Rudi -- Rudolf J Streif CEO/CTO ibeeto +1.855.442.3386 x700
|
|
Re: build yocto 2.6 on Ubuntu 20.04
Alexander Kanavin
I think the best way out for you is to set up a container with a supported older distribution. Usually you need an older gcc version from the host machine, so the container will have that. Alex
On Wed, 26 Jan 2022 at 17:43, Jacob Avraham <jacob.avraham@...> wrote:
|
|
build yocto 2.6 on Ubuntu 20.04
Jacob Avraham
Hi, Has anyone tried to build yocto 2.6 on Ubuntu 20.04? I know it's not supported, but it's a major task for me to upgrade to yocto 3.x. I tried it myself and it fails on building qemu-native. I wonder if anyone worked around this. Thanks, Jacob
|
|
Preferred provide base-utils issue
pvanberlo@...
Hello, so I'm a bit at a loss. I admit, I've not yet been using Yocto for a long time. I'm trying to use base-utils as provided by packagegroup-core-base-utils to have a more full featured set of base utils instead of busybox. It all builds just fine, however, whatever I do (using dunfell), it ends up with a kernel panic during boot. I added the following to local.conf on a clean clone of poky: INIT_MANAGER="systemd" IMAGE_FSTYPES="live" PREFERRED_PROVIDER_base-utils = "packagegroup-core-base-utils" VIRTUAL-RUNTIME_base-utils = "packagegroup-core-base-utils" VIRTUAL-RUNTIME_base-utils-hwclock = "util-linux-hwclock" VIRTUAL-RUNTIME_base-utils-syslog = "" Does anyone have any idea how to get this to work? Regards, Paul van Berlo
|
|
Re: [oe] Inclusive Language Proposal for YP/OE
Mikko Rapeli
Hi,
On Tue, Jan 25, 2022 at 04:30:40PM +0000, Ross Burton wrote: On Mon, 24 Jan 2022 at 16:18, Jon Mason <jdmason@kudzu.us> wrote:Please don't include CVE twice in the variable name, that's was annoying and justCVE_CHECK_PN_WHITELIST -> CVE_CHECK_SKIPRECIPEThis is the only one that sticks out to me. I think it needs another got used to the CVE_CHECK_WHITELIST one. CVE_CHECK_IGNORE would do. Cheers, -Mikko Other than that, +1.
|
|
Re: [PATCH yocto-autobuilder-helper] run-docs-build: fix checkout of releases.rst from master
Quentin Schulz
Hi Michael,
On January 25, 2022 5:45:46 PM GMT+01:00, Michael Opdenacker <michael.opdenacker@bootlin.com> wrote: A wrong path was given given the working directory.One change at a time please ☺️ Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>This should be done right after the git checkout. It's better to ensure what you build is clean that try to ensure the next oneto build has a clean env. Especially since checkouts can dirty the git repo I think (I've had this issue multiple times when switching between kernel branches far enough from one another). Also git reset --hard is not enough. I use git clean -ffdx instead usually. Didn't have a problem with this one for a while now. doneDitto. doneDitto. Cheers, Quentin fi
|
|
Building yocto image for RPi CM4
#raspberrypi
Sourabh Hegde
Hello All,
Advice on working with Yocto and Raspberry Pi CM4 Lite would be helpful. I recently got my hands on with CM4 and now I want to build Yocto image with u-boot as bootloader. I have few doubts before I start the build.
My intention is to use RPi CM4 for software updates using RAUC. Can anyone please let me about these? This would help me to get started. Thanks in advance. Please let me know if any details are missing.
|
|
Fetch private gitlab repo using ssh with Yocto recipe
#bitbake
Sourabh Hegde
I am trying to fetch a private gitlab repo within Yocto image recipe using SSH protocol. In my image recipe I have passed
SRC_URI as:
But this results in the error:
But I am able to clone the repo using SSH key is already added to the Gitlab. There is no config file in my Can anyone please let me know how to resolve this? Thanks in advance.
|
|
Re: [qa-build-notification] QA notification for completed autobuilder build (yocto-3.5_M2.rc6)
Teoh, Jay Shen
Hi all,
toggle quoted messageShow quoted text
Intel and WR YP QA is planning for QA execution for YP build yocto-3.5_M2.rc6. We are planning to execute following tests for this cycle: OEQA-manual tests for following module: 1. OE-Core 2. BSP-hw Runtime auto test for following platforms: 1. MinnowTurbot 32-bit 2. Coffee Lake 3. NUC 7 4. NUC 6 5. Edgerouter 6. Beaglebone ETA for completion next Monday, Jan 31. Thanks, Jay
-----Original Message-----
|
|
Re: Inclusive Language Proposal for YP/OE
Paul Eggleton
On Tuesday, 25 January 2022 21:26:33 NZDT Paul Barker wrote:
The layer index may need some modification to handle different layersThe layer index does already support this, it's just not exposed (at the time I introduced it - some time ago - I thought it might encourage people to deviate from the release branch names, but in hindsight that was probably not worth worrying about.) So at the moment an admin can set an alternative branch name. It would not be hard to expose it through the UI for layer maintainers though. Cheers, Paul
|
|
Additional hardening options
Paul Eggleton
Hi folks
I've been looking into a couple of compiler flags for hardening that I think we might want to consider enabling by default in security-flags.inc: 1) -fstack-clash-protection This option was introduced to gcc 8.x and provides protection against the stack clash vulnerability: https://securingsoftware.blogspot.com/2017/12/stack-clash-vulnerability.html It has been enabled in some Linux distributions already (e.g. Ubuntu, Fedora). 2) -z noexecstack (or alternative mitigations) gcc will enable an executable stack under a few different circumstances - see here for details https://wiki.gentoo.org/wiki/Hardened/GNU_stack_quickstart I've written a check that we could add to insane.bbclass that warns/errors on binaries with an executable stack. Does this seem reasonable to have? The other possibility is we add -Wl,-z,noexecstack to LDFLAGS and then see what breaks, but unfortunately issues are likely only going to show up when the program crashes at runtime, and also it will stop the aforementioned check from working. Any opinions? Thanks Paul
|
|
[yocto-autobuilder2][PATCH] schedulers.py: run AUH twice a month
Alexander Kanavin
Once a week has proven a bit too hectic: it's better to have
more time to test, submit, review and integrate the updates before AUH runs again. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> --- schedulers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/schedulers.py b/schedulers.py index a5d740e..32e3efe 100644 --- a/schedulers.py +++ b/schedulers.py @@ -417,9 +417,9 @@ schedulers.append(sched.Nightly(name='nightly-buildperf-ubuntu1604', branch='mas schedulers.append(sched.Nightly(name='nightly-buildperf-centos7', branch='master', properties=parent_default_props('buildperf-centos7'), builderNames=['buildperf-centos7'], hour=[3,9,15,21], minute=0)) -# Run the AUH every Sunday +# Run the AUH twice a month on 1st and 15th schedulers.append(sched.Nightly(name='nightly-auh', branch='master', properties=parent_default_props('auh'), - builderNames=['auh'], dayOfWeek=6, hour=5, minute=0)) + builderNames=['auh'], dayOfMonth=[1, 15], hour=5, minute=0)) # If any of our sphinx docs branches change, trigger a build schedulers.append(sched.AnyBranchScheduler(name="yocto-docs-changed", -- 2.34.1
|
|
Re: [OE-core] Inclusive Language Proposal for YP/OE
On 2022-01-24 11:17, Jon Mason wrote:
Jon,From the beginning, OpenEmbedded and The Yocto Project have alwaysstrived to be as inclusive as possible to all races, sexes, I've looked over all the changes and agree with Ross on his one suggestion and that the rest of the changes are fine. The new terms are equally or in some cases more clear so hopefully that will result in less confusion and a better experience for everyone at the one-time cost of a hopefully not too bumpy transition. Thanks! ../Randy Bitbake Variables -- # Randy MacLeod # Wind River Linux
|
|