diff --git a/.versionbot/CHANGELOG.yml b/.versionbot/CHANGELOG.yml index e24dd60..e06ddb8 100644 --- a/.versionbot/CHANGELOG.yml +++ b/.versionbot/CHANGELOG.yml @@ -1,3 +1,1096 @@ +- commits: + - subject: Update the meta-resin submodule from v2.19.0 to v2.26.0 + hash: d7a56e88032ca52e48d5c8f317a236e3f29bcbf7 + body: | + Update meta-resin from 2.19.0 to 2.26.0 + footer: + Changelog-entry: Update the meta-resin submodule from v2.19.0 to v2.26.0 + changelog-entry: Update the meta-resin submodule from v2.19.0 to v2.26.0 + Signed-off-by: Florin Sarbu + signed-off-by: Florin Sarbu + author: Florin Sarbu + nested: + - commits: + - subject: Rename resin-unique-key to balena-unique-key + hash: da871aeb64dffcb84c2fad75b299f661cab40c3d + body: '' + footer: + Change-type: minor + change-type: minor + Changelog-entry: Rename resin-unique-key to balena-unique-key + changelog-entry: Rename resin-unique-key to balena-unique-key + Signed-off-by: Andrei Gherzan + signed-off-by: Andrei Gherzan + author: Andrei Gherzan + - subject: Don't let resin-unique-key rewrite config.json + hash: 58685dd3accb19b159adc933d3b203c615675343 + body: | + Fixes #1262 + footer: + Change-type: minor + change-type: minor + Changelog-entry: Don't let resin-unique-key rewrite config.json + changelog-entry: Don't let resin-unique-key rewrite config.json + Signed-off-by: Andrei Gherzan + signed-off-by: Andrei Gherzan + author: Andrei Gherzan + version: meta-resin-2.26.0 + date: 2018-11-05T15:22:47.685Z + - commits: + - subject: Generate ssh host key at first boot (not at first connection) + hash: aea0382c5e6c26933767a931f3a0df45e3cde233 + body: '' + footer: + Change-type: minor + change-type: minor + Changelog-entry: Generate ssh host key at first boot (not at first connection) + changelog-entry: Generate ssh host key at first boot (not at first connection) + Signed-off-by: Andrei Gherzan + signed-off-by: Andrei Gherzan + author: Andrei Gherzan + - subject: Fix extraneous space in kernel-resin.bbclass config + hash: bf3124d468dfce8e9b4909965dfea05752835b33 + body: | + This extra space leads to kernel config check error + footer: + Change-type: minor + change-type: minor + Changelog-entry: Fix extraneous space in kernel-resin.bbclass config + changelog-entry: Fix extraneous space in kernel-resin.bbclass config + Signed-off-by: Florin Sarbu + signed-off-by: Florin Sarbu + author: Florin Sarbu + - subject: >- + Drop obsolete eval from kernel-resin's + do_kernel_resin_reconfigure + hash: 1b882e69d125c4cd84a8ebd8298eb294d52d5574 + body: > + This is not needed as bitbake already expands + KERNEL_CONFIG_COMMAND + + See Poky commit 95909bc788bef1baabead94231dffb3b7f59fb00 for + details + footer: + Change-type: minor + change-type: minor + Changelog-entry: >- + Drop obsolete eval from kernel-resin's + do_kernel_resin_reconfigure + changelog-entry: >- + Drop obsolete eval from kernel-resin's + do_kernel_resin_reconfigure + Signed-off-by: Florin Sarbu + signed-off-by: Florin Sarbu + author: Florin Sarbu + - subject: >- + Add SyslogIdentifier for balena and resin-supervisor healthdog + services + hash: 23fadcc59cc2b353b68264220e35fa1c06b97444 + body: '' + footer: + Changelog-entry: >- + Add SyslogIdentifier for balena and resin-supervisor healthdog + services + changelog-entry: >- + Add SyslogIdentifier for balena and resin-supervisor healthdog + services + Change-type: minor + change-type: minor + Signed-off-by: Matthew McGinn + signed-off-by: Matthew McGinn + author: Matthew McGinn + version: meta-resin-2.25.0 + date: 2018-11-02T15:58:49.876Z + - commits: + - subject: Update resin-supervisor to v8.0.0 + hash: 01511f5902e83f80e93a37b5e5cffd59654e5c04 + body: '' + footer: + Changelog-entry: Update resin-supervisor to v8.0.0 + changelog-entry: Update resin-supervisor to v8.0.0 + Change-type: patch + change-type: patch + Signed-off-by: Pablo Carranza Velez + signed-off-by: Pablo Carranza Velez + author: Pablo Carranza Velez + version: meta-resin-2.24.1 + date: 2018-11-01T16:25:19.386Z + - commits: + - subject: 'resin-info: Small tweak for balenaCloud product' + hash: 74f795dc2251266622f44f0a32162adfbbc432e3 + body: '' + footer: + Change-type: patch + change-type: patch + Signed-off-by: Andrei Gherzan + signed-off-by: Andrei Gherzan + author: Andrei Gherzan + - subject: Update resin-supervisor to v7.25.8 + hash: 4806e3340d75cb76437311bd44a93e40360f90ed + body: '' + footer: + Changelog-entry: Update resin-supervisor to v7.25.8 + changelog-entry: Update resin-supervisor to v7.25.8 + Change-type: patch + change-type: patch + Signed-off-by: Pablo Carranza Velez + signed-off-by: Pablo Carranza Velez + author: Pablo Carranza Velez + - subject: Rename resinOS to balenaOS + hash: d2a7e648b2ccefe46f67fb02c0f382c958aad5e5 + body: > + As part of resin rename to balena, we rename the distro file + including + + the OS name which is part of the distro name. This ends up in + the + + dashboard as part of the OS version. + footer: + Change-type: minor + change-type: minor + Changelog-entry: Rename resinOS to balenaOS + changelog-entry: Rename resinOS to balenaOS + Signed-off-by: Andrei Gherzan + signed-off-by: Andrei Gherzan + author: Andrei Gherzan + version: meta-resin-2.24.0 + date: 2018-10-24T01:06:11.405Z + - commits: + - subject: Update resin-supervisor to v7.25.5 + hash: 21d97fc5d73e2a97760b9328d099ea8b7daaee39 + body: '' + footer: + Change-type: minor + change-type: minor + Changelog-entry: Update resin-supervisor to v7.25.5 + changelog-entry: Update resin-supervisor to v7.25.5 + Signed-off-by: Cameron Diver + signed-off-by: Cameron Diver + author: Cameron Diver + - subject: 'recipes-containers: Increase healthcheck timeout to 180s' + hash: fb966719844dfd045a03440242a412d641c7b791 + body: | + The original 60s might be slow for some devices where balena + is busy with a task and the hardware is slow for various + reasons (ie. Pi1/Zero). In those cases even if the device + is functioning correctly, the healthcheck will assess the + device as unhealthy and restart balena and/or the supervisor. + footer: + Change-type: minor + change-type: minor + Signed-off-by: Gergely Imreh + signed-off-by: Gergely Imreh + author: Gergely Imreh + - subject: '.gitignore: add node_modules and package-lock files' + hash: becc602a39ec9c788e4f1765ec696f2f71ceb321 + body: > + These files are generated by the CI when running the automatic + + versioning. Since this is not a node project both can be simply + ignored. + footer: + Change-type: patch + change-type: patch + Signed-off-by: Giovanni Garufi + signed-off-by: Giovanni Garufi + author: Giovanni Garufi + version: meta-resin-2.23.0 + date: 2018-10-22T22:10:11.913Z + - commits: + - subject: Update resin-supervisor to v7.25.3 + hash: dd4966235420be328f6280fa170d17f5570dbfa2 + body: '' + footer: + Change-type: patch + change-type: patch + Changelog-entry: Update resin-supervisor to v7.25.3 + changelog-entry: Update resin-supervisor to v7.25.3 + Signed-off-by: Pablo Carranza Velez + signed-off-by: Pablo Carranza Velez + author: Pablo Carranza Velez + version: meta-resin-2.22.1 + date: 2018-10-20T04:01:35.497Z + - commits: + - subject: Update resin-supervisor to v7.25.2 + hash: 999d0e07e426d175168da46557855f4dee724ee2 + body: '' + footer: + Change-type: minor + change-type: minor + Changelog-entry: Update resin-supervisor to v7.25.2 + changelog-entry: Update resin-supervisor to v7.25.2 + Signed-off-by: Andrei Gherzan + signed-off-by: Andrei Gherzan + author: Andrei Gherzan + - subject: Include a CONTRIBUTING.md file + hash: a38f167752e68db524f55bb5bec97d8a03692283 + body: | + Fixes #422 + footer: + Change-type: patch + change-type: patch + Changelog-entry: Include a CONTRIBUTING.md file + changelog-entry: Include a CONTRIBUTING.md file + Signed-off-by: Andrei Gherzan + signed-off-by: Andrei Gherzan + author: Andrei Gherzan + - subject: Update to ModemManager v1.8.2 + hash: cd6386ffedbe4e4c4959b0f2941826c324029cb1 + body: | + Fixes #1209 + footer: + Change-type: minor + change-type: minor + Changelog-entry: Update to ModemManager v1.8.2 + changelog-entry: Update to ModemManager v1.8.2 + Signed-off-by: Andrei Gherzan + signed-off-by: Andrei Gherzan + author: Andrei Gherzan + - subject: Updates on contributing-device-support.md + hash: 75ee54d48a40476e6de5076ffc238cb6fad25041 + body: '' + footer: + Change-type: minor + change-type: minor + Changelog-entry: Updates on contributing-device-support.md + changelog-entry: Updates on contributing-device-support.md + Signed-off-by: Vicentiu Galanopulo + signed-off-by: Vicentiu Galanopulo + author: Vicentiu Galanopulo + version: meta-resin-2.22.0 + date: 2018-10-19T18:42:10.962Z + - commits: + - subject: Improve systemd service ordering in rollbacks + hash: 1d729dec436d0cb2eeb8a6799a8b978aceba8f8d + body: '' + footer: + Change-type: minor + change-type: minor + Changelog-entry: Improve systemd service ordering in rollbacks + changelog-entry: Improve systemd service ordering in rollbacks + Signed-off-by: Zubair Lutfullah Kakakhel + signed-off-by: Zubair Lutfullah Kakakhel + author: Zubair Lutfullah Kakakhel + - subject: Update resin-supervisor to v7.24.1 + hash: e5a882a75ca49828cabcba227c4972d9e4d753d9 + body: '' + footer: + Change-type: minor + change-type: minor + Changelog-entry: Update resin-supervisor to v7.24.1 + changelog-entry: Update resin-supervisor to v7.24.1 + Signed-off-by: Andrei Gherzan + signed-off-by: Andrei Gherzan + author: Andrei Gherzan + version: meta-resin-2.21.0 + date: 2018-10-18T17:23:01.640Z + - commits: + - subject: Avoid expander on flasher based on root kernel argument + hash: c155f8edfa543d29c7efafe2fb6c80d633b82dc1 + body: > + The current implementation checks for the existance of the + `flash-boot` + + label. This breaks when after flashing the flashing device is + left + + plugged. Change this with a check based on the root kernel + argument. + + + Fixes #1210 + footer: + Change-type: minor + change-type: minor + Changelog-entry: Avoid expander on flasher based on root kernel argument + changelog-entry: Avoid expander on flasher based on root kernel argument + Signed-off-by: Andrei Gherzan + signed-off-by: Andrei Gherzan + author: Andrei Gherzan + - subject: 'resin-vars: Implement custom ssh keys service' + hash: 6d2e43d4693208c8df9436ea1f96c844b4faeb75 + body: > + This patch adds support for translating SSH public keys from + config.json + + to an authorize_keys file. We use `authorize_keys_local` file as + the + + destination file of this translation so we can differentiate in + between keys + + brought locally from config.json and keys brought from the + balena backend + + through os-config an avoid racing issues with this tool + (os-config). The final + + `authorize_keys` file will be merged at every ssh connection in + the dropbear + + service. + + + These SSH custom public keys in config.json are assumed to be + provided + + as an array in `.os.sshKeys`. Example: + + { + [...] + "os": { + "sshKeys": [ + "ssh-rsa ABCDEFGHIJKLMNOPQRSTUVWXYZ", + "ssh-rsa 0123456789" + ] + }, + [...] + } + + + Fixes #608 + footer: + Change-type: minor + change-type: minor + Change-log-entry: Add support for custom SSH public keys in config.json + change-log-entry: Add support for custom SSH public keys in config.json + Signed-off-by: Andrei Gherzan + signed-off-by: Andrei Gherzan + author: Andrei Gherzan + - subject: Fix redsocks interface creation when no proxy configured + hash: 4d278e425a5624863ff62771c8db9b4c9bcf6821 + body: | + When we have no redsocks configuration don't create the redsocks + interface. + footer: + Change-type: patch + change-type: patch + Changelog-entry: Fix redsocks interface creation when no proxy configured + changelog-entry: Fix redsocks interface creation when no proxy configured + Signed-off-by: Andrei Gherzan + signed-off-by: Andrei Gherzan + author: Andrei Gherzan + - subject: >- + Replace NM's DHCP request option "Client indentifier" with + udhcpc style option + hash: 99b4e423003442a67f1fb45b1f4ae8d201c73b99 + body: | + This patch replaces the "Client identifier" option from + DHCP packets sent by NM to resemble the way udhcpc does it. + + The reason is that the Cisco RV325 router with fw older than + v1.2.1.14 doesn't reply to DHCP requests or discovery packages + if the "Client identifier" option is formatted in NM's style. + + Even though this is a bug in the router's fw, we are going to + fix it here because we encountered clients that couldn't get + an IP address on these routers and we want to avoid that + footer: + Change-type: patch + change-type: patch + Changelog-entry: >- + Replace NM's DHCP request option "Client indentifier" with + udhcpc style option + changelog-entry: >- + Replace NM's DHCP request option "Client indentifier" with + udhcpc style option + Signed-off-by: Sebastian Panceac + signed-off-by: Sebastian Panceac + author: Sebastian Panceac + - subject: Fix for rollbacks in case of old balenaOS version + hash: 814c39fb750104f1aef748a083a3384e5a594d9c + body: > + In some cases, the previous rootfs hooks are not functional + (which can + + be the case when the hooks don't exist in older versions of + balenaOS). + + + With this patch, rollbacks will be stopped and a reboot will + happen + + preventing further attempts by rollback-health to keep retrying + and + + rolling back + footer: + Change-type: minor + change-type: minor + Changelog-entry: Fix for rollbacks in case of old balenaOS version + changelog-entry: Fix for rollbacks in case of old balenaOS version + Signed-off-by: Zubair Lutfullah Kakakhel + signed-off-by: Zubair Lutfullah Kakakhel + author: Zubair Lutfullah Kakakhel + - subject: Update resin-supervisor to v7.21.4 + hash: 4c1f5c7cdaf889b67098832b36ccd0cc39c58b0e + body: '' + footer: + Change-type: minor + change-type: minor + Changelog-entry: Update resin-supervisor to v7.21.4 + changelog-entry: Update resin-supervisor to v7.21.4 + Signed-off-by: Cameron Diver + signed-off-by: Cameron Diver + author: Cameron Diver + - subject: Warn if rules are found in /etc/udev/rules.d + hash: f228de23f388859d7cf3847fc608863bab2c6857 + body: > + The /etc/udev/rules.d folder is now used by os-udevrules. We + warn if + + there are rules in /etc/udev/rules.d installed by recipes in + other + + layers + + + This warning will become an error in a few releases. + footer: + Change-type: minor + change-type: minor + Changelog-entry: Warn if rules are found in /etc/udev/rules.d + changelog-entry: Warn if rules are found in /etc/udev/rules.d + Signed-off-by: Zubair Lutfullah Kakakhel + signed-off-by: Zubair Lutfullah Kakakhel + author: Zubair Lutfullah Kakakhel + - subject: Add support to load custom udev rules from config.json + hash: f127232b8c7009c954f8467c32776c5fceee8c12 + body: > + os-udevrules will parse config.json for any udev rules and copy + the + + rules in /etc/udev/rules.d/key.rules + + + udev rules can be passed via config.json in the following format + + "settings": { + "udevrules": { + "60": "single line. Remember to escape the double quotes", + "99": "multi line \n2nd line" + } + } + + The above snippet will appear as /etc/udev/rules.d/60.rules + + and /etc/udev/rules.d/99.rules + + + The first time rules are added/modified, these rules will be + added and + + udevd will be asked to reload rules and re-trigger. + footer: + Change-type: minor + change-type: minor + Changelog-entry: Add support to load custom udev rules from config.json + changelog-entry: Add support to load custom udev rules from config.json + Signed-off-by: Zubair Lutfullah Kakakhel + signed-off-by: Zubair Lutfullah Kakakhel + author: Zubair Lutfullah Kakakhel + - subject: 'aufs-util: Package auplink separately' + hash: f8d0ae01bae540dcf52ebbbdc6315c86f7efa684 + body: > + From the aufs-util package only the auplink binary is needed and + that + + dependency is from balena. So we package auplink in a separate + package + + and just install that package into the rootfs. + footer: + Change-type: minor + change-type: minor + Chanelog-entry: >- + Only add auplink binary into the rootfs to decrease rootfs + size + chanelog-entry: >- + Only add auplink binary into the rootfs to decrease rootfs + size + Signed-off-by: Florin Sarbu + signed-off-by: Florin Sarbu + author: Florin Sarbu + - subject: Enable kernel config dependencies for MBIM and QMI + hash: fd7c661209532296b8e6f7ce74328ffbc5ab8053 + body: > + MBIM and QMI support needs USB_NET_DRIVERS and USB_USBNET + enabled. + footer: + Change-type: minor + change-type: minor + Changelog-entry: Enable kernel config dependencies for MBIM and QMI + changelog-entry: Enable kernel config dependencies for MBIM and QMI + Signed-off-by: Florin Sarbu + signed-off-by: Florin Sarbu + author: Florin Sarbu + - subject: Set UPX to use LZMA compression by default + hash: 69bc7e1c6c8382d69b57b662518909c4f7824644 + body: > + In my testing lzma offers at least 30-40% better compression and + it is + + introduced from v3. + footer: + Change-type: minor + change-type: minor + Changelog-entry: Set UPX to use LZMA compression by default + changelog-entry: Set UPX to use LZMA compression by default + Signed-off-by: Andrei Gherzan + signed-off-by: Andrei Gherzan + author: Andrei Gherzan + - subject: Downgrade UPX to 3.94 for ARM + hash: 23423b875f2d892ce136c9a3e2f56692592c873d + body: > + 3.95 introduced a data/instruction cache inconsistency bug: + + https://github.com/upx/upx/issues/225. As this only afects this + version, + + we downgrade it for the affected architecture. + footer: + Change-type: minor + change-type: minor + Changelog-entry: Downgrade UPX to 3.94 for ARM + changelog-entry: Downgrade UPX to 3.94 for ARM + Signed-off-by: Andrei Gherzan + signed-off-by: Andrei Gherzan + author: Andrei Gherzan + - subject: >- + Balena update for rollbacks. mobynit can now mount rootfs from + sysroot. + hash: 008608db1b67dd9de0445ef6e1920bb0302f618e + body: > + This patch bumps the balena version in meta-resin. + + + The update in balena adds support to pass an argument to mobynit + which + + allows mobynit to mount a rootfs from a custom path. + + + The command ./mobynit -sysroot /mnt/sysroot/inactive will mount + the + + rootfs partition from /mnt/sysroot/inactive and return the + destination + + path in stdout. + footer: + Change-type: minor + change-type: minor + Changelog-entry: >- + Balena update for rollbacks. mobynit can now mount rootfs from + sysroot. + changelog-entry: >- + Balena update for rollbacks. mobynit can now mount rootfs from + sysroot. + Signed-off-by: Zubair Lutfullah Kakakhel + signed-off-by: Zubair Lutfullah Kakakhel + author: Zubair Lutfullah Kakakhel + - subject: Fix proxy when using containers over bridge network + hash: 3df6e1906e1138a8cd10d15ac3008685b90f75f8 + body: > + Before multicontainer support in resin, the user container was + running + + over the host's network stack which means that all the packets + were + + treated as locally emitted ones. In this case, the communication + was + + redirected as per the OUTPUT iptable rule only. + + In the "multicontainer world" the user containers run on top of + bridge + + network which makes the host act as a socksifying router. In + this case, + + the packets won't go through the OUTPUT chain and the + redirection to + + redsocks needs to happen at PREROUTING chain. + + This change adds a redirect rule at PREROUTING for TCP packets + to + + redsocks to redirect packets from the containers to redsocks + too. + + + As well, this adds support for redirecting DNS UDP packets to + redsocks. + + This is implemented as iptables rules which are only added if + the + + redsocks configuration has a `dnsu2t` section. + footer: + Change-type: minor + change-type: minor + Changelog-entry: Fix proxy when using containers over bridge network + changelog-entry: Fix proxy when using containers over bridge network + Signed-off-by: Andrei Gherzan + signed-off-by: Andrei Gherzan + author: Andrei Gherzan + - subject: 'Add support for aufs 4.9.9+, 4.9.94+, 4.18' + hash: bc91ca07f0a44aaffb68720fc10f3e524491d92d + body: > + Also, update 4.9, 4.10, 4.11.7+, 4.12, 4.13, 4.14, 4.14.56+, + 4.15, + + 4.16, 4.17. + footer: + Change-type: minor + change-type: minor + Changelog-entry: 'Add support for aufs 4.9.9+, 4.9.94+, 4.18' + changelog-entry: 'Add support for aufs 4.9.9+, 4.9.94+, 4.18' + Signed-off-by: Florin Sarbu + signed-off-by: Florin Sarbu + author: Florin Sarbu + - subject: Add rollback-altboot service before balena service + hash: 9c35e9c8b418b9253d53df48b783babc9d116006 + body: > + We would like resin-altboot service to run before balena starts + + resin-altboot checks if the boot configuration is set to run + + resinOS from rootA(B) but we are actually running rootB(A) due + to + + something. + + + If rollback-altboot triggers, it will run hooks to refresh boot + files + + and reboot. There is no point starting balena in such a device + state + + as that will only slow down the hooks from running. + footer: + Change-type: minor + change-type: minor + Changelog-entry: Add rollback-altboot service before balena service + changelog-entry: Add rollback-altboot service before balena service + Signed-off-by: Zubair Lutfullah Kakakhel + signed-off-by: Zubair Lutfullah Kakakhel + author: Zubair Lutfullah Kakakhel + - subject: Add Automated Rollback recipe + hash: fdfc451d1a8a95b1c9b9ee2d0fc8f736c094251b + body: > + This recipe adds a few systemd services and scripts that handle + + automated OS rollback functionality. + + + The rollback-altboot.service checks if we are running in altboot + mode + + i.e. resinOS_uEnv.txt says we should boot resin_root_part=3. But + we are + + actually running resinOS from resin_root_part=2. This can happen + if + + a reboot happened without clearing upgrade_available in + resinOS_uEnv + + txt file. A kernel panic happened etc. + + + The rollback-altboot script runs hostapp-update hooks to change + the + + bootfiles. + + + The rollback-health.service runs rollback-health which checks if + vpn is + + online and balena is healthy after a hostapp-update. + footer: + Change-type: minor + change-type: minor + Changelog-entry: Add Automated Rollback recipe + changelog-entry: Add Automated Rollback recipe + Signed-off-by: Zubair Lutfullah Kakakhel + signed-off-by: Zubair Lutfullah Kakakhel + author: Zubair Lutfullah Kakakhel + - subject: Add Automated Rollback support in u-boot env_resin.h + hash: c6145d1f535098ef46f44d44d061b04fd7174f77 + body: > + This patch adds a simple check in env_resin.h. + + + If bootcount is found to be greater than bootlimit, switch the + + partitions. Both bootcount and bootlimit are standard u-boot env + + variables. + + + To enable rollback in devices, devices have to do the following + in + + their u-boot + + + Enable CONFIG_CMD_SETEXPR, CONFIG_BOOTCOUNT_LIMIT and depending + on the + + device, save the bootcount in some persistant location whether + that + + is an area in the SoC or an ext partition etc. + + + If you are using the CONFIG_BOOTCOUNT_EXT driver, use only the + boot + + partition and use the filename "bootcount.env" + + + E.g. for rpi3 + + CONFIG_CMD_SETEXPR=y + + CONFIG_BOOTCOUNT_LIMIT=y + + CONFIG_SYS_BOOTCOUNT_ADDR=0x02300000 + + CONFIG_BOOTCOUNT_EXT=y + + CONFIG_SYS_BOOTCOUNT_EXT_DEVPART=0:1 + + CONFIG_SYS_BOOTCOUNT_EXT_NAME="bootcount.env" + footer: + Change-type: minor + change-type: minor + Changelog-entry: Add Automated Rollback support in u-boot env_resin.h + changelog-entry: Add Automated Rollback support in u-boot env_resin.h + Signed-off-by: Zubair Lutfullah Kakakhel + signed-off-by: Zubair Lutfullah Kakakhel + author: Zubair Lutfullah Kakakhel + - subject: Add a hook to support Automated Rollbacks + hash: b93b655e9cad7ad439a603ddedc9a965a909c037 + body: | + This hook leaves breadcrumbs for the rollback-altboot and + rollback-health service after a HUP. + footer: + Change-type: minor + change-type: minor + Changelog-entry: Add a hook to support Automated Rollbacks + changelog-entry: Add a hook to support Automated Rollbacks + Signed-off-by: Zubair Lutfullah Kakakhel + signed-off-by: Zubair Lutfullah Kakakhel + author: Zubair Lutfullah Kakakhel + - subject: Update HUP grub hook to support Automated Rollbacks + hash: 620d7a4466dd2aea0c3c5e4ffc95ac22e7f7651c + body: > + Devices that support automated os rollbacks will have two extra + + variables upgrade_available and resin_root_part in their + grub.cfg + + files. + + + Check for the presense of those variables and update them if + they + + exist. + + + Otherwise stick to the previous way of updating grub.cfg + + + For devices using grub 2.0, devices will have to mirror the + pattern + + that exists in u-boot. + + i.e. + Add a variable upgrade_available to grub.cfg (HUP hooks update this) + Add a variable bootcount to grubenv that increments if + upgrade_available is set + Add logic in grub.cfg to boot the alternate rootB/A if bootcount + reaches 2. + footer: + Change-type: minor + change-type: minor + Changelog-entry: Update HUP grub hook to support Automated Rollbacks + changelog-entry: Update HUP grub hook to support Automated Rollbacks + Signed-off-by: Zubair Lutfullah Kakakhel + signed-off-by: Zubair Lutfullah Kakakhel + author: Zubair Lutfullah Kakakhel + - subject: Update HUP u-boot hook to support Automated Rollbacks + hash: 76e103304264d88178b4948c020acf1f27246f85 + body: > + u-boot uses an upgrade_avaiable flag to update bootcount to + reduce + + writes to sd card. + + + If upgrade_available=0, u-boot won't bother updating the + bootcount + + variable. During HUP, we'll set upgrade_available=1 so that + u-boot + + starts counting. + + + It'll be the job of the new OS and the rollback services to set + + upgrade_available=0 + + + For some devices, u-boot will save the bootcount in the boot + partition + + in /mnt/boot/bootcount.env. Remove that counter when running + hooks + footer: + Change-type: minor + change-type: minor + Changelog-entry: Update HUP u-boot hook to support Automated Rollbacks + changelog-entry: Update HUP u-boot hook to support Automated Rollbacks + Signed-off-by: Zubair Lutfullah Kakakhel + signed-off-by: Zubair Lutfullah Kakakhel + author: Zubair Lutfullah Kakakhel + - subject: >- + Move kernel-image-initramfs from resin-image recipe to + packagegroup-resin.inc + hash: bfa0cc20d3bb1b6a26d87507b196b54ab6d672aa + body: > + We add the package here as this file is included in the flasher + image + + recipe as well + footer: + Change-type: minor + change-type: minor + Changelog-entry: >- + Move kernel-image-initramfs from resin-image recipe to + packagegroup-resin.inc + changelog-entry: >- + Move kernel-image-initramfs from resin-image recipe to + packagegroup-resin.inc + Signed-off-by: Zubair Lutfullah Kakakhel + signed-off-by: Zubair Lutfullah Kakakhel + author: Zubair Lutfullah Kakakhel + - subject: Have 99-resin-grub hostapp-update-hook decide which grub to use + hash: ec0c373a8fa9dfd7ae989615646c76a4ab87f531 + body: > + We move the decision of using either grub legacy or grub EFI + from the + + board specific layer to here so that all boards can benefit from + these + + changes. + + + Additionally, we make it so that this hostapp-update-hook also + deletes + + the unnecessary grub.cfg file. + footer: + Change-type: minor + change-type: minor + Changelog-entry: >- + Have 99-resin-grub hostapp-update-hook decide which grub to + use + changelog-entry: >- + Have 99-resin-grub hostapp-update-hook decide which grub to + use + Signed-off-by: Florin Sarbu + signed-off-by: Florin Sarbu + author: Florin Sarbu + version: meta-resin-2.20.0 + date: 2018-10-18T08:16:00.360Z + - commits: + - subject: Update Balena to fix tty console hanging in some cases + hash: 06ae0837d2823587858437d5eb41b8fc5be8e7c6 + body: | + https://github.com/resin-os/balena/pull/101 + footer: + Change-type: patch + change-type: patch + Changelog-entry: Update Balena to fix tty console hanging in some cases + changelog-entry: Update Balena to fix tty console hanging in some cases + Signed-off-by: Petros Angelatos + signed-off-by: Petros Angelatos + author: Petros Angelatos + - subject: >- + Pin down cargo deps (using Cargo.lock) to versions known working + with rust 1.24.1 (for sumo) + hash: ef3e76f2d343e8cd367214b4b5ce52b3b97be262 + body: > + With Sumo 19.0.1, when building cargo 0.25.0 we get: + + | error[E0425]: cannot find function `read_to_string` in module + `fs` + + | --> + /yocto/resin-board/build/tmp/work/x86_64-linux/cargo-native/ + + 0.25.0-r0/cargo_home/registry/src/github.com-1ecc6299db9ec823/ + + libssh2-sys-0.2.11/build.rs:99:26 + + let config = + fs::read_to_string("libssh2/src/libssh2_config_cmake.h.in") + + ^^^^^^^^^^^^^^ did you mean `read_string`? + + + This is just one example of a package that fails like this. + There are + + multiple packages in the cargo source tree that fail with this + error. + + + The cargo bbclass does a: + + cargo build -v --target x86_64-linux --release + + + This has the following effect: + + NOTE:- cargo build -v --target x86_64-linux --release. + + Updating registry `https://github.com/rust-lang/crates.io-index` + + + Updating the registry will result in using the versions pinned + upstream. + + In our case, it will be using newer versions of packages that + require a + + newer rust version (read_to_string was added in rust 1.26.0). + But at the + + same time, the meta-rust layer which we use has an older rust + version. + + (currently meta-rust on sumo branch has rust at version 1.24.1) + + + The fix for such a case would be to use a Cargo.lock file which + pins + + the packages to versions which are known to work with rust + 1.24.1, + + the version we use in sumo. + footer: + Change-type: minor + change-type: minor + Changelog-entry: >- + Pin down cargo deps (using Cargo.lock) to versions known + working with rust 1.24.1 (for sumo) + changelog-entry: >- + Pin down cargo deps (using Cargo.lock) to versions known + working with rust 1.24.1 (for sumo) + Signed-off-by: Florin Sarbu + signed-off-by: Florin Sarbu + author: Florin Sarbu + - subject: Remove duplicate packaging of bcm43143 + hash: cef8864000507af337a52e47722274921ccb5982 + body: > + Yocto Sumo 19.0.1 already packages this firmware separately so + let's + + remove the duplication we do here. + footer: + Change-type: minor + change-type: minor + Changelog-entry: Remove duplicate packaging of bcm43143 + changelog-entry: Remove duplicate packaging of bcm43143 + Signed-off-by: Florin Sarbu + signed-off-by: Florin Sarbu + author: Florin Sarbu + - subject: Set ModemManager to ignore Inca Roads Serial Device + hash: 107ab6747db748201742bf495a1c0f41fb28f1fe + body: '' + footer: + Change-type: patch + change-type: patch + Changelog-entry: Set ModemManager to ignore Inca Roads Serial Device + changelog-entry: Set ModemManager to ignore Inca Roads Serial Device + Signed-off-by: Petros Angelatos + signed-off-by: Petros Angelatos + author: Petros Angelatos + - subject: Add support for aufs 4.14.56+ + hash: 28746ab0d4d14c0def56382b1c1747c009362107 + body: '' + footer: + Change-type: minor + change-type: minor + Changelog-entry: Add support for aufs 4.14.56+ + changelog-entry: Add support for aufs 4.14.56+ + Signed-off-by: Florin Sarbu + signed-off-by: Florin Sarbu + author: Florin Sarbu + - subject: Update resin-supervisor to v7.19.7 + hash: 9e595a0cab47b044d445d8aeab23e27a6cff58cc + body: '' + footer: + Change-type: minor + change-type: minor + Changelog-entry: Update resin-supervisor to v7.19.7 + changelog-entry: Update resin-supervisor to v7.19.7 + Signed-off-by: Cameron Diver + signed-off-by: Cameron Diver + author: Cameron Diver + version: meta-resin-2.19.0 + date: 2018-09-23T15:05:11.877Z + - subject: Update contribution commit guidelines + hash: 2600de48473d71799a9e7b3ba0b42cbf829887de + body: '' + footer: + Changelog-Entry: Update contribution commit guidelines + changelog-entry: Update contribution commit guidelines + Signed-off-by: Florin Sarbu + signed-off-by: Florin Sarbu + author: Florin Sarbu + - subject: >- + Include the RTL8189ES / RTL8189ETV driver only for the Orange Pi Plus2 + board + hash: 87940da53857935e1a2fce250eb68eee61c7f9df + body: | + From the list of supported boards, only the Orange Pi Plus2 board has + this WiFi chipset so let's not include it for all. + footer: + Changelog-entry: >- + Include the RTL8189ES / RTL8189ETV driver only for the Orange Pi Plus2 + board + changelog-entry: >- + Include the RTL8189ES / RTL8189ETV driver only for the Orange Pi Plus2 + board + Signed-off-by: Florin Sarbu + signed-off-by: Florin Sarbu + author: Florin Sarbu + - subject: Update the resin-yocto-scripts to master HEAD + hash: 39872f6e2327f68873865561ad8ee0df37192947 + body: '' + footer: + Changelog-entry: Update the resin-yocto-scripts to master HEAD + changelog-entry: Update the resin-yocto-scripts to master HEAD + Signed-off-by: Florin Sarbu + signed-off-by: Florin Sarbu + author: Florin Sarbu + version: 2.26.0+rev1 + date: 2018-11-12T10:17:08.122Z - commits: - subject: Update the meta-resin submodule from v2.14.3 to v2.19.0 hash: 4cd258fe9042b9d28e815e361c9756ece1fe56df diff --git a/CHANGELOG.md b/CHANGELOG.md index 32ecfd8..2a79fd1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,108 @@ Change log ----------- +# v2.26.0+rev1 +## (2018-11-12) + +* Update the meta-resin submodule from v2.19.0 to v2.26.0 [Florin Sarbu] + +
+ View details + +## meta-resin-2.26.0 +### (2018-11-05) + +* Rename resin-unique-key to balena-unique-key [Andrei Gherzan] +* Don't let resin-unique-key rewrite config.json [Andrei Gherzan] + +## meta-resin-2.25.0 +### (2018-11-02) + +* Generate ssh host key at first boot (not at first connection) [Andrei Gherzan] +* Fix extraneous space in kernel-resin.bbclass config [Florin Sarbu] +* Drop obsolete eval from kernel-resin's do_kernel_resin_reconfigure [Florin Sarbu] +* Add SyslogIdentifier for balena and resin-supervisor healthdog services [Matthew McGinn] + +## meta-resin-2.24.1 +### (2018-11-01) + +* Update resin-supervisor to v8.0.0 [Pablo Carranza Velez] + +## meta-resin-2.24.0 +### (2018-10-24) + +* resin-info: Small tweak for balenaCloud product [Andrei Gherzan] +* Update resin-supervisor to v7.25.8 [Pablo Carranza Velez] +* Rename resinOS to balenaOS [Andrei Gherzan] + +## meta-resin-2.23.0 +### (2018-10-22) + +* Update resin-supervisor to v7.25.5 [Cameron Diver] +* recipes-containers: Increase healthcheck timeout to 180s [Gergely Imreh] +* .gitignore: add node_modules and package-lock files [Giovanni Garufi] + +## meta-resin-2.22.1 +### (2018-10-20) + +* Update resin-supervisor to v7.25.3 [Pablo Carranza Velez] + +## meta-resin-2.22.0 +### (2018-10-19) + +* Update resin-supervisor to v7.25.2 [Andrei Gherzan] +* Include a CONTRIBUTING.md file [Andrei Gherzan] +* Update to ModemManager v1.8.2 [Andrei Gherzan] +* Updates on contributing-device-support.md [Vicentiu Galanopulo] + +## meta-resin-2.21.0 +### (2018-10-18) + +* Improve systemd service ordering in rollbacks [Zubair Lutfullah Kakakhel] +* Update resin-supervisor to v7.24.1 [Andrei Gherzan] + +## meta-resin-2.20.0 +### (2018-10-18) + +* Avoid expander on flasher based on root kernel argument [Andrei Gherzan] +* resin-vars: Implement custom ssh keys service [Andrei Gherzan] +* Fix redsocks interface creation when no proxy configured [Andrei Gherzan] +* Replace NM's DHCP request option "Client indentifier" with udhcpc style option [Sebastian Panceac] +* Fix for rollbacks in case of old balenaOS version [Zubair Lutfullah Kakakhel] +* Update resin-supervisor to v7.21.4 [Cameron Diver] +* Warn if rules are found in /etc/udev/rules.d [Zubair Lutfullah Kakakhel] +* Add support to load custom udev rules from config.json [Zubair Lutfullah Kakakhel] +* aufs-util: Package auplink separately [Florin Sarbu] +* Enable kernel config dependencies for MBIM and QMI [Florin Sarbu] +* Set UPX to use LZMA compression by default [Andrei Gherzan] +* Downgrade UPX to 3.94 for ARM [Andrei Gherzan] +* Balena update for rollbacks. mobynit can now mount rootfs from sysroot. [Zubair Lutfullah Kakakhel] +* Fix proxy when using containers over bridge network [Andrei Gherzan] +* Add support for aufs 4.9.9+, 4.9.94+, 4.18 [Florin Sarbu] +* Add rollback-altboot service before balena service [Zubair Lutfullah Kakakhel] +* Add Automated Rollback recipe [Zubair Lutfullah Kakakhel] +* Add Automated Rollback support in u-boot env_resin.h [Zubair Lutfullah Kakakhel] +* Add a hook to support Automated Rollbacks [Zubair Lutfullah Kakakhel] +* Update HUP grub hook to support Automated Rollbacks [Zubair Lutfullah Kakakhel] +* Update HUP u-boot hook to support Automated Rollbacks [Zubair Lutfullah Kakakhel] +* Move kernel-image-initramfs from resin-image recipe to packagegroup-resin.inc [Zubair Lutfullah Kakakhel] +* Have 99-resin-grub hostapp-update-hook decide which grub to use [Florin Sarbu] + +## meta-resin-2.19.0 +### (2018-09-23) + +* Update Balena to fix tty console hanging in some cases [Petros Angelatos] +* Pin down cargo deps (using Cargo.lock) to versions known working with rust 1.24.1 (for sumo) [Florin Sarbu] +* Remove duplicate packaging of bcm43143 [Florin Sarbu] +* Set ModemManager to ignore Inca Roads Serial Device [Petros Angelatos] +* Add support for aufs 4.14.56+ [Florin Sarbu] +* Update resin-supervisor to v7.19.7 [Cameron Diver] +
+ +* Update contribution commit guidelines [Florin Sarbu] +* Include the RTL8189ES / RTL8189ETV driver only for the Orange Pi Plus2 board [Florin Sarbu] +* Update the resin-yocto-scripts to master HEAD [Florin Sarbu] + # v2.19.0+rev1 ## (2018-10-09) diff --git a/VERSION b/VERSION index 663d20a..78cd522 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.19.0+rev1 \ No newline at end of file +2.26.0+rev1 \ No newline at end of file