mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
package/mender: bump version to 3.5.3
Updating directly to 4.x is too difficult and complex, as mender 4.x is a complete rewrite in C++, with several new dependencies and changes. As such, update to the last version that was written in Go, which is 3.5.3. The following changes are necessary: The artifact_info file is no longer supported. Instead, mender now expects a bootstrap.mender artifact created by mender-artifact /var/lib/mender. See the following for more information: https://northerntech.atlassian.net/browse/MEN-2585 https://northerntech.atlassian.net/browse/MEN-2583 https://docs.mender.io/release-information/release-notes-changelog/mender-client#mender-3-5-0-1 https://github.com/mendersoftware/mender/blob/3.5.3/Documentation/automatic-bootstrap-artifact.md - Remove all instances of creating or copying an artifact_info file from board examples and package/mender. - Add a generate_mender_bootstrap_artifact method to board/mender/x86_64/post-image-efi.sh which creates a proper bootstrap.mender file and places it in the data partition. - Add a post-build.sh script to support/testing/tests/package/test_mender with the same generate_mender_bootstrap_artifact method with one change: As the rootfs.ext4 file is not yet created; we omit the optional --provides "rootfs-image.checksum:${img_checksum}" argument when generating the bootstrap.mender file. Mender expects the device_type file to exist in /var/lib/mender/device_type. This is further supported by the following line in tests/Dockerfile.daemon: `echo device_type=docker-client > /var/lib/mender/device_type` Add a migration section in docs/manual/migrating.adoc Update the package/mender/readme.txt to include a quick mention of the bootstrap.mender artifact change. License changes: New: vendor/github.com/klauspost/compress/internal/snapref/LICENSE (BSD-3-Clause) vendor/github.com/klauspost/compress/zstd/internal/xxhash/LICENSE.txt (MIT) Removed: vendor/github.com/klauspost/compress/internal/snapref/LICENSE vendor/github.com/klauspost/compress/zstd/internal/xxhash/LICENSE.txt Modified: LICENSE: Update year from 2022 to 2024 LIC_FILES_CHKSUM.sha256: Sum of all Licenses changed vendor/github.com/mendersoftware/mender-artifact/LICENSE - Update year from 2022 to 2023 Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com> [Arnout: - fix LIC_FILES_CHKSUM.sha256 hash - Better URL for bootstrap artifact doc - Migrate to 2025.02 instead of 2024.11 - Improve migrating text (editorial changes) ] Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
committed by
Arnout Vandecappelle
parent
ddc348d46f
commit
67c6d1b12c
@@ -184,3 +184,14 @@ sed -r -i -e 's/(\.tar\.gz)$/-cargo2\1/' $(
|
||||
|
||||
Note that the hash _will_ have changed, so that needs to be updated
|
||||
(manually) as well.
|
||||
|
||||
[[migrating-mender]]
|
||||
=== Migrating to 2025.02
|
||||
|
||||
Mender now requires a special bootstrap artifact to be placed in
|
||||
+/var/lib/mender+. This replaces the +artifact_info+ file. Just like a
|
||||
normal artifact, the bootstrap artifact is generated with
|
||||
host-mender-artifact. See +board/mender/x86_64/post-image-efi.sh+ for an
|
||||
example of how to generate the bootstrap.mender file. See
|
||||
https://docs.mender.io/release-information/release-notes-changelog/mender-client#mender-3-5-0-1[the
|
||||
release notes], under features, for more information.
|
||||
|
||||
Reference in New Issue
Block a user