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 30 commits into
base: master
Choose a base branch
from
Draft

Scarthgap #3400

wants to merge 30 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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
bmaptool was renamed and incorporated into the Yocto project in
Scarthgap, so adjust the package name.

Change-type: patch
Signed-off-by: Joseph Kogut <[email protected]>
Change-type: patch
Signed-off-by: Joseph Kogut <[email protected]>
Change-type: patch
Signed-off-by: Joseph Kogut <[email protected]>
@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 <[email protected]>
Change-type: patch
Signed-off-by: Joseph Kogut <[email protected]>
Change-type: patch
Signed-off-by: Joseph Kogut <[email protected]>
Bump to latest revision, which pulls in Makefile fixes for merged usr
directory.

Change-type: patch
Signed-off-by: Joseph Kogut <[email protected]>
Change-type: patch
Signed-off-by: Joseph Kogut <[email protected]>
Change-type: patch
Signed-off-by: Joseph Kogut <[email protected]>
Change-type: patch
Signed-off-by: Joseph Kogut <[email protected]>
Change-type: patch
Signed-off-by: Joseph Kogut <[email protected]>
Co-authored-by: Alexandru Costache <[email protected]>
Yocto scarthgap includes a version of systemd that requires the usrmerge
distro feature. Enable it.

Change-type: patch
Signed-off-by: Joseph Kogut <[email protected]>
This fixes an issue with the package not obeying the usrmerge feature.

Change-type: patch
Signed-off-by: Joseph Kogut <[email protected]>
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 <[email protected]>
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 <[email protected]>
Replace references to deprecated distutils module in Rust toolchain.

Change-type: patch
Signed-off-by: Joseph Kogut <[email protected]>
Change-type: patch
Signed-off-by: Joseph Kogut <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
Change-type: patch
Signed-off-by: Joseph Kogut <[email protected]>
When building plymouth 24.004.60 with GCC 13.2 and the `-Dudev=disabled`
configuration, the build fails with several undefined symbols.

    | /work/build/tmp/work/core2-64-poky-linux/plymouth/24.004.60/recipe-sysroot-native/usr/bin/x86_64-poky-linux/../../libexec/x86_64-poky-linux/gcc/x86_64-poky-linux/13.2.0/ld: src/libply-splash-core/libply-splash-core.so.5.0.0.p/ply-device-manager.c.o: in function `create_devices_for_terminal_and_renderer_type':
    | ply-device-manager.c:(.text+0xf1e): undefined reference to `add_input_devices_to_renderer'
    | collect2: error: ld returned 1 exit status

It's unclear what's causing this build error, but it appears to be a bug
in plymouth. Building with clang results in a similar undefined symbol
error.

Rather than clearing the entire PACKAGECONFIG variable, explicitly
remove unneeded configs, leaving udev enabled to fix the build.

Change-type: patch
Signed-off-by: Joseph Kogut <[email protected]>
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