PelionIoT / meta-mbl

Mbed Linux OS (mbl) main repository & OpenEmbedded layers - Mbed Linux OS has been deprecated as a product in the Pelion portfolio. It is still available in the Github repos (with all documentation), but will remain frozen at version 0.10.
https://os.mbed.com/docs/mbed-linux-os/latest
Other
27 stars 8 forks source link

partitions: Add variable for device on which MBL lives #797

Closed jonathanhaigh-arm closed 4 years ago

jonathanhaigh-arm commented 4 years ago

It will be useful for our rootfs installer to know the name of the storage device on which the MBL partitions live, so add a variables for the devices on which each partition resides.

In particular, this is useful because we will no longer be able to rely on finding rootfs partitions by their labels.

The values of these variables will be written to the "part-info" directory on devices. Currently all the MBL partitions must be on the same device but this will be useful in the future if we start to support using multiple storage devices.

For IOTMBL-2656: Robust update: don't rely on root filesystem labels

Jenkins builds

Lava results

Manual testing

Related PRs

jonathanhaigh-arm commented 4 years ago

@rwalton-arm, what do you think of https://lava.mbedcloudtesting.com/scheduler/job/85659? Does the test need to check that networking is up properly before doing the /etc/build mtime test?

[edit]: spoke to Rob IRL. Apparently this is something that just happens occasionally and is an issue with our SSH server. I'll raise a JIRA defect... https://jira.arm.com/browse/IOTMBL-2660.