balena-os / balena-raspberrypi

Balena support for RaspberryPI boards
https://www.balena.io/os/
Apache License 2.0
193 stars 75 forks source link

initramfs-framework: revpi:remove migrator module #1087

Closed alexgg closed 10 months ago

alexgg commented 10 months ago

The Revolution Pi are particular devices as they define an internal storage in the contract, but they dos not use a flasher image and instead rely on the bootloader's exposing the internal storage.

However, resin-init-flasher has a built time check for all devices that define internal storage to define INTERNAL_DEVICE_KERNEL, so the build fails when initramfs-framework builds the resin-init-flasher dependency.

The lack of a jq dependency on earlier versions of meta-balena meant that the check was non-operative, but it started failing when the dependency was added.

This commit removes the migrator module from being built and included in the initramfs.

Relates-to: https://github.com/balena-os/meta-balena/pull/3317

Changelog-entry: remove migrator module for revpi family

alexgg commented 10 months ago

First pass:

Passed:

alexgg commented 10 months ago

@resin-jenkins retest this please

acostach commented 10 months ago

@resin-jenkins retest this please

acostach commented 10 months ago

@resin-jenkins retest this please

alexgg commented 10 months ago

@resin-jenkins retest this please

acostach commented 10 months ago

@resin-jenkins retest this please

alexgg commented 10 months ago

@resin-jenkins retest this please