Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scarthgap #3400

Draft
wants to merge 29 commits into
base: master
Choose a base branch
from
Draft

Scarthgap #3400

wants to merge 29 commits into from

Conversation

jakogut
Copy link
Contributor

@jakogut jakogut commented Apr 2, 2024


Contributor checklist

Reviewer Guidelines

  • When submitting a review, please pick:
    • 'Approve' if this change would be acceptable in the codebase (even if there are minor or cosmetic tweaks that could be improved).
    • 'Request Changes' if this change would not be acceptable in our codebase (e.g. bugs, changes that will make development harder in future, security/performance issues, etc).
    • 'Comment' if you don't feel you have enough information to decide either way (e.g. if you have major questions, or you don't understand the context of the change sufficiently to fully review yourself, but want to make a comment)

This is a 1:1 copy of meta-balena-kirkstone.

Change-type: patch
Signed-off-by: Joseph Kogut <joseph@balena.io>
As of Yocto Mickledore (4.2), checksums are mandatory for Rust crates.

https://docs.yoctoproject.org/next/migration-guides/migration-4.2.html#rust-mandatory-checksums-for-crates

Change-type: patch
Signed-off-by: Joseph Kogut <joseph@balena.io>
As of Yocto Mickledore (4.2), checksums are mandatory for Rust crates.

https://docs.yoctoproject.org/next/migration-guides/migration-4.2.html#rust-mandatory-checksums-for-crates

Change-type: patch
Signed-off-by: Joseph Kogut <joseph@balena.io>
As of Yocto Mickledore (4.2), checksums are mandatory for Rust crates.

https://docs.yoctoproject.org/next/migration-guides/migration-4.2.html#rust-mandatory-checksums-for-crates

Change-type: patch
Signed-off-by: Joseph Kogut <joseph@balena.io>
As of Yocto Mickledore (4.2), checksums are mandatory for Rust crates.

https://docs.yoctoproject.org/next/migration-guides/migration-4.2.html#rust-mandatory-checksums-for-crates

Change-type: patch
Signed-off-by: Joseph Kogut <joseph@balena.io>
Drop unneeded patch, as it raises a QA issue, and isn't needed anymore
after enabling usrmerge.

Fixes "QA Issue: Malformed Upstream-Status in patch"

Change-type: patch
Signed-off-by: Joseph Kogut <joseph@balena.io>
bmaptool was renamed and incorporated into the Yocto project in
Scarthgap, so adjust the package name.

Change-type: patch
Signed-off-by: Joseph Kogut <joseph@balena.io>
Change-type: patch
Signed-off-by: Joseph Kogut <joseph@balena.io>
Change-type: patch
Signed-off-by: Joseph Kogut <joseph@balena.io>
@jakogut jakogut force-pushed the jakogut/scarthgap branch 2 times, most recently from 1536523 to 087b6c4 Compare April 2, 2024 22:35
@jakogut jakogut force-pushed the jakogut/scarthgap branch 2 times, most recently from 84919bc to 66db232 Compare April 3, 2024 23:27
jakogut and others added 15 commits April 4, 2024 06:36
Fixes build with kernel v6.6.

Change-type: patch
Signed-off-by: Joseph Kogut <joseph@balena.io>
Change-type: patch
Signed-off-by: Joseph Kogut <joseph@balena.io>
Change-type: patch
Signed-off-by: Joseph Kogut <joseph@balena.io>
Bump to latest revision, which pulls in Makefile fixes for merged usr
directory.

Change-type: patch
Signed-off-by: Joseph Kogut <joseph@balena.io>
Signed-off-by: Joseph Kogut <joseph@balena.io>
Change-type: patch
Signed-off-by: Joseph Kogut <joseph@balena.io>
Change-type: patch
Signed-off-by: Joseph Kogut <joseph@balena.io>
Change-type: patch
Signed-off-by: Joseph Kogut <joseph@balena.io>
Change-type: patch
Signed-off-by: Joseph Kogut <joseph@balena.io>
Co-authored-by: Alexandru Costache <alexandru@balena.io>
Yocto scarthgap includes a version of systemd that requires the usrmerge
distro feature. Enable it.

Change-type: patch
Signed-off-by: Joseph Kogut <joseph@balena.io>
This fixes an issue with the package not obeying the usrmerge feature.

Change-type: patch
Signed-off-by: Joseph Kogut <joseph@balena.io>
The datastore ('d') variable is no longer accessible in this event. Copy
upstream behavior and get the datastore from the 'e' variable available
to the event handler.

Change-type: patch
Signed-off-by: Joseph Kogut <joseph@balena.io>
We have a Rust layer in order to use the same toolchain across all
supported compatibility layers.

Yocto Langdale splits classes by usage context [0], which makes our recipe
inherit from the upstream class instead of the one from the same layer.

Add the balena- prefix to the classes for this layer to ensure we
inherit from the appropriate versions.

[0] https://docs.yoctoproject.org/next/migration-guides/migration-4.1.html#classes-now-split-by-usage-context

Change-type: patch
Signed-off-by: Joseph Kogut <joseph@balena.io>
Replace references to deprecated distutils module in Rust toolchain.

Change-type: patch
Signed-off-by: Joseph Kogut <joseph@balena.io>
Change-type: patch
Signed-off-by: Joseph Kogut <joseph@balena.io>
The networkmanager-daemon package specifies an initscript that a poky
postinstall script fails to find for installation, as we didn't copy it
to meta-balena, and use systemd instead.

Clear the initscript variables in the bbappend.

Change-type: patch
Signed-off-by: Joseph Kogut <joseph@balena.io>
Signed-off-by: Joseph Kogut <joseph@balena.io>
Nanbield introduced a minor change [0] that includes IMAGE_NAME_SUFFIX
in IMAGE_NAME and IMAGE_LINK_NAME.

Adapt image output paths to support this change, and backport the new
behavior to images built with older Yocto releases.

[0] https://docs.yoctoproject.org/dev/migration-guides/migration-4.3.html#output-file-naming-changes

Change-type: patch
Signed-off-by: Joseph Kogut <joseph@balena.io>
systemd-tmpfiles reports that /var/run is a legacy path, and updates it
to just /run

Update this configuration file to use the now preferred path to silence
this warning.

Change-type: patch
Signed-off-by: Joseph Kogut <joseph@balena.io>
Change-type: patch
Signed-off-by: Joseph Kogut <joseph@balena.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants