From 44f458d07a8b9c1a30f16080067019cabe363e8c Mon Sep 17 00:00:00 2001 From: "flowzone-app[bot]" <124931076+flowzone-app[bot]@users.noreply.github.com> Date: Fri, 13 Sep 2024 22:50:32 +0000 Subject: [PATCH] v6.0.25 --- .versionbot/CHANGELOG.yml | 636 ++++++++++++++++++++++++++++++++++++++ CHANGELOG.md | 174 +++++++++++ VERSION | 2 +- 3 files changed, 811 insertions(+), 1 deletion(-) diff --git a/.versionbot/CHANGELOG.yml b/.versionbot/CHANGELOG.yml index 62a4efa2..38843ee5 100644 --- a/.versionbot/CHANGELOG.yml +++ b/.versionbot/CHANGELOG.yml @@ -1,3 +1,639 @@ +- commits: + - subject: Update layers/meta-balena to 743309ff6019a6b956ad21f73ced5ae5673f2b1b + hash: 891710c6214ce05fb5e1bac99549129aecade0d8 + body: Update layers/meta-balena + footer: + Changelog-entry: Update layers/meta-balena to 743309ff6019a6b956ad21f73ced5ae5673f2b1b + changelog-entry: Update layers/meta-balena to 743309ff6019a6b956ad21f73ced5ae5673f2b1b + author: balena-renovate[bot] + nested: + - commits: + - subject: "initrdscripts: Make cryptsetup fail hard in unexpected conditions" + hash: c1bccdbd95bcb0202c4b80679ade0967df643342 + body: > + This patch adds a set of checks that make sure that the + partition + + layout is as expected on a system with encrypted disks. Namely + it + + * Checks that the boot partition is split + + * Checks that it can find the correct amount of encrypted + partitions + + * Checks that the label on the unlocked filesystem matches the + label + on the encrypted partition + * Checks that system is not mixing encrypted and unencrypted + partitions + * Checks there are no ambiguities or duplicit partitions + footer: + Change-type: patch + change-type: patch + Signed-off-by: Michal Toman + signed-off-by: Michal Toman + author: Michal Toman + nested: [] + version: meta-balena-6.0.25 + title: "" + date: 2024-09-13T16:23:25.632Z + - commits: + - subject: "common: fix return in commit_apply-dbx HUP hook" + hash: a557b614a0ce2cf39d6bdfb3e464834b0d570895 + body: > + This code was moved from rollback-health into a hostapp-update + commit + + hook, where it now runs outside of a function. + + + Replace the invalid return statements with exits. + footer: + Change-type: patch + change-type: patch + Signed-off-by: Joseph Kogut + signed-off-by: Joseph Kogut + author: Joseph Kogut + nested: [] + version: meta-balena-6.0.24 + title: "" + date: 2024-09-13T08:22:06.217Z + - commits: + - subject: "tests:os: Avoid setting apiEndpoint for unmanaged tests" + hash: 123e5476c4740abb29e0818d93449ca8da804f5c + body: > + When this config.json field has a value, the supervisor will + treat the device as managed and will crash and start to boot + loop. + + + On faster device-types we don't seem to notice and the tests + pass by chance, but on Pi Zero and similar we consistently see + ECONNRESET when hitting local SV endpoints. + footer: + Change-type: patch + change-type: patch + Signed-off-by: Kyle Harding + signed-off-by: Kyle Harding + author: Kyle Harding + nested: [] + version: meta-balena-6.0.23 + title: "" + date: 2024-09-12T18:15:21.088Z + - commits: + - subject: Update balena-os/balena-yocto-scripts action to v1.25.39 + hash: 6e1c2685e6be2982ca7175936e0f4babae37081f + body: | + Update balena-os/balena-yocto-scripts from v1.25.30 to v1.25.39 + footer: + Change-type: patch + change-type: patch + author: balena-renovate[bot] + nested: [] + version: meta-balena-6.0.22 + title: "" + date: 2024-09-12T01:14:39.979Z + - commits: + - subject: Update balena-os/balena-yocto-scripts action to v1.25.30 + hash: c6c64ab317c0a7756c6a0aa218ab656b468b56df + body: | + Update balena-os/balena-yocto-scripts from v1.25.28 to v1.25.30 + footer: + Change-type: patch + change-type: patch + author: balena-renovate[bot] + nested: [] + version: meta-balena-6.0.21 + title: "" + date: 2024-09-01T04:40:51.408Z + - commits: + - subject: "tests: config: restore both network options to false" + hash: a1ed821735940bd56b3f6b92ae3db85bba4dd241 + body: | + See: https://github.com/balena-os/meta-balena/pull/3117 + footer: + Change-type: patch + change-type: patch + Signed-off-by: Kyle Harding + signed-off-by: Kyle Harding + author: Kyle Harding + nested: [] + version: meta-balena-6.0.20 + title: "" + date: 2024-08-31T14:20:53.330Z + - commits: + - subject: Update balena-supervisor to v16.6.1 + hash: 6fdf650a5e214dacb40dd87e34c9369464cc2d12 + body: | + Update balena-supervisor from 16.5.8 to 16.6.1 + footer: + Change-type: patch + change-type: patch + author: balena-renovate[bot] + nested: + - commits: + - subject: Remove unused patchDevice function + hash: 788afee9a1ebce3d1a319b0ca998ba4163f482ce + body: > + This function was a remainder of the dependent devices + code that no + + was removed on #2105 + footer: + Change-type: patch + change-type: patch + author: Felipe Lalanne + nested: [] + version: balena-supervisor-16.6.1 + title: "" + date: 2024-08-29T16:36:07.606Z + - commits: + - subject: Add support for redsocks dnsu2t config + hash: eaa07e97a9fd2089d1f6a2f3bdff74215cdee789 + body: > + Users may specify dnsu2t config by including a `dns` + field + + in the `proxy` section of PATCH /v1/device/host-config's + body: + + ``` + + { + network: { + proxy: { + dns: '1.1.1.1:53', + } + } + } + + ``` + + + If `dns` is a string, ADDRESS and PORT are required and + should be + + in the format `ADDRESS:PORT`. The endpoint with error + with + + code 400 if either ADDRESS or PORT are missing. + + + `dns` may also be a boolean. If true, defaults will be + configured. + + If false, the dns configuration will be removed. + + + If `proxy` is patched to empty, `dns` will be removed + regardless + + of its current or input configs, as `dns` depends on an + active + + redsocks proxy to function. + footer: + Change-type: minor + change-type: minor + Signed-off-by: Christina Ying Wang + signed-off-by: Christina Ying Wang + author: Christina Ying Wang + nested: [] + version: balena-supervisor-16.6.0 + title: "" + date: 2024-08-28T22:47:08.152Z + version: meta-balena-6.0.19 + title: "" + date: 2024-08-31T07:40:08.932Z + - commits: + - subject: Update balena-os/balena-yocto-scripts action to v1.25.28 + hash: 5d1ed6bafe7269c890b1f976f1065df7407ae7e7 + body: | + Update balena-os/balena-yocto-scripts from v1.25.26 to v1.25.28 + footer: + Change-type: patch + change-type: patch + author: balena-renovate[bot] + nested: [] + version: meta-balena-6.0.18 + title: "" + date: 2024-08-31T04:29:39.151Z + - commits: + - subject: Update Pin balena-os/balena-yocto-scripts action to a3dfa26 + hash: 3243ce257ab7824e3cf90e214dc31e56b3697ec5 + body: | + Update balena-os/balena-yocto-scripts + footer: + Change-type: patch + change-type: patch + author: balena-renovate[bot] + nested: [] + version: meta-balena-6.0.17 + title: "" + date: 2024-08-31T01:13:35.118Z + - commits: + - subject: Update tests/leviathan digest to ff6a079 + hash: 5b915b20c402774b2926a8f2ea73200daffdd607 + body: Update tests/leviathan + footer: + Change-type: patch + change-type: patch + author: balena-renovate[bot] + nested: + - commits: + - subject: Update core/contracts digest to 59752b7 + hash: 77fb084fa0073a4ce024c258bc81b44c7df84daa + body: | + Update core/contracts + footer: + Change-type: patch + change-type: patch + author: balena-renovate[bot] + nested: [] + version: leviathan-2.31.29 + title: "" + date: 2024-08-29T19:33:37.619Z + - commits: + - subject: Update balena-os/leviathan-worker to v2.9.43 + hash: 47bf1a79a6935e7c99430266f67d90f0f0155256 + body: | + Update balena-os/leviathan-worker from 2.9.41 to 2.9.43 + footer: + Change-type: patch + change-type: patch + author: balena-renovate[bot] + nested: [] + version: leviathan-2.31.28 + title: "" + date: 2024-08-29T18:44:20.177Z + - commits: + - subject: Update docker/setup-buildx-action digest to 988b5a0 + hash: e6b3ef176fbadff3adeb317158d8be96c635092a + body: | + Update docker/setup-buildx-action + footer: + Change-type: patch + change-type: patch + author: balena-renovate[bot] + nested: [] + version: leviathan-2.31.27 + title: "" + date: 2024-08-29T17:37:31.318Z + - commits: + - subject: specify ipv4 localhost for balena tunnel + hash: 26d159fb88c3455975a048aa70bfeaad530d6330 + body: "" + footer: + Change-type: patch + change-type: patch + Signed-off-by: Ryan Cooke + signed-off-by: Ryan Cooke + author: rcooke-warwick + nested: [] + - subject: Move balena-cli download to a build stage with renovate management + hash: 6bc62dc2b0b8368aea6b1763968ee5d775657d0e + body: "" + footer: + Change-type: patch + change-type: patch + Signed-off-by: Kyle Harding + signed-off-by: Kyle Harding + author: Kyle Harding + nested: [] + - subject: "core: update CLI to 19.0.0" + hash: 382dd48d3c3f7bc4fbad1e3376d84a40c1342c15 + body: > + we were previously using CLI 16.0.0, which is now over + 365 days since the next major release (17.0.0) , so its + deprecated and won't work without adding the + --unsupported flag, or updating. Choosing to update + footer: + Change-type: patch + change-type: patch + Signed-off-by: Ryan Cooke + signed-off-by: Ryan Cooke + author: rcooke-warwick + nested: [] + version: leviathan-2.31.26 + title: "" + date: 2024-08-29T16:24:31.112Z + version: meta-balena-6.0.16 + title: "" + date: 2024-08-29T22:23:40.786Z + - commits: + - subject: remove up-board and cl-som-imx8 + hash: e89f03602ba6b9565db22e90ff1c7f604c6f2eca + body: > + These were recently removed from yocto-all as they need to be + moved to kirkstone or higher - and that work is not trivial + footer: + Change-type: patch + change-type: patch + Signed-off-by: Ryan Cooke + signed-off-by: Ryan Cooke + author: rcooke-warwick + nested: [] + - subject: Add GHA workflows for additional device types + hash: de582e93afe502654f02617fbf6daa930e4cad03 + body: "" + footer: + Change-type: patch + change-type: patch + Signed-off-by: Kyle Harding + signed-off-by: Kyle Harding + author: Kyle Harding + nested: [] + version: meta-balena-6.0.15 + title: "" + date: 2024-08-29T13:04:15.729Z + - commits: + - subject: Update balena-supervisor to v16.5.8 + hash: 88e983ec5716c4187cd5819c1cefea083dfaad45 + body: | + Update balena-supervisor from 16.4.6 to 16.5.8 + footer: + Change-type: patch + change-type: patch + author: balena-renovate[bot] + nested: + - commits: + - subject: Update webpack to v5.94.0 [SECURITY] + hash: a480266c5603dde4db0d1630cf5b21748c204d14 + body: | + Update webpack from 5.76.0 to 5.94.0 + footer: + Change-type: patch + change-type: patch + author: balena-renovate[bot] + nested: [] + version: balena-supervisor-16.5.8 + title: "" + date: 2024-08-27T22:41:39.587Z + - commits: + - subject: Add unit test for usingInferStepsLock + hash: 51e59725f87b03e0e469e872373cf6088f0cb34a + body: "" + footer: + Change-type: patch + change-type: patch + Signed-off-by: Christina Ying Wang + signed-off-by: Christina Ying Wang + author: Christina Ying Wang + nested: [] + version: balena-supervisor-16.5.7 + title: "" + date: 2024-08-27T21:18:29.272Z + - commits: + - subject: "Revert PR #2364" + hash: 3cebfa9f789c973f94f285da2a4edcc4095e63c0 + body: "" + footer: + Change-type: patch + change-type: patch + Signed-off-by: Christina Ying Wang + signed-off-by: Christina Ying Wang + author: Christina Ying Wang + nested: [] + version: balena-supervisor-16.5.6 + title: "" + date: 2024-08-23T00:24:26.769Z + - commits: + - subject: Avoid unnecessary config calls during Supervisor init + hash: fc6927e53d8460863ee495405750feb62ef0483c + body: "" + footer: + Change-type: patch + change-type: patch + Signed-off-by: Christina Ying Wang + signed-off-by: Christina Ying Wang + author: Christina Ying Wang + nested: [] + version: balena-supervisor-16.5.5 + title: "" + date: 2024-08-21T04:35:54.822Z + - commits: + - subject: Add kmod to runtime-base + hash: aeb9c621a545a2b6aeead64cdd467a9371d76414 + body: > + balenaOS v6 enables zstd module compression by default. + Add kmod to + + runtime-base to support loading of compressed modules. + footer: + Change-type: patch + change-type: patch + Signed-off-by: Joseph Kogut + signed-off-by: Joseph Kogut + author: Joseph Kogut + nested: [] + version: balena-supervisor-16.5.4 + title: "" + date: 2024-08-16T14:36:29.003Z + - commits: + - subject: Do not write `noProxy` to redsocks.conf + hash: b088b78a3e9ca135a9624a2d5be54a7c205fb03f + body: > + This fixes a regression introduced by the refactor in + #2329 where + + `noProxy` was being included in the data added to + redsocks.conf. + footer: + Change-type: patch + change-type: patch + author: Felipe Lalanne + nested: [] + version: balena-supervisor-16.5.3 + title: "" + date: 2024-08-08T16:40:40.421Z + - commits: + - subject: Verify that LED_FILE exists on blinking setup + hash: a255001c2e71942dd57806688dd1fb90a59ba22a + body: > + Before v1, the blinking module would not throw when the + passed led file + + does not exist. This change checks for file existence + and defaults to + + `/dev/null` otherwise + footer: + Change-type: patch + change-type: patch + author: Felipe Lalanne + nested: [] + version: balena-supervisor-16.5.2 + title: "" + date: 2024-08-07T21:59:11.050Z + - commits: + - subject: Avoid leaking memory on deep promise recursions + hash: d789e5bb77e0337773c69ed9d4e24696c019c6ac + body: > + The following pattern + + ```ts + + async function longRunning() { + // do something + await setTimeout(delay); + await longRunning(); + } + + ``` + + + Is regularly used for long running operations on the + supervisor (e.g. + + polling target state). We have + + recently discovered that this pattern can slowly leak + memory as it + + essentially creates an infinite promise chain. Using + `void longRunning()` breaks + + the chain and avoids the issue. + + + This commit fixes all those instances where the pattern + was used. + footer: + Change-type: patch + change-type: patch + author: Felipe Lalanne + nested: [] + version: balena-supervisor-16.5.1 + title: "" + date: 2024-08-05T19:17:30.564Z + - commits: + - subject: Use promises for setup/writing for logging backend + hash: 8bc08750e946a3eea5c7eba14182a9506823b559 + body: > + The balena logging backend now uses async functions to + setup the + + connection and write messages to the request stream. + This adds some + + backpressure on `log` calls by by the log monitor + module, to prevent a + + very agressive container causing the supervisor to waste + CPU cycles just + + dropping messages. + footer: + Change-type: patch + change-type: patch + author: Felipe Lalanne + nested: [] + - subject: Improve the LogBackend interface + hash: f3fcb0db7a8478dfe9ffde342b683510ba49502f + body: > + This make the LogBackend `log` method into an async + method in + + preparation for upcoming changes that will use + backpressure from the + + connection to delay logging coming from containers. + + + This also removes unnecessary imageId from the + LogMessage type + footer: + Change-type: patch + change-type: patch + author: Felipe Lalanne + nested: [] + - subject: Use stream pipeline instead of pipe + hash: 5af948483a69701ebe7db9933a695f85f29b62f3 + body: > + This also removes the use of JSONStream from the monitor + module + footer: + Change-type: patch + change-type: patch + author: Felipe Lalanne + nested: [] + - subject: Do not use DB to store container logs info + hash: dbacca977a1f42ad4e3381112d3523cf7624d283 + body: > + This removes the dependence of the supervisor on the + containerLogs + + database for remembering the last sent timestamp. This + commit instead + + uses the supervisor startup time as the initial time for + log retrieval. + + This might result in some logs missing for services that + may start + + before the supervisor after a boot, or if the supervisor + restarts. + + However this seems like an acceptable trade-off as the + current + + implementation seems to make things worst in resource + contrained + + environments. + + + We'll move storing the last sent timestamp to a better + storage medium in + + a future commit. + footer: + Change-type: minor + change-type: minor + author: Felipe Lalanne + nested: [] + version: balena-supervisor-16.5.0 + title: "" + date: 2024-07-30T18:48:22.422Z + version: meta-balena-6.0.14 + title: "" + date: 2024-08-28T09:01:22.853Z + - commits: + - subject: "classes/image_types_balena: Add support for device specific boot + filesystem options" + hash: 8a7b00339067e4b95933fe4936fc7bbfeacf97bf + body: > + The beagleplay is unable to load u-boot from the sd-card + + boot partition if the standard geometry set by mkfs.vfat is used + - + + that is 16 heads / 63 sectors per track. + + + We noticed that using a geometry of 16 heads / 32 sectors per + track + + make the device to boot from the sd-card, so we make the + + boot filesystem options configurable from the device repository + + to apply this setting. + footer: + Change-type: patch + change-type: patch + Signed-off-by: Alexandru Costache + signed-off-by: Alexandru Costache + author: Alexandru Costache + nested: [] + version: meta-balena-6.0.13 + title: "" + date: 2024-08-26T15:40:04.137Z + version: 6.0.25 + title: "" + date: 2024-09-13T22:50:23.766Z - commits: - subject: Update layers/meta-balena to a8d6ff62e7ab5bc1f8b1d0a6a8d06d6da84e11af hash: 29f0c3e20c60fd79c0823dc68db78e985a3854a9 diff --git a/CHANGELOG.md b/CHANGELOG.md index 78f19c87..8ca7f7b9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,180 @@ # v2.105.10 ## (2022-10-13) +# v6.0.25 +## (2024-09-13) + + +
+ Update layers/meta-balena to 743309ff6019a6b956ad21f73ced5ae5673f2b1b [balena-renovate[bot]] + +> ## meta-balena-6.0.25 +> ### (2024-09-13) +> +> * initrdscripts: Make cryptsetup fail hard in unexpected conditions [Michal Toman] +> +> ## meta-balena-6.0.24 +> ### (2024-09-13) +> +> * common: fix return in commit_apply-dbx HUP hook [Joseph Kogut] +> +> ## meta-balena-6.0.23 +> ### (2024-09-12) +> +> * tests:os: Avoid setting apiEndpoint for unmanaged tests [Kyle Harding] +> +> ## meta-balena-6.0.22 +> ### (2024-09-12) +> +> * Update balena-os/balena-yocto-scripts action to v1.25.39 [balena-renovate[bot]] +> +> ## meta-balena-6.0.21 +> ### (2024-09-01) +> +> * Update balena-os/balena-yocto-scripts action to v1.25.30 [balena-renovate[bot]] +> +> ## meta-balena-6.0.20 +> ### (2024-09-01) +> +> * tests: config: restore both network options to false [Kyle Harding] +> +> ## meta-balena-6.0.19 +> ### (2024-09-01) +> +> +>
+> Update balena-supervisor to v16.6.1 [balena-renovate[bot]] +> +>> ### balena-supervisor-16.6.1 +>> #### (2024-08-29) +>> +>> * Remove unused patchDevice function [Felipe Lalanne] +>> +>> ### balena-supervisor-16.6.0 +>> #### (2024-08-28) +>> +>> * Add support for redsocks dnsu2t config [Christina Ying Wang] +>> +> +>
+> +> +> ## meta-balena-6.0.18 +> ### (2024-09-01) +> +> * Update balena-os/balena-yocto-scripts action to v1.25.28 [balena-renovate[bot]] +> +> ## meta-balena-6.0.17 +> ### (2024-09-01) +> +> * Update Pin balena-os/balena-yocto-scripts action to a3dfa26 [balena-renovate[bot]] +> +> ## meta-balena-6.0.16 +> ### (2024-08-29) +> +> +>
+> Update tests/leviathan digest to ff6a079 [balena-renovate[bot]] +> +>> ### leviathan-2.31.29 +>> #### (2024-08-29) +>> +>> * Update core/contracts digest to 59752b7 [balena-renovate[bot]] +>> +>> ### leviathan-2.31.28 +>> #### (2024-08-29) +>> +>> * Update balena-os/leviathan-worker to v2.9.43 [balena-renovate[bot]] +>> +>> ### leviathan-2.31.27 +>> #### (2024-08-29) +>> +>> * Update docker/setup-buildx-action digest to 988b5a0 [balena-renovate[bot]] +>> +>> ### leviathan-2.31.26 +>> #### (2024-08-29) +>> +>> * specify ipv4 localhost for balena tunnel [rcooke-warwick] +>> * Move balena-cli download to a build stage with renovate management [Kyle Harding] +>> * core: update CLI to 19.0.0 [rcooke-warwick] +>> +> +>
+> +> +> ## meta-balena-6.0.15 +> ### (2024-08-29) +> +> * remove up-board and cl-som-imx8 [rcooke-warwick] +> * Add GHA workflows for additional device types [Kyle Harding] +> +> ## meta-balena-6.0.14 +> ### (2024-08-28) +> +> +>
+> Update balena-supervisor to v16.5.8 [balena-renovate[bot]] +> +>> ### balena-supervisor-16.5.8 +>> #### (2024-08-27) +>> +>> * Update webpack to v5.94.0 [SECURITY] [balena-renovate[bot]] +>> +>> ### balena-supervisor-16.5.7 +>> #### (2024-08-27) +>> +>> * Add unit test for usingInferStepsLock [Christina Ying Wang] +>> +>> ### balena-supervisor-16.5.6 +>> #### (2024-08-23) +>> +>> * Revert PR #2364 [Christina Ying Wang] +>> +>> ### balena-supervisor-16.5.5 +>> #### (2024-08-21) +>> +>> * Avoid unnecessary config calls during Supervisor init [Christina Ying Wang] +>> +>> ### balena-supervisor-16.5.4 +>> #### (2024-08-16) +>> +>> * Add kmod to runtime-base [Joseph Kogut] +>> +>> ### balena-supervisor-16.5.3 +>> #### (2024-08-08) +>> +>> * Do not write `noProxy` to redsocks.conf [Felipe Lalanne] +>> +>> ### balena-supervisor-16.5.2 +>> #### (2024-08-07) +>> +>> * Verify that LED_FILE exists on blinking setup [Felipe Lalanne] +>> +>> ### balena-supervisor-16.5.1 +>> #### (2024-08-05) +>> +>> * Avoid leaking memory on deep promise recursions [Felipe Lalanne] +>> +>> ### balena-supervisor-16.5.0 +>> #### (Invalid date) +>> +>> * Use promises for setup/writing for logging backend [Felipe Lalanne] +>> * Improve the LogBackend interface [Felipe Lalanne] +>> * Use stream pipeline instead of pipe [Felipe Lalanne] +>> * Do not use DB to store container logs info [Felipe Lalanne] +>> +> +>
+> +> +> ## meta-balena-6.0.13 +> ### (2024-08-26) +> +> * classes/image_types_balena: Add support for device specific boot filesystem options [Alexandru Costache] +> + +
+ # v6.0.12 ## (2024-08-24) diff --git a/VERSION b/VERSION index d089f6d7..5ed3dadf 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -6.0.12 \ No newline at end of file +6.0.25 \ No newline at end of file