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
|
|
OpenEmbedded Happy Hour January 26 5pm/1700 UTC
Denys Dmytriyenko
All,
Our next OpenEmbedded Happy Hour is on January 26 for Europe/Americas timezones @ 1700/5pm UTC (12pm ET / 9am PT): https://www.openembedded.org/wiki/Calendar https://www.timeanddate.com/worldclock/fixedtime.html?msg=OpenEmbedded+Happy+Hour+January+26&iso=20220126T17 -- Regards, Denys Dmytriyenko <denis@denix.org> PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964 Fingerprint: 25FC E4A5 8A72 2F69 1186 6D76 4209 0272 9A92 C964
|
|
Re: [OE-core] Inclusive Language Proposal for YP/OE
Richard Purdie
On Tue, 2022-01-25 at 07:50 -0800, Chuck Wolber wrote:
On Mon, Jan 24, 2022 at 8:18 AM Jon Mason <jdmason@kudzu.us> wrote:The idea is we're trying to use the language which makes sense and "devel" says what the branch is/does. Cheers, Richard
|
|
[PATCH yocto-autobuilder-helper] run-docs-build: fix checkout of releases.rst from master
Michael Opdenacker
A wrong path was given given the working directory.
Also revert the changes with "git reset --hard" to have a clean state before further branch switches. Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> --- scripts/run-docs-build | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/scripts/run-docs-build b/scripts/run-docs-build index 5d6d24a..c93b3e6 100755 --- a/scripts/run-docs-build +++ b/scripts/run-docs-build @@ -43,11 +43,12 @@ cp -r ./_build/final/* $outputdir/bitbake/next # see the latest releases. for branch in 1.46 1.48 1.50 1.52; do git checkout $branch - git checkout master doc/releases.rst + git checkout master releases.rst make clean make publish mkdir $outputdir/bitbake/$branch cp -r ./_build/final/* $outputdir/bitbake/$branch + git reset --hard done # only sync bitbake folder for now. We need bitbake to be published first @@ -79,11 +80,12 @@ cp -r ./_build/final/* $outputdir/next for branch in dunfell gatesgarth hardknott honister; do cd $ypdocs git checkout $branch - git checkout master documentation/releases.rst + git checkout master releases.rst make clean make publish mkdir $outputdir/$branch cp -r ./_build/final/* $outputdir/$branch + git reset --hard done # Yocto Project releases/tags @@ -101,12 +103,13 @@ for tag in $(git tag --list 'yocto-*'); do if [ "$tag" = "yocto-3.3" ] || [ "$tag" = "yocto-3.4" ]; then git am "${scriptdir}/${tag}/0001-conf-update-for-release.patch" fi - git checkout master documentation/releases.rst + git checkout master releases.rst make clean make publish version=$(echo $tag | cut -c7-) mkdir $outputdir/$version cp -r ./_build/final/* $outputdir/$version + git reset --hard fi done -- 2.25.1
|
|
Re: [oe] Inclusive Language Proposal for YP/OE
Ross Burton <ross@...>
On Mon, 24 Jan 2022 at 16:18, Jon Mason <jdmason@kudzu.us> wrote:
CVE_CHECK_PN_WHITELIST -> CVE_CHECK_SKIPRECIPEThis is the only one that sticks out to me. I think it needs another _, SKIP_RECIPE and IGNORE_CVE. Other than that, +1. Will we have a bit of logic to detect the obsolete names being set and emit warnings/errors? Ross
|
|
Re: [oe] [OE-core] Inclusive Language Proposal for YP/OE
Ross Burton <ross@...>
On Tue, 25 Jan 2022 at 15:50, Chuck Wolber <chuckwolber@gmail.com> wrote:
Personally, the only advantage of 'main' is muscle memory of m[tab].Branch Names Semantically it's not the 'main' branch, it's the active development branch. Thus, devel. Ross
|
|
Yocto Project Status WW04`22
Stephen Jolley
Current Dev Position: YP 3.5 M3 Next Deadline: 21th Feb. 2022 YP 3.5 M3 build
Next Team Meetings:
Key Status/Updates:
Ways to contribute:
YP 3.5 Milestone Dates:
Upcoming dot releases:
Tracking Metrics:
The Yocto Project’s technical governance is through its Technical Steering Committee, more information is available at: https://wiki.yoctoproject.org/wiki/TSC
The Status reports are now stored on the wiki at: https://wiki.yoctoproject.org/wiki/Weekly_Status
[If anyone has suggestions for other information you’d like to see on this weekly status update, let us know!]
Thanks,
Stephen K. Jolley Yocto Project Program Manager ( Cell: (208) 244-4460 * Email: sjolley.yp.pm@...
|
|