When running core-image-tiny-initramfs we get greeted with the following error: `Waiting for removable media... /init: line 144: syntax error: support for $((arith)) is disabled [ 16.222552] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200 [ 16.223613] CPU1: stopping [ 16.224400] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.15.14-yocto-tiny #1` This is caused by a line in tiny's init script which tries to use shell arithmetic, I suspect this is caused by a missing feature in busybox, although its unclear why it was working before, perhaps a busybox upgrade changed defaults?.
Fixed here: https://git.yoctoproject.org/poky/commit/?id=74a8a74a553a33dc5f41939f8070d75e6d57d3da